'Removes the specified snapshot from Cinder management.
Does not delete the underlying backend storage object.
:param snapshot: Cinder volume snapshot to unmanage'

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

    path = self._get_mount_point_for_share(snapshot.provider_location)
    snapshot_name = self._get_snapshot_name(snapshot)
    if self._file_not_present(snapshot.provider_location, snapshot_name):
        LOG.info('Unmanaging    legacy    snapshot    %(snap)s.', {'snap': snapshot.name})
        snapshot_name = snapshot.name
    new_name = ('unmanage-' + snapshot_name)
    old_path = os.path.join(path, snapshot_name)
    new_path = os.path.join(path, new_name)
    try:
        self._execute('mv', old_path, new_path, run_as_root=False, check_exit_code=True)
        LOG.info('The    snapshot    with    path    %(old)s    is    no    longer    being    managed    by    Cinder.    However,    it    was    not    deleted    and    can    be    found    in    the    new    path    %(cr)s.', {'old': old_path, 'cr': new_path})
    except (OSError, ValueError):
        LOG.exception('The    NFS    snapshot    %(old)s    does    not    exist.', {'old': old_path})
