Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. create a string to store te xml desc(info=dom.XMLDesc(0) 2.create a snapshot of an active vm by using the dom.snapshotCreateXML(info,0) 3. Actual results: libvir: QEMU error : Requested operation is not valid: Disk '/home/pre/hda1.qcow2' does not support snapshotting Traceback (most recent call last): File "try_fun2.py", line 63, in <module> print dom.snapshotCreateXML(info,0) File "/usr/lib/python2.7/dist-packages/libvirt.py", line 708, in snapshotCreateXML if ret is None:raise libvirtError('virDomainSnapshotCreateXML() failed', dom=self) libvirt.libvirtError: Requested operation is not valid: Disk '/home/pre/hda1.qcow2' does not support snapshotting Expected results: snapshot of the image Additional info:
Sorry this never received a response. Not sure what was going on here, could be that hda1.qcow2 wasn't actually a qcow2 file, or there was a libvirt bug. Either way, snapshotting definitely works nowadays, so closing as DEFERRED. If anyone is still hitting similar issues with latest libvirt, please file a new bug, and provide full domain and snapshot XML being used