Bug 1124854
Summary: | Libvirt should report error when try to revert guest to external system checkpoint snapshot | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Shanzhi Yu <shyu> |
Component: | libvirt | Assignee: | Peter Krempa <pkrempa> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.6 | CC: | dyuan, eblake, lhuang, mzhan, pkrempa, rbalakri, xuzhang |
Target Milestone: | rc | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-0.10.2-48.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-07-22 05:46:17 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: | 1071264, 1101987 | ||
Bug Blocks: |
Description
Shanzhi Yu
2014-07-30 13:12:34 UTC
Too difficult to attempt for RHEL 6.6. To follow progress in RHEL 7, look at bug 907809 *** This bug has been marked as a duplicate of bug 873285 *** Reopening and re-titling this bug; similar to what was done in RHEL 7, you have exposed a corner case where libvirt is reverting to a snapshot when it should not be. Fixed upstream: commit d410e6f19d944ad78bc9257726d613597db00701 Author: Peter Krempa <pkrempa> Date: Tue Mar 4 10:06:22 2014 +0100 qemu: snapshot: Use better check when reverting external snapshots https://bugzilla.redhat.com/show_bug.cgi?id=1071264 Reverting of external snapshots is not supported currently. The check that is present doesn't properly check for all aspects that make a snapshot external. Use virDomainSnapshotIsExternal() to do the check. *** Bug 1124317 has been marked as a duplicate of this bug. *** *** Bug 1179532 has been marked as a duplicate of this bug. *** Verify this bug with libvirt-0.10.2-48.el6.x86_64 Steps as below: 1. Prepare a running guest # virsh list Id Name State ---------------------------------------------------- 2 rhel6.5 running 2. Create external system checkpoint snapshot # virsh snapshot-create-as rhel6.5 s1 --memspec file=/tmp/s1.mem Domain snapshot s1 created 3. Do revert # virsh snapshot-revert 2 s1 error: unsupported configuration: revert to external snapshot not supported yet 4. Create external disk-only snapshot # virsh snapshot-create-as 2 s2 --disk-only Domain snapshot s2 created 5. Do revert # virsh snapshot-revert 2 s2 error: unsupported configuration: revert to external snapshot not supported yet 6. Create internal snapshot # virsh snapshot-create-as 2 s3 Domain snapshot s3 created 7. Do revert # virsh snapshot-revert 2 s3 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/RHBA-2015-1252.html |