Bug 874171
| Summary: | virsh should make external checkpoint creation easy | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Eric Blake <eblake> | |
| Component: | libvirt | Assignee: | Eric Blake <eblake> | |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 6.4 | CC: | acathrow, dallan, dyasny, dyuan, eblake, mzhan, rwu, whuang, zhpeng | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | libvirt-0.10.2-8.el6 | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: This release added several capabilities related to snapshots. Among these was the ability create an external snapshot, whether the domain was running or offline.
Consequence: With the new features in the underlying libvirt code, it was also necessary to improve the user interface into those features in virsh.
Fix: Several snapshot-related improvements were added to virsh, to make it easier to track what properties a snapshot had, and to be able to create an external snapshot.
Result: Users will have more control and visibility into the various snapshot options made available in this release of libvirt.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 876816 876817 (view as bug list) | Environment: | ||
| Last Closed: | 2013-02-21 07:26:10 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: | 638512 | |||
| Bug Blocks: | 876816, 876817 | |||
|
Description
Eric Blake
2012-11-07 16:07:48 UTC
Verify this bug with
libvirt-0.10.2-8.el6.x86_64
# virsh snapshot-create-as test ex-s3 --diskspec vda --memspec /tmp/ex-s3
Domain snapshot ex-s3 created
# virsh snapshot-list test
Name Creation Time State
------------------------------------------------------------
ex-s3 2012-11-14 13:54:40 +0800 running
#virsh snapshot-dumpxml test ex-s3
<domainsnapshot>
<name>ex-s3</name>
<state>running</state>
<parent>
<name>ex-s2</name>
</parent>
<creationTime>1352872480</creationTime>
<memory snapshot='external' file='/tmp/ex-s3'/>
<disks>
<disk name='vda' snapshot='external'>
<driver type='qcow2'/>
<source file='/var/lib/libvirt/images/test.ex-s3'/>
</disk>
</disks>
<domain type='kvm'>
....
Also possible - for an offline domain, this now creates an external snapshot: virsh snapshot-create-as $dom --disk-only (In reply to comment #4) > Also possible - for an offline domain, this now creates an external snapshot: > virsh snapshot-create-as $dom --disk-only Hi, Eric I try it with but failed qemu-kvm-rhev-0.12.1.2-2.331.el6.x86_64 libvirt-0.10.2-8.el6.x86_64 # virsh snapshot-create-as bug --disk-only error: unsupported configuration: disk snapshots of inactive domains not implemented yet (In reply to comment #5) > # virsh snapshot-create-as bug --disk-only > error: unsupported configuration: disk snapshots of inactive domains not > implemented yet Ah, for that, we need a series of additional patches. I guess it's time to clone a new BZ. see bug 876816 for offline disk-only snapshots see bug 876817 for making virsh display whether a snapshot is internal or external, and filtering on that property 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. http://rhn.redhat.com/errata/RHSA-2013-0276.html |