[openstack-dev] [cinder] How to retrieve volume_driver

Erlon Cruz sombrafam at gmail.com
Fri Oct 7 12:18:30 UTC 2016


Hi Luzasz,

This information (volume_driver) is only used on driver loading so, its not
available outside Cinder context. Can you tell how and why you need that?
And why parsing the conf file is not enough for you?

Erlon

On Fri, Oct 7, 2016 at 9:05 AM, <crow1 at interia.pl> wrote:

> Dear all.
>
> I'm a PHD student from Poland and have found out about this list from
> Openstack wiki. Could you kindly tell me, if there is a way to retrieve,
> from outside of OpenStack code, volume_driver for given backend? Preferably
> - without a need to parse the cinder.conf file?
>
> It is fairly easy to retrieve the volume_backend_name, which in most
> scenarios seems to describe the driver type used. However, in general
> scenario, this is just a custom string entered by the admin. I would
> greatly appreciate, if someone could point me to a way to acquire the
> unique stirng, identifying the driver type used - the ona that is passed as
> volume_driver in cinder.conf.
>
> Thank you in advance for your time.
>
> Best regards,
> Lukasz
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20161007/93ae0c73/attachment.html>


More information about the OpenStack-dev mailing list