Bug 1306569

Summary: [OSP 17][RFE] Allow instances to swap to RBD volumes
Product: Red Hat OpenStack Reporter: Lee Yarwood <lyarwood>
Component: openstack-novaAssignee: Lee Yarwood <lyarwood>
Status: CLOSED CURRENTRELEASE QA Contact: OSP DFG:Compute <osp-dfg-compute>
Severity: high Docs Contact:
Priority: medium    
Version: 10.0 (Newton)CC: dasmith, egallen, eglynn, eharney, gcharot, gkadam, igallagh, jparker, jschluet, kchamart, moddi, nlevinki, sbauza, sgordon, spower, srevivo, stephenfin, vromanso
Target Milestone: betaKeywords: FutureFeature, Patch, TestOnly, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-nova-21.1.0-0.20200425164546.347d656.el8ost Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 1780119 (view as bug list) Environment:
Last Closed: 2022-12-08 19:27:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version: Ussuri
Embargoed:
Bug Depends On: 1306562, 1623877    
Bug Blocks: 1888670, 1293440, 1780119, 1888672, 1888674    

Description Lee Yarwood 2016-02-11 10:16:56 UTC
Description of problem:

Nova only allows volumes that are locally mapped or currently defined against a domain to be used as the new target volume when swapping volumes, thus blocking live volume migrations to RBD volumes. The following libvirt RFE aims to allow for the connection details of a RBD volume to be passed to virDomainBlockRebase as the base backing image :

[RFE] Allow virDomainBlockRebase to use remote RBD volumes as the base backing image
https://bugzilla.redhat.com/show_bug.cgi?id=1306562

Once implemented Nova should be able to call virDomainBlockRebase with the new volumes connection details and allow libvirt/QEMU to handle the rebase.

An alternative would be to map the RBD volumes to the host, however this would require the use of the RBD kernel module and greatly complicate Nova's interactions with these volumes  when compared to using libvirt/QEMU directly.

[1] https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L1400

Comment 3 Stephen Gordon 2017-01-26 21:12:26 UTC
Libvirt dependency still isn't met.

Comment 7 Lee Yarwood 2018-02-21 11:07:27 UTC
Moving to rhos-15? as we are waiting on https://bugzilla.redhat.com/show_bug.cgi?id=1306562

Comment 9 Lee Yarwood 2018-06-21 16:36:09 UTC
*** Bug 1590238 has been marked as a duplicate of this bug. ***

Comment 14 spower 2022-05-31 12:27:23 UTC
This FutureFeature for OSP 17.0 is not marked as an MVP for OSP 17.0 GA so will be targeted for review to be included in OSP 17.1. If Tech Preview is required for OSP 17.0 please clone the BZ and follow Tech Preview procedure.