'Removes the specified volume from Cinder management.
It does not delete the underlying backend storage object. A log entry
will be made to notify the Admin that the volume is no longer being
managed.
:param volume: cinder volume to unmanage'

@cutils.trace
def unmanage(self, volume):

    vol_str = (CONF.volume_name_template % volume.id)
    path = self._get_mount_point_for_share(volume.provider_location)
    new_str = ('unmanage-' + vol_str)
    vol_path = os.path.join(path, vol_str)
    new_path = os.path.join(path, new_str)
    try:
        self._try_execute('mv', vol_path, new_path, run_as_root=False, check_exit_code=True)
        LOG.info('The    volume    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': vol_path, 'cr': new_path})
    except (OSError, ValueError):
        LOG.exception('The    NFS    Volume    %(cr)s    does    not    exist.', {'cr': new_path})
