Consolidate FS-style libvirt drivers
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.
There is a *mount_point_base option per libvirt FS driver and it would be nice to consolidate those into a single option but that's not possible given that cinder can be configured to have multiple volume backends, so nova-compute must also be configurable to talk to those different backends.
As part of this work, move the volume-specific stuff under nova/virt/libvirt/ to a nova/virt/
I checked the os-brick change [1] proposed to nova to see if there would be any conflicts there and so far that's not touching any of these classes so seems like they could be worked in parallel.
Blueprint information
- Status:
- Complete
- Approver:
- John Garbutt
- Priority:
- Low
- Drafter:
- Matt Riedemann
- Direction:
- Approved
- Assignee:
- Matt Riedemann
- Definition:
- Approved
- Series goal:
- Accepted for liberty
- Implementation:
- Implemented
- Milestone target:
- 12.0.0
- Started by
- Michael Still
- Completed by
- Matt Riedemann
Related branches
Related bugs
Sprints
Whiteboard
Mailing list discussion here:
http://
Gerrit topic: https:/
Addressed by: https:/
libvirt: move lvm/dmcrypt/
Addressed by: https:/
libvirt: move volume/
Addressed by: https:/
libvirt: move the LibvirtQuobyteV
Addressed by: https:/
libvirt: move the LibvirtGPFSVolu
Addressed by: https:/
libvirt: move the LibvirtScalityV
Addressed by: https:/
libvirt: move LibvirtFibreCha
Addressed by: https:/
libvirt: move fibre channel specific utilities into fc module
Addressed by: https:/
libvirt: move LibvirtGlusterf
Addressed by: https:/
libvirt: move LibvirtAOEVolum
Addressed by: https:/
libvirt: move LibvirtSMBFSVol
Addressed by: https:/
libvirt: move LibvirtNFSVolum
Addressed by: https:/
libvirt: move LibvirtISERVolu
Addressed by: https:/
libvirt: move LibvirtNETVolum
Addressed by: https:/
libvirt: move LibvirtISCSIVol
Addressed by: https:/
Introduce LibvirtBaseFile
Addressed by: https:/
libvirt: convert NFS volume driver to LibvirtBaseFile
Addressed by: https:/
libvirt: convert SMBFS vol driver to LibvirtBaseFile
Addressed by: https:/
libvirt: convert GlusterFS driver to LibvirtBaseFile
Addressed by: https:/
libvirt: convert GPFS volume driver to LibvirtBaseFile
Addressed by: https:/
libvirt: convert Quobyte driver to LibvirtBaseFile
Addressed by: https:/
libvirt: convert Scality vol driver to LibvirtBaseFile