Cold migration fails for instances with ephemeral disk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Committed
|
High
|
MOS Nova | ||
9.x |
Fix Released
|
High
|
Sergey Nikitin |
Bug Description
Please backport the fix for the following upstream bug to Mitaka series:
https:/
--- Environment ---
* Mirantis OpenStack 9.2
* Qcow format for images
* Backend for ephemeral disks: file
--- Steps to reproduce ---
1) Build a new environment with at least 2 compute nodes
2) Create a new flavor with ephemeral disk
[root@node-2 ~]$ nova flavor-create --ephemeral 2 MigrationTest 10 512 0 1
+----+-
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+----+-
| 10 | MigrationTest | 512 | 0 | 2 | | 1 | 1.0 | True |
+----+-
3) Boot an instance based on this flavor
[root@node-2 ~]$ nova boot --image TestVM --flavor MigrationTest --nic net-id=
4) Migrate the instance
nova migrate --poll MyVM-1
--- Actual result ---
Server migrating... 0% complete
Error migrating server
ERROR (ResourceInErro
In the nova-compute.log on target Compute node:
libvirtError: Cannot access backing file '/var/lib/
--- Expected result ---
The migration has successfully performed
tags: | added: on-verification |
sla1 for 9.0-updates