'Removes the specified snapshot from Cinder management.'

@cinder_utils.trace
def unmanage_snapshot(self, snapshot):

    self._check_api_version()
    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'])
    client = self._login()
    try:
        snapshot_info = client.getSnapshotByName(snapshot['name'])
        new_snap_name = ('ums-' + six.text_type(snapshot['id']))
        options = {'name': new_snap_name}
        client.modifySnapshot(snapshot_info['id'], options)
        LOG.info("Snapshot    %(disp)s    '%(vol)s'    is    no    longer    managed.    Snapshot    renamed    to    '%(new)s'.", {'disp': snapshot['display_name'], 'vol': snapshot['name'], 'new': new_snap_name})
    finally:
        self._logout(client)
