Bug 729714
Summary: | libvirt managedsave incompatible with transient domains | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Eric Blake <eblake> |
Component: | libvirt | Assignee: | Eric Blake <eblake> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.2 | CC: | dallan, dyuan, mzhan, rwu, veillard, yupzhang |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-0.9.4-3.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-12-06 11:26:05 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: |
Description
Eric Blake
2011-08-10 15:35:01 UTC
I ACK'ed the patch upstream as I think that by definition transient domains are to be managed by the application on top of libvirt. That's a design choice and I think the API is consistent with this, in that case really it's a missing check from my POV, Daniel Commited upstream as 0de75e855b0c37a7ef25370b19cabad34e679ce6 Reproduce this issue with libvirt-0.9.4-2.el6. # virsh create dom.xml Domain dom-create created from dom.xml # virsh list --all Id Name State ---------------------------------- 8 dom-create running # virsh managedsave dom-create Domain dom-create state saved by libvirt # virsh list --all Id Name State ---------------------------------- # virsh define dom.xml Domain dom-create defined from dom.xml # virsh start dom-create error: Failed to start domain dom-create error: operation failed: cannot restore domain 'dom-create' uuid a89394e5-d6d5-e87b-a270-8246ecbb3a98 from a file which belongs to domain 'dom-create' uuid 4d662f3b-99ff-4b31-60cb-7b7fa1f922be Verified PASS with libvirt-0.9.4-4.el6. # virsh create dom.xml Domain dom-create created from dom.xml # virsh list --all Id Name State ---------------------------------- 8 dom-create running # virsh managedsave dom-create error: Failed to save domain dom-create state error: Requested operation is not valid: cannot do managed save for transient domain # virsh list --all Id Name State ---------------------------------- 8 dom-create running 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 |