| Summary: | Destroying a migrated guest on target host causes 'Error shutting down domain' | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | zhanghaiyan <yoyzhang> |
| Component: | virt-manager | Assignee: | Cole Robinson <crobinso> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.1 | CC: | dallan, dyuan, hjiang, llim, mliu, mzhan, xen-maint |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-19 13:48:00 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
This can be more easily tested by creating a transient guest with virsh and shutting it down in virt-manager: virsh dumpxml $someguest > foo.xml virsh undefine $someguest virsh create foo.xml (shutdown the guest in virt-manager, see the error). Fixed in virt-manager-0.8.6-3.el6 Verfied it on build : virt-manager-0.8.6-3.el6.noarch libvirt-0.8.7-13.el6.x86_64 qemu-kvm-0.12.1.2-2.150.el6.x86_64 kernel-2.6.32-120.el6.x86_64 Steps: 1. Prepare an VM which is not running; 2. Input "virsh dumpxml $someguest > foo.xml" in the terminal; 3. Input "virsh undefine $someguest" in the terminal; 4. Input "virsh create foo.xml" in the terminal; 5. Force off your guest. Verification is passed. Verfied it Pass on build : virt-manager-0.8.6-3.el6.noarch libvirt-0.8.7-17.el6.x86_64 qemu-kvm-0.12.1.2-2.153.el6.x86_64 kernel-2.6.32-130.el6.x86_64 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-0637.html |
Description of problem: Destroying a migrated guest on target host can succeed but causes 'Error shutting down domain' Version-Release number of selected component (if applicable): - kernel-2.6.32-117.el6.x86_64 - qemu-kvm-0.12.1.2-2.147.el6.x86_64 - libvirt-0.8.7-8.el6.x86_64 - virt-manager-0.8.6-2.el6.noarch How reproducible: 8/8 Steps to Reproduce: 1. Migrate a guest from source host (A) to target host (B) 2. On host A, remote connect to host B via virt-manager, then could see the migrated guest is running on host B 3. In virt-manager, right click the guest, select 'Shut down'-> 'Force off', could see 'Are you sure you want to force poweroff $guest ?', click 'yes' Actual results: 3. The guest is destroyed, but the following error pops up Error shutting down domain: Domain not found: no domain with matching uuid '6d272c96-2025-bfea-87f9-a91867efc49b' Details Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/engine.py", line 908, in _do_destroy_domain vm.destroy() File "/usr/share/virt-manager/virtManager/domain.py", line 1088, in destroy self._update_status() File "/usr/share/virt-manager/virtManager/domain.py", line 1274, in _update_status info = self.get_info() File "/usr/share/virt-manager/virtManager/domain.py", line 967, in get_info return self._backend.info() File "/usr/lib64/python2.6/site-packages/libvirt.py", line 823, in info if ret is None: raise libvirtError ('virDomainGetInfo() failed', dom=self) libvirtError: Domain not found: no domain with matching uuid '6d272c96-2025-bfea-87f9-a91867efc49b' Expected results: No error pops up Additional info: Execute virsh command # virsh destroy $guest on host B can destroy the guest successfully without error