'Create a new Cinder volume out of an existing Reduxio volume.'

@cinder_utils.trace
def manage_existing(self, volume, external_ref):

    LOG.info('Manage    existing    volume(%(cinder_vol)s)    from    Reduxio    Volume(%(rdx_vol)s)', {'cinder_vol': volume['id'], 'rdx_vol': external_ref['source-name']})
    target_vol_name = self._get_existing_volume_ref_name(external_ref)
    cli_vol = self.rdxApi.find_volume_by_name(target_vol_name)
    managed_info = self._get_managed_info(cli_vol)
    if (managed_info[AGENT_TYPE_KEY] == AGENT_TYPE_OPENSTACK):
        raise exception.ManageExistingAlreadyManaged(volume_ref=volume['id'])
    if (not (managed_info[AGENT_TYPE_KEY] is None)):
        msg = _('Volume    should    have    agent-type    set    as    None.')
        raise exception.InvalidVolume(reason=msg)
    new_vol_name = self._cinder_id_to_rdx(volume['id'])
    self.rdxApi.update_volume(target_vol_name, new_name=new_vol_name, description=self._create_vol_managed_description(volume))
