Bug 844266
Summary: | Fail to modify the domain xml with saved file | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | zhenfeng wang <zhwang> |
Component: | libvirt | Assignee: | Ján Tomko <jtomko> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.4 | CC: | acathrow, dallan, dyasny, dyuan, eblake, gsun, honzhang, mzhan, rwu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-0.10.0-0rc1.el6 | Doc Type: | Bug Fix |
Doc Text: |
Cause: The condition checking if the save image XML change was successful was inverted.
Consequence: Virsh said it failed when it was successful and vice versa.
Fix: Invert the condition.
Result: Success and failure get reported correctly.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-21 07:20:21 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
zhenfeng wang
2012-07-30 07:23:42 UTC
Upstream patch proposed: https://www.redhat.com/archives/libvir-list/2012-August/msg00688.html Fixed by commit 863399f06b8dad8d7fc2e4b962d3cc566b69ed4c virsh: say save-image-edit failed only when it does Verified it using libvirt-0.10.0-0rc1.el6.x86_64. The result is expected. So move its status to VERIFIED. Steps 1. # virsh save-image-edit rhel6.save Edit the xml: Update "<on_crash>restart</on_crash>" to"<on_crash>destroy</on_crash>" 2. Save it . State file rhel6.save edited. 3. # virsh restore rhel6.save Domain restored from rhel6.save 4. # virsh dumpxml rhel6 ...... <on_crash>destroy</on_crash> ...... 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/RHSA-2013-0276.html |