Bug 876816

Summary: libvirt should allow disk-only (external) snapshots of offline VMs
Product: Red Hat Enterprise Linux 6 Reporter: Eric Blake <eblake>
Component: libvirtAssignee: Eric Blake <eblake>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4CC: acathrow, dallan, dyasny, dyuan, eblake, mzhan, rwu, shyu, whuang, zhpeng
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libvirt-0.10.2-10.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 874171 Environment:
Last Closed: 2013-02-21 07:26:35 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, 874171    
Bug Blocks: 881827    

Comment 1 Eric Blake 2012-11-15 03:26:01 UTC
We ought to consider backporting the following patches for offline disk-only snapshot creation:

30f1bcc     snapshot: qemu: Fix detection of external snapshots when deleting
9b5a514     snapshot: qemu: Add support for external inactive snapshots

Comment 5 Huang Wenlong 2012-11-27 09:40:44 UTC
verify this bug with :
libvirt-0.10.2-10.el6.x86_64
qemu-kvm-rhev-0.12.1.2-2.337.el6.x86_64


# virsh snapshot-create-as bug inactive-external --disk-only
Domain snapshot inactive-external created

# virsh list 
 Id    Name                           State
----------------------------------------------------

# virsh snapshot-list bug --external --inactive
 Name                 Creation Time             State
------------------------------------------------------------
 inactive-external    2012-11-27 17:39:50 +0800 shutoff

Comment 6 errata-xmlrpc 2013-02-21 07:26:35 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.

http://rhn.redhat.com/errata/RHSA-2013-0276.html