[Bug 1418221] [NEW] internal error: Cannot find suitable emulator for ppc64le

Scott Moser smoser at ubuntu.com
Wed Feb 4 21:01:37 UTC 2015


Public bug reported:

on ppc64el (with 'uname -m' of ppc64le), libvirt will complain:
 libvirt: QEMU Driver error : internal error: Cannot find suitable emulator for ppc64le

This is easily reproducible with the python-libvirt bindings:

$ sudo apt-get install python-libvirt libvirtd-bin qemu-system-ppc
$ python -c 'import libvirt; libvirt.open().getVersion(); print("GOOD")'
libvirt: QEMU Driver error : internal error: Cannot find suitable emulator for ppc64le
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3679, in getVersion
    if ret == -1: raise libvirtError ('virConnectGetVersion() failed', conn=self)
libvirt.libvirtError: internal error: Cannot find suitable emulator for ppc64le

The issue here is that it raises exception, which is not expected in
nova-compute at least.

A workaround can be acheived via:
$ sudo ln -s /usr/bin/qemu-system-ppc64 /usr/bin/qemu-system-ppc64le
$ sudo stop libvirt-bin; sudo start libvirt-bin

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/1418221

Title:
  internal error: Cannot find suitable emulator for ppc64le

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1418221/+subscriptions



More information about the Ubuntu-server-bugs mailing list