block live migration writes wrong libvirt.xml
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Jay Lee | ||
Havana |
Fix Released
|
High
|
Yaguang Tang |
Bug Description
release: stable/havana, 2013.2.1
virt driver: libvirt
volume driver: cinder.
when excute (live) block migration for vm made by bootable volume, method post_live_
but it missed block disk information so moved libvirt.xml always has a wrong disk information.
example)
$ cinder create --image-id xxxx --display_name cirros_boot_volume 10
it return volume id yyyy
$ nova boot test_vm --flavor 1 --boot-volume yyyy
it makes vm and libvirt.xml has different information from common vm.
...
<devices>
<disk type="block" device="disk">
<driver name="qemu" type="raw" cache="none"/>
<source dev="/dev/
<target bus="virtio" dev="vda"/>
<
</disk>
...
$ nova live-migration --block-migrate <vm uuid> <destination host>
After migrate, libvirt.xml at destination host has common disk information.
...
<devices>
<disk type="file" device="disk">
<driver name="qemu" type="qcow2" cache="none"/>
<source file="/
<target bus="virtio" dev="vda"/>
</disk>
...
tags: | added: libvirt |
Changed in nova: | |
assignee: | nobody → Jay Lee (hyangii) |
Changed in nova: | |
importance: | Undecided → High |
tags: | added: havana-backport-potential |
Changed in nova: | |
milestone: | none → icehouse-3 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-3 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/68537
Review: https:/