| Summary: | Virsh save a shutoff guest get 'error: cannot resolve symlink' | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | zhanghaiyan <yoyzhang> |
| Component: | libvirt | Assignee: | Osier Yang <jyang> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.1 | CC: | dallan, dyuan, eblake, jyang, llim, syeghiay, veillard, xen-maint |
| Target Milestone: | rc | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-0.8.7-7.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-19 13:27:32 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
zhanghaiyan
2011-02-15 07:58:50 UTC
Though marking it as "regression" is fine, but it's not regression by fix of #BZ 672449, this bug is about "save", 672449 is about "managedsave". manage save works well # virsh managedsave rhel6 error: Failed to save domain rhel6 state error: Requested operation is not valid: domain is not running but save to the same path failed # virsh save rhel6 /var/lib/libvirt/qemu/rhel6.save error: Failed to save domain rhel6 to /var/lib/libvirt/qemu/rhel6.save error: cannot resolve symlink /var/lib/libvirt/qemu/rhel6.save: No such file or directory (In reply to comment #4) > Though marking it as "regression" is fine, but it's not regression by fix of > #BZ 672449, this bug is about "save", 672449 is about "managedsave". yup, you're right, thanks. http://www.redhat.com/archives/libvir-list/2011-February/msg00503.html patch posted to upstream. patch posted internally, move to POST. http://post-office.corp.redhat.com/archives/rhvirt-patches/2011-February/msg01073.html Verified PASS with libvirt-0.8.7-7.el6.x86_64 - kernel-2.6.32-113.el6.x86_64 - qemu-kvm-0.12.1.2-2.145.el6.x86_64 # getenforce Enforcing 1. # virsh list --all Id Name State ---------------------------------- - rhel6 shut off 2. # ll /tmp/rhel6.save ls: cannot access /tmp/rhel6.save: No such file or directory 3. # virsh save rhel6 /tmp/rhel6.save error: Failed to save domain rhel6 to /tmp/rhel6.save error: Requested operation is not valid: domain is not running An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0596.html |