[Pkg-libvirt-maintainers] Bug#780339: Bug#780339: virt-manager: unable to open new virtual machine dialog

Arturo Borrero Gonzalez arturo.borrero.glez at gmail.com
Thu Mar 12 17:47:36 UTC 2015


On 12 March 2015 at 12:58, Guido Günther <agx at sigxcpu.org> wrote:
>
> Please show me that libvirt is running nicely already for this
> connection. It seems you're lacking a usable hypervisor.

You are right. Perhaps this is a different issue:

$ sudo systemctl start libvirtd

$ sudo systemctl status libvirtd
[...]
mar 12 18:44:35 nostromo libvirtd[3734]: libvirt version: 1.2.9,
package: 9 (buildd 2015-02-06-16:39:25 binet)
mar 12 18:44:35 nostromo libvirtd[3734]: unknown OS type hvm
mar 12 18:44:35 nostromo libvirtd[3734]: unknown OS type hvm
mar 12 18:44:35 nostromo libvirtd[3734]: unknown OS type hvm
mar 12 18:45:01 nostromo libvirtd[3734]: internal error: Cannot find
suitable emulator for x86_64
mar 12 18:45:01 nostromo libvirtd[3734]: internal error: Cannot find
suitable emulator for x86_64

Triying again:

$ virt-manager --debug --no-fork
[jue, 12 mar 2015 18:44:56 virt-manager 3776] DEBUG (cli:187) Launched
with command line: /usr/share/virt-manager/virt-manager --debug
--no-fork
[jue, 12 mar 2015 18:44:56 virt-manager 3776] DEBUG (virt-manager:150)
virt-manager version: 1.0.1
[jue, 12 mar 2015 18:44:56 virt-manager 3776] DEBUG (virt-manager:151)
virtManager import: <module 'virtManager' from
'/usr/share/virt-manager/virtManager/__init__.pyc'>
[jue, 12 mar 2015 18:44:57 virt-manager 3776] DEBUG (virt-manager:209)
GTK version: 3.14.5
[jue, 12 mar 2015 18:44:57 virt-manager 3776] DEBUG (engine:484)
libguestfs inspection support: False
[jue, 12 mar 2015 18:44:57 virt-manager 3776] DEBUG (systray:152)
Showing systray: False
[jue, 12 mar 2015 18:44:57 virt-manager 3776] DEBUG (engine:231) About
to connect to uris ['qemu:///system']
[jue, 12 mar 2015 18:44:58 virt-manager 3776] DEBUG (manager:216)
Showing manager
[jue, 12 mar 2015 18:44:58 virt-manager 3776] DEBUG (engine:385)
window counter incremented to 1
[jue, 12 mar 2015 18:44:58 virt-manager 3776] DEBUG (connection:995)
Scheduling background open thread for qemu:///system
[jue, 12 mar 2015 18:44:58 virt-manager 3776] DEBUG (connection:1012)
Background 'open connection' thread is running
[jue, 12 mar 2015 18:45:01 virt-manager 3776] DEBUG (connection:1063)
Background open thread complete, scheduling notify
[jue, 12 mar 2015 18:45:01 virt-manager 3776] DEBUG (connection:1068)
Notifying open result
[jue, 12 mar 2015 18:45:01 virt-manager 3776] DEBUG (connection:1074)
libvirt version=1002009
[jue, 12 mar 2015 18:45:01 virt-manager 3776] DEBUG (connection:1076)
daemon version=1002009
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/baseclass.py", line 46, in cb
    return func(*args, **kwargs)
  File "/usr/share/virt-manager/virtManager/connection.py", line 1077,
in _open_notify
    logging.debug("conn version=%s", self._backend.conn_version())
  File "/usr/share/virt-manager/virtinst/connection.py", line 290, in
conn_version
    self._conn_version = self._libvirtconn.getVersion()
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3697, in getVersion
    if ret == -1: raise libvirtError ('virConnectGetVersion() failed',
conn=self)
libvirtError: internal error: Cannot find suitable emulator for x86_64

[jue, 12 mar 2015 18:45:03 virt-manager 3776] DEBUG (connection:217)
Using libvirt API for netdev enumeration
[jue, 12 mar 2015 18:45:03 virt-manager 3776] DEBUG (connection:239)
Using libvirt API for mediadev enumeration
[jue, 12 mar 2015 18:45:07 virt-manager 3776] DEBUG (create:167)
Showing new vm wizard
[jue, 12 mar 2015 18:45:07 virt-manager 3776] ERROR (addstorage:100)
Error determining host disk space
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/addstorage.py", line 98,
in _update_host_space
    max_storage = self._host_disk_space()
  File "/usr/share/virt-manager/virtManager/addstorage.py", line 78,
in _host_disk_space
    pool = self.conn.get_default_pool()
AttributeError: 'NoneType' object has no attribute 'get_default_pool'
[jue, 12 mar 2015 18:45:07 virt-manager 3776] DEBUG (error:84) error
dialog message:
summary=Error al lanzar gestor: 'NoneType' object has no attribute
'get_default_storage_format'
details=Error al lanzar gestor: 'NoneType' object has no attribute
'get_default_storage_format'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/engine.py", line 886, in
_do_show_create
    self._get_create_dialog().show(src.topwin, uri)
  File "/usr/share/virt-manager/virtManager/create.py", line 170, in show
    self.reset_state(uri)
  File "/usr/share/virt-manager/virtManager/create.py", line 388, in reset_state
    self.addstorage.reset_state()
  File "/usr/share/virt-manager/virtManager/addstorage.py", line 196,
in reset_state
    fmt = self.conn.get_default_storage_format()
AttributeError: 'NoneType' object has no attribute 'get_default_storage_format'
^C[jue, 12 mar 2015 18:45:13 virt-manager 3776] DEBUG (cli:182)
Uncaught exception:
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/manager.py", line 1076, in
guest_cpu_usage_img
    def guest_cpu_usage_img(self, column_ignore, cell, model, _iter, data):
KeyboardInterrupt

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/manager.py", line 1076, in
guest_cpu_usage_img
    def guest_cpu_usage_img(self, column_ignore, cell, model, _iter, data):
KeyboardInterrupt
[jue, 12 mar 2015 18:45:15 virt-manager 3776] DEBUG (manager:227)
Closing manager
[jue, 12 mar 2015 18:45:15 virt-manager 3776] DEBUG (engine:389)
window counter decremented to 0
/usr/share/virt-manager/virtManager/engine.py:410: Warning: Source ID
8 was not found when attempting to remove it
  GLib.source_remove(self.timer)
[jue, 12 mar 2015 18:45:15 virt-manager 3776] DEBUG (engine:471)
Exiting app normally.



-- 
Arturo Borrero González



More information about the Pkg-libvirt-maintainers mailing list