Bug 1209723
Summary: | Cannot open VM information window on ppc64le backend host | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Gibson <dgibson> |
Component: | virt-manager | Assignee: | Cole Robinson <crobinso> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 21 | CC: | berrange, crobinso, virt-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-05-02 20:01:57 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
David Gibson
2015-04-08 04:24:47 UTC
Thanks for the report. This is the backtrace: Traceback (most recent call last): File "/home/crobinso/src/virt-manager/virtManager/engine.py", line 755, in _show_vm_helper details = self._get_details_dialog(uri, vm.get_connkey()) File "/home/crobinso/src/virt-manager/virtManager/engine.py", line 733, in _get_details_dialog obj = vmmDetails(conn.get_vm(connkey)) File "/home/crobinso/src/virt-manager/virtManager/details.py", line 417, in __init__ self.init_details() File "/home/crobinso/src/virt-manager/virtManager/details.py", line 820, in init_details domcaps = self.vm.get_domain_capabilities() File "/home/crobinso/src/virt-manager/virtManager/domain.py", line 513, in get_domain_capabilities self.get_xmlobj()) File "/home/crobinso/src/virt-manager/virtinst/domcapabilities.py", line 94, in build_from_guest guest.emulator, guest.os.arch, guest.os.machine, guest.type) File "/home/crobinso/src/virt-manager/virtinst/domcapabilities.py", line 88, in build_from_params xml = conn.getDomainCapabilities(emulator, arch, machine, hvtype) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3650, in getDomainCapabilities if ret is None: raise libvirtError ('virConnectGetDomainCapabilities() failed', conn=self) libvirtError: invalid argument: architecture from emulator 'ppc64' doesn't match given architecture 'ppc64le' Looks like a libvirt issue, I'll create a bug for that. but we can ignore the error in virt-manager Libvirt bug: https://bugzilla.redhat.com/show_bug.cgi?id=1209948 virt-manager commit to catch the error: commit 6634053533e878d8e4ed6541350c060b22a096f6 Author: Cole Robinson <crobinso> Date: Wed Apr 8 09:53:30 2015 -0400 domcapabilities: Can and log error fetching XML (bz #1209723) virt-manager-1.1.0-6.git310f6527.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/virt-manager-1.1.0-6.git310f6527.fc21 Package virt-manager-1.1.0-6.git310f6527.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing virt-manager-1.1.0-6.git310f6527.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-6281/virt-manager-1.1.0-6.git310f6527.fc21 then log in and leave karma (feedback). virt-manager-1.1.0-7.git310f6527.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/virt-manager-1.1.0-7.git310f6527.fc21 I downloaded and tried virt-manager-1.1.0-7.git310f6527.fc21. I now get a different error when I try to open the VM details window: Error launching details: global name 'logging' is not defined Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/engine.py", line 748, in _show_vm_helper details = self._get_details_dialog(uri, vm.get_connkey()) File "/usr/share/virt-manager/virtManager/engine.py", line 726, in _get_details_dialog obj = vmmDetails(conn.get_vm(connkey)) File "/usr/share/virt-manager/virtManager/details.py", line 399, in __init__ self.init_details() File "/usr/share/virt-manager/virtManager/details.py", line 784, in init_details domcaps = self.vm.get_domain_capabilities() File "/usr/share/virt-manager/virtManager/domain.py", line 513, in get_domain_capabilities self.get_xmlobj()) File "/usr/share/virt-manager/virtinst/domcapabilities.py", line 103, in build_from_guest guest.emulator, guest.os.arch, guest.os.machine, guest.type) File "/usr/share/virt-manager/virtinst/domcapabilities.py", line 92, in build_from_params logging.debug("Error fetching domcapabilities XML", NameError: global name 'logging' is not defined Fixed in virt-manage-1.1.0-8 which is in stable now |