'Ensure an export of a volume.
Per the eqlx driver we just make sure that the volume actually
exists where we think it does.'

def ensure_export(self, context, volume):

    scvolume = None
    volume_name = volume.get('id')
    provider_id = volume.get('provider_id')
    LOG.debug('Checking    existence    of    volume    %s', volume_name)
    with self._client.open_connection() as api:
        try:
            scvolume = api.find_volume(volume_name, provider_id, self._is_live_vol(volume))
        except Exception:
            with excutils.save_and_reraise_exception():
                LOG.error('Failed    to    ensure    export    of    volume    %s', volume_name)
    if (scvolume is None):
        msg = (_('Unable    to    find    volume    %s') % volume_name)
        raise exception.VolumeBackendAPIException(data=msg)
