'Removes the specified snapshot from Cinder management.'

def unmanage_snapshot(self, snapshot):

    volume = snapshot['volume']
    if (volume.get('replication_status') == 'failed-over'):
        err = _('Unmanaging    of    snapshots    from    failed-over    volumes    is    not    allowed.')
        LOG.error(err)
        raise exception.SnapshotIsBusy(snapshot_name=snapshot['id'])
    snap_name = self._get_3par_snap_name(snapshot['id'])
    new_snap_name = self._get_3par_ums_name(snapshot['id'])
    self.client.modifyVolume(snap_name, {'newName': new_snap_name})
    LOG.info("Snapshot    %(disp)s    '%(vol)s'    is    no    longer    managed.    Snapshot    renamed    to    '%(new)s'.", {'disp': snapshot['display_name'], 'vol': snap_name, 'new': new_snap_name})
