Bug 1079162
Summary: | The guest will be destroyed abnormally while revert the guest's snapshot which took in "pmsuspended" status | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | zhenfeng wang <zhwang> | |
Component: | libvirt | Assignee: | Peter Krempa <pkrempa> | |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 7.0 | CC: | ajia, dyuan, eblake, gsun, jdenemar, juzhou, mzhan, rbalakri, shyu, yanyang, ydu | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | libvirt-1.2.7-1.el7 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1079163 (view as bug list) | Environment: | ||
Last Closed: | 2015-03-05 07:33:06 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1079163, 1134154, 1143900 |
Description
zhenfeng wang
2014-03-21 05:56:10 UTC
Snapshots of guests in S3 state don't work well with qemu currently. I've pushed patch to forbid them: commit 1e833899ce07ac02dadbde75ee0e6747eca1068c Author: Peter Krempa <pkrempa> Date: Mon Jul 21 15:48:35 2014 +0200 qemu: snapshot: Forbid taking/reverting snapshots in PMSUSPENDED state Qemu doesn't currently support them and behaves strangely. Just forbid them. v1.2.6-220-g1e83389 This makes libvirt report an error instead of killing the guest. The fix for this bug introduced a locking error, tracked in bug 1134154 I can reproduce it with libvirt-1.1.1-28.el7.x86_64 Verify it using the following component libvirt-1.2.8-10.el7.x86_64 qemu-kvm-rhev-2.1.2-15.el7.x86_64 kernel-3.10.0-212.el7.x86_64 # virsh dompmsuspend vm2 --target mem Domain vm2 successfully suspended # virsh list --all Id Name State ---------------------------------------------------- 6 vm2 pmsuspended # virsh snapshot-create-as vm2 sn1 error: Operation not supported: qemu doesn't support taking snapshots of PMSUSPENDED guests I can get the same result using qemu-kvm-1.5.3-83.el7.x86_64. So mark 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-0323.html |