| Summary: | Images don't support snapshotting | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Preethi Ramesh <iampreethiramesh> |
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
| Status: | CLOSED DEFERRED | QA Contact: | |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | crobinso, xen-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-23 12:40:48 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
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 |
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: