Live Migration [libvirt]/images_type=qcow2 to [libvirt]/images_type=rbd fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Opinion
|
Undecided
|
Unassigned |
Bug Description
Description
===========
Trying to migrate an instance from local storage to a hypervisor that is backed by RBD results in the error: invalid spec 'b05eafa0-
47c-cddca5cc381
Steps to reproduce
==================
* Create an instance from an image that is not on a rbd backend on a node that is configured to store the instance disk locally (as qcow2)
* Live-Migrate the instance to a node that is configured to use rbd as backend.
openstack server migrate --live compute-rbd --block-migration UUID
Expected result
===============
Migration completes successfully
Actual result
=============
rbd import command of base image fails with: Stderr: u"rbd: --pool is deprecated for import, use --dest-pool\nrbd: invalid spec 'b05eafa0-
47c-cddca5cc381
The command run is: rbd import --pool vms /var/lib/
A trace is attached below.
Environment
===========
Nova 10.1.0
CentOS 7.5
Ceph 12.2
Is there any way to migrate a local instance to a rbd backend or is this not supported?
Added Trace