[openstack-dev] [nova] Plan to consolidate FS-style libvirt volume drivers under a common base class

Dmitry Guryanov dguryanov at parallels.com
Wed Jun 17 12:36:32 UTC 2015


On 06/17/2015 02:14 PM, Duncan Thomas wrote:
> On 17 June 2015 at 00:21, Matt Riedemann <mriedem at linux.vnet.ibm.com
> <mailto:mriedem at linux.vnet.ibm.com>> wrote:
>
>     The NFS, GlusterFS, SMBFS, and Quobyte libvirt volume drivers are
>     all very similar.
>
>     I want to extract a common base class that abstracts some of the
>     common code and then let the sub-classes provide overrides where
>     necessary.
>
>     As part of this, I'm wondering if we could just have a single
>     'mount_point_base' config option rather than one per backend like
>     we have today:
>
>     nfs_mount_point_base
>     glusterfs_mount_point_base
>     smbfs_mount_point_base
>     quobyte_mount_point_base
>
>     With libvirt you can only have one of these drivers configured per
>     compute host right?  So it seems to make sense that we could have
>     one option used for all 4 different driver implementations and
>     reduce some of the config option noise.
>
>
> I can't claim to have tried it, but from a cinder PoV there is nothing
> stopping you having both e.g. an NFS and a gluster backend at the same
> time, and I'd expect nova to work with it. If it doesn't, I'd consider
> it a bug.

I agree, if 2 volume backends will use the same share definition, like 
"10.10.2.3:/public" you'll get the same mountpoint for them.


>
>
> __________________________________________________________________________
> 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


-- 
Dmitry Guryanov




More information about the OpenStack-dev mailing list