Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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
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).
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.
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