RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1150379 - attempts to live snapshot merge (commit) of the active layer hang
Summary: attempts to live snapshot merge (commit) of the active layer hang
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt
Version: 7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Eric Blake
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 1062142 1148201
Blocks: 784395
TreeView+ depends on / blocked
 
Reported: 2014-10-08 06:26 UTC by Jan Kurik
Modified: 2016-04-26 13:38 UTC (History)
28 users (show)

Fixed In Version: libvirt-1.1.1-29.el7_0.4
Doc Type: Bug Fix
Doc Text:
Cause: In RHEL 6, libvirt had been relying on qemu to supply the error message when active commit was attempted. But when qemu added support for active commit in RHEL 7, the addition requires additional interaction that libvirt was not supplying. Consequence: Attempts to perform an unsupported active commit would cause libvirt to hang. Fix: Libvirt was fixed to detect active commit itself, and declare the feature unsupported until a future libvirt release adds the additional interaction that qemu requires. Result: Libvirt no longer hangs when attempting to do something that is not supported until RHEL 7.1.
Clone Of: 1148201
Environment:
Last Closed: 2015-01-05 20:30:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:0008 0 normal SHIPPED_LIVE Low: libvirt security and bug fix update 2015-01-06 01:29:48 UTC

Description Jan Kurik 2014-10-08 06:26:53 UTC
This bug has been copied from bug #1148201 and has been proposed
to be backported to 7.0 z-stream (EUS).

Comment 6 Yang Yang 2014-12-16 05:58:44 UTC
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.

Comment 8 errata-xmlrpc 2015-01-05 20:30:04 UTC
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


Note You need to log in before you can comment on or make changes to this bug.