Bug 703036 - Images don't support snapshotting
Summary: Images don't support snapshotting
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-09 04:54 UTC by Preethi Ramesh
Modified: 2016-03-23 12:40 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-23 12:40:48 UTC


Attachments (Terms of Use)

Description Preethi Ramesh 2011-05-09 04:54:10 UTC
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:

Comment 1 Cole Robinson 2016-03-23 12:40:48 UTC
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


Note You need to log in before you can comment on or make changes to this bug.