'find copysession from volumename on ETERNUS.'

def _find_copysession(self, vol_instance):

    LOG.debug('_find_copysession,    volume    name:    %s.', vol_instance['ElementName'])
    try:
        cpsessionlist = self.conn.ReferenceNames(vol_instance.path, ResultClass='FUJITSU_StorageSynchronized')
    except Exception:
        msg = (_('_find_copysession,    ReferenceNames,    vol_instance:    %(vol_instance_path)s,    Cannot    connect    to    ETERNUS.') % {'vol_instance_path': vol_instance.path})
        LOG.error(msg)
        raise exception.VolumeBackendAPIException(data=msg)
    LOG.debug('_find_copysession,    cpsessionlist:    %(cpsessionlist)s.', {'cpsessionlist': cpsessionlist})
    LOG.debug('_find_copysession,    ret:    %s.', cpsessionlist)
    return cpsessionlist
