[Pkg-libvirt-maintainers] Bug#780339: virt-manager: unable to open new virtual machine dialog
Arturo Borrero Gonzalez
arturo.borrero.glez at gmail.com
Thu Mar 12 10:46:36 UTC 2015
Package: virt-manager
Version: 1:1.0.1-3
Severity: important
I open virt-manager and press the 'new virtual machine' button on the top panel.
This is what happens:
$ virt-manager --debug --no-fork
[jue, 12 mar 2015 11:34:46 virt-manager 2637] DEBUG (cli:187) Launched
with command line: /usr/share/virt-manager/virt-manager --debug
--no-fork
[jue, 12 mar 2015 11:34:46 virt-manager 2637] DEBUG (virt-manager:150)
virt-manager version: 1.0.1
[jue, 12 mar 2015 11:34:46 virt-manager 2637] DEBUG (virt-manager:151)
virtManager import: <module 'virtManager' from
'/usr/share/virt-manager/virtManager/__init__.pyc'>
[jue, 12 mar 2015 11:34:46 virt-manager 2637] DEBUG (virt-manager:209)
GTK version: 3.14.5
[jue, 12 mar 2015 11:34:46 virt-manager 2637] DEBUG (engine:484)
libguestfs inspection support: False
[jue, 12 mar 2015 11:34:46 virt-manager 2637] DEBUG (systray:152)
Showing systray: False
[jue, 12 mar 2015 11:34:46 virt-manager 2637] DEBUG (engine:231) About
to connect to uris ['qemu:///system']
[jue, 12 mar 2015 11:34:46 virt-manager 2637] DEBUG (manager:216)
Showing manager
[jue, 12 mar 2015 11:34:46 virt-manager 2637] DEBUG (engine:385)
window counter incremented to 1
[jue, 12 mar 2015 11:34:46 virt-manager 2637] DEBUG (connection:995)
Scheduling background open thread for qemu:///system
[jue, 12 mar 2015 11:34:46 virt-manager 2637] DEBUG (connection:1012)
Background 'open connection' thread is running
[jue, 12 mar 2015 11:34:49 virt-manager 2637] DEBUG (connection:1063)
Background open thread complete, scheduling notify
[jue, 12 mar 2015 11:34:49 virt-manager 2637] DEBUG (connection:1068)
Notifying open result
[jue, 12 mar 2015 11:34:49 virt-manager 2637] DEBUG (connection:1074)
libvirt version=1002009
[jue, 12 mar 2015 11:34:49 virt-manager 2637] 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 11:34:49 virt-manager 2637] DEBUG (connection:217)
Using libvirt API for netdev enumeration
[jue, 12 mar 2015 11:34:49 virt-manager 2637] DEBUG (connection:239)
Using libvirt API for mediadev enumeration
[jue, 12 mar 2015 11:34:58 virt-manager 2637] DEBUG (create:167)
Showing new vm wizard
[jue, 12 mar 2015 11:34:58 virt-manager 2637] 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 11:34:58 virt-manager 2637] 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'
Then, closing virt-manager:
[jue, 12 mar 2015 11:35:09 virt-manager 2637] DEBUG (manager:227)
Closing manager
[jue, 12 mar 2015 11:35:09 virt-manager 2637] 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 11:35:09 virt-manager 2637] DEBUG (engine:471)
Exiting app normally.
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages virt-manager depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.22.0-1
ii gconf2 3.2.6-3
ii gir1.2-gtk-3.0 3.14.5-1
ii gir1.2-gtk-vnc-2.0 0.5.3-1.3
ii gir1.2-libvirt-glib-1.0 0.1.9-4
ii gir1.2-spice-client-gtk-3.0 0.25-1+b1
ii gir1.2-vte-2.90 1:0.36.3-1
ii librsvg2-common 2.40.5-1
ii python-dbus 1.2.0-2+b3
ii python-gi 3.14.0-1
ii python-gi-cairo 3.14.0-1
ii python-ipaddr 2.1.11-2
ii python-libvirt 1.2.9-1
ii python-urlgrabber 3.9.1-4.1
pn python2.7:any <none>
pn python:any <none>
ii virtinst 1:1.0.1-3
Versions of packages virt-manager recommends:
ii gnome-icon-theme 3.12.0-1
ii libvirt-daemon 1.2.9-9
ii python-spice-client-gtk 0.25-1+b1
Versions of packages virt-manager suggests:
ii gnome-keyring 3.14.0-1+b1
pn python-gnomekeyring <none>
pn python-guestfs <none>
pn ssh-askpass <none>
ii virt-viewer 1.0-1
-- no debconf information
--
Arturo Borrero González
More information about the Pkg-libvirt-maintainers
mailing list