Bug 1306569 - [OSP 17][RFE] Allow instances to swap to RBD volumes
Summary: [OSP 17][RFE] Allow instances to swap to RBD volumes
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 10.0 (Newton)
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: beta
: ---
Assignee: Lee Yarwood
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
: 1590238 (view as bug list)
Depends On: 1306562 1623877
Blocks: 1888670 1293440 1780119 1888672 1888674
TreeView+ depends on / blocked
 
Reported: 2016-02-11 10:16 UTC by Lee Yarwood
Modified: 2023-10-04 16:46 UTC (History)
18 users (show)

Fixed In Version: openstack-nova-21.1.0-0.20200425164546.347d656.el8ost
Doc Type: Enhancement
Doc Text:
Clone Of:
: 1780119 (view as bug list)
Environment:
Last Closed: 2022-12-08 19:27:00 UTC
Target Upstream Version: Ussuri
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 696834 0 'None' MERGED libvirt: Use virDomainBlockCopy to swap volumes when using -blockdev 2021-01-19 12:08:03 UTC
OpenStack gerrit 701226 0 None MERGED libvirt: Support the use of the virt-preview repo when using Fedora 2021-01-19 12:08:03 UTC
OpenStack gerrit 701228 0 None MERGED zuul: Add a devstack-platform-fedora-latest-virt-preview job 2021-01-19 12:08:43 UTC
OpenStack gerrit 701231 0 None MERGED zuul: Add Fedora based jobs to the experimental queue 2021-01-19 12:08:03 UTC
Red Hat Issue Tracker OSP-3151 0 None None None 2021-11-25 12:49:41 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.