Red Hat Bugzilla – Bug 1150379
attempts to live snapshot merge (commit) of the active layer hang
Last modified: 2016-04-26 09:38:39 EDT
This bug has been copied from bug #1148201 and has been proposed to be backported to 7.0 z-stream (EUS).
In POST: http://post-office.corp.redhat.com/archives/rhvirt-patches/2014-August/msg00615.html
Reproduced it with libvirt-1.1.1-29.el7_0.3.x86_64 and qemu-kvm-rhev-1.5.3-60.el7_0.11.x86_64 Steps to reproduce: 1. create 3 external snapshots # for i in {1..3}; do virsh snapshot-create-as vm1 s$i --disk-only --diskspec hda,file=/tmp/vm1.s$i; done Domain snapshot s1 created Domain snapshot s2 created Domain snapshot s3 created # virsh snapshot-list vm1 Name Creation Time State ------------------------------------------------------------ s1 2014-12-16 13:21:39 +0800 disk-snapshot s2 2014-12-16 13:21:39 +0800 disk-snapshot s3 2014-12-16 13:21:39 +0800 disk-snapshot 2. active commit # virsh blockcommit vm1 hda --wait --verbose Block Commit: [100 %] Libvirt hang and never return Verified it with libvirt-1.1.1-29.el7_0.4.x86_64 and qemu-kvm-rhev-1.5.3-60.el7_0.11.x86_64 Steps to verify it 1. create 3 external snapshots # for i in {1..3}; do virsh snapshot-create-as vm1 s$i --disk-only --diskspec hda,file=/tmp/vm1.s$i; done Domain snapshot s1 created Domain snapshot s2 created Domain snapshot s3 created # virsh snapshot-list vm1 Name Creation Time State ------------------------------------------------------------ s1 2014-12-16 13:15:15 +0800 disk-snapshot s2 2014-12-16 13:15:15 +0800 disk-snapshot s3 2014-12-16 13:15:15 +0800 disk-snapshot 2. active commit # virsh blockcommit vm1 hda error: Operation not supported: committing the active layer not supported yet # virsh blockcommit vm1 hda --base /tmp/vm1.s2 error: Operation not supported: committing the active layer not supported yet # virsh blockcommit vm1 hda --base /tmp/vm1.s1 --top /tmp/vm1.s3 error: Operation not supported: committing the active layer not supported yet # virsh blockcommit vm1 hda --top /tmp/vm1.s3 error: Operation not supported: committing the active layer not supported yet # virsh blockcommit vm1 hda --wait --verbose error: Operation not supported: committing the active layer not supported yet As active commit returns with error instead of hang, I'd like to set it as verified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-0008.html