[Bug 1317491] Re: virsh blockcommit hangs at 100%
Rafael David Tinoco
rafael.tinoco at canonical.com
Thu Feb 23 18:51:13 UTC 2017
#
# VERIFICATION
#
inaddy@(kvm02):~$ dpkg -l | grep libvirt | awk '{print $2"\t"$3}'
libvirt-bin 1.2.2-0ubuntu13.1.20
libvirt0 1.2.2-0ubuntu13.1.20
inaddy@(kvm02):~$ : virsh domblklist --domain guest
Target Source
------------------------------------------------
vda /var/lib/libvirt/images/guest.1487745012
inaddy@(kvm02):~$ sudo qemu-img info --backing-chain /var/lib/libvirt/images/guest.1487745012
image: /var/lib/libvirt/images/guest.1487745012
file format: qcow2
virtual size: 30G (32212254720 bytes)
disk size: 74M
cluster_size: 65536
backing file: /var/lib/libvirt/images/guest.qcow2
backing file format: qcow2
Format specific information:
compat: 1.1
lazy refcounts: false
image: /var/lib/libvirt/images/guest.qcow2
file format: qcow2
virtual size: 30G (32212254720 bytes)
disk size: 5.0G
cluster_size: 65536
Format specific information:
compat: 1.1
lazy refcounts: false
inaddy@(kvm02):~$ virsh list
Id Name State
----------------------------------------------------
2 guest running
# First the original test:
inaddy@(kvm02):~$ virsh blockcommit --domain guest vda --base /var/lib/libvirt/images/guest.qcow2 --top /var/lib/libvirtmages/guest.1487745012 --wait --verbose
error: Operation not supported: committing the active layer not supported yet
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1317491
Title:
virsh blockcommit hangs at 100%
Status in libvirt package in Ubuntu:
Fix Released
Status in libvirt source package in Trusty:
Fix Committed
Status in libvirt source package in Xenial:
Fix Released
Status in libvirt source package in Yakkety:
Fix Released
Status in libvirt source package in Zesty:
Fix Released
Bug description:
[Impact]
* Virsh can't merge snapshots using the Block Commit technique
* It is only possible to merge base to top image (not the opposite)
* Combination of libvirt v1.2.2 and QEMU 2 is no good for Block Commit
* After this fix, virsh won't hang on the opration, will cause an error
[Test Case]
* Workaround in Commit #10
* QEMU is fine in Commit #11
* Test Case in Commit #12
[Regression Potential]
* Block commit (Already broken) would continue not working
* Its a small fix based on upstream fix (to block this function)
[Other Info]
## Original Case Description
virsh blockcommit hangs at 100% and nothing happens.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1317491/+subscriptions
More information about the Ubuntu-sponsors
mailing list