Bug 736682

Summary: snapshot-create can not work
Product: Red Hat Enterprise Linux 6 Reporter: weizhang <weizhan>
Component: libvirtAssignee: Eric Blake <eblake>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.2CC: dyuan, eblake, gren, leiwang, mzhan, nzhang, rwu, syeghiay, veillard
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: libvirt-0.9.4-11.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 11:28:44 UTC Type: ---
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: 638510    
Bug Blocks: 743047    

Description weizhang 2011-09-08 12:23:40 UTC
Description of problem:
snapshot-create can not work
# virsh snapshot-create qcow2
error: argument unsupported: unable to handle disk requests in snapshot


Version-Release number of selected component (if applicable):
qemu-kvm-0.12.1.2-2.185.el6.x86_64
libvirt-0.9.4-10.el6.x86_64
kernel-2.6.32-193.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. create a guest with qcow2 img
2. do # virsh snapshot-create qcow2
  
Actual results:
error: argument unsupported: unable to handle disk requests in snapshot

Expected results:
snapshot create successfully

Additional info:
snapshot-create can work well on libvirt-0.9.4-7, so it is a regression bug, it doesn't work since libvirt-0.9.4-8

Comment 1 Eric Blake 2011-09-08 12:40:33 UTC
I'm looking into it now.

Comment 2 Eric Blake 2011-09-08 13:19:14 UTC
Upstream patch: https://www.redhat.com/archives/libvir-list/2011-September/msg00395.html

Comment 6 weizhang 2011-09-09 02:53:23 UTC
verify pass on 
qemu-kvm-0.12.1.2-2.185.el6.x86_64
kernel-2.6.32-193.el6.x86_64
libvirt-0.9.4-11.el6.x86_64


# virsh snapshot-create foo 
Domain snapshot 1315536642 created

# virsh snapshot-list foo
 Name                 Creation Time             State
------------------------------------------------------------
 1315536642           2011-09-09 10:50:42 +0800 running

Comment 7 errata-xmlrpc 2011-12-06 11:28:44 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/RHBA-2011-1513.html