Description of problem: I have virt-manager on an x86 Fedora machine connecting to a qemu backend on a ppc64le machine. I have VMs installed by other means (virt-install) on the backend machine, but I am unable to open and view these VMs from virt-manager. Version-Release number of selected component (if applicable): virt-manager-1.1.0-5.git310f6527.fc21.noarch How reproducible: 100% Steps to Reproduce: 1. Create a connection with a qemu+ssh URL connecting to a ppc64le host. 2. Create VMs on this host via any means (virt-manager itself won't work due to bug 1209720) 3. Double-click on one of the VMs Actual results: An error message pops up saying: "Error launching details: invalid argument: architecture from emulator 'ppc64' doesn't match given architecture 'ppc64le'" Expected results: Normal VM window opens giving access to VM configuration and console. Additional info:
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