[Pkg-libvirt-maintainers] Bug#796878: Bug#796878: virt-manager requires /usr/share/libvirt/cpu_map.xml from libvirt-daemon w/out depending on it
Feth AREZKI
feth at tuttu.info
Tue Aug 25 13:03:05 UTC 2015
Hello,
mardi 2015-08-25 à 13:21:52 (CEST), Guido Günther a écrit:
>
> You don't need to install the recommended packages.
True...
>
> >
> > Perhaps /usr/share/libvirt/cpu_map.xml should be provided in a data-only
> > package?
>
> Please provide at least logs of virt-manager and your connection URL so
> this can be reproduced.
This is how I just reproduced (I clicked machines corresponding to : qemu+ssh://root@192.168.30.249/system)
# apt remove libvirt-daemon libvirt-daemon-system
$ LC_ALL=C virt-manager --no-fork --debug
[Tue, 25 Aug 2015 14:54:34 virt-manager 15504] DEBUG (cli:246) Launched with command line: /usr/share/virt-manager/virt-manager --no-fork --debug
[Tue, 25 Aug 2015 14:54:34 virt-manager 15504] DEBUG (virt-manager:153) virt-manager version: 1.2.1
[Tue, 25 Aug 2015 14:54:34 virt-manager 15504] DEBUG (virt-manager:154) virtManager import: <module 'virtManager' from '/usr/share/virt-manager/virtManager/__init__.pyc'>
[Tue, 25 Aug 2015 14:54:34 virt-manager 15504] DEBUG (virt-manager:213) GTK version: 3.16.6
[Tue, 25 Aug 2015 14:54:34 virt-manager 15504] DEBUG (engine:456) libguestfs inspection support: False
[Tue, 25 Aug 2015 14:54:34 virt-manager 15504] DEBUG (systray:150) Showing systray: False
[Tue, 25 Aug 2015 14:54:34 virt-manager 15504] DEBUG (engine:228) About to connect to uris ['qemu+ssh://root@192.168.31.249/system', 'qemu+ssh://feth@wurm.majerti.fr/system', 'qemu+ssh://root@enterprise.cdp.vpn+192.168.30.249/system', 'qemu+ssh://root@192.168.30.249/system']
[Tue, 25 Aug 2015 14:54:34 virt-manager 15504] DEBUG (manager:207) Showing manager
[Tue, 25 Aug 2015 14:54:34 virt-manager 15504] DEBUG (engine:357) window counter incremented to 1
[Tue, 25 Aug 2015 14:54:36 virt-manager 15504] DEBUG (connection:536) conn=qemu+ssh://root@192.168.30.249/system changed to state=Connecting
[Tue, 25 Aug 2015 14:54:36 virt-manager 15504] DEBUG (connection:846) Scheduling background open thread for qemu+ssh://root@192.168.30.249/system
root at 192.168.30.249's password:
[Tue, 25 Aug 2015 14:54:42 virt-manager 15504] DEBUG (connection:895) libvirt version=1002018
[Tue, 25 Aug 2015 14:54:42 virt-manager 15504] DEBUG (connection:897) daemon version=9012
[Tue, 25 Aug 2015 14:54:42 virt-manager 15504] DEBUG (connection:898) conn version=1001002
[Tue, 25 Aug 2015 14:54:43 virt-manager 15504] DEBUG (connection:900) qemu+ssh://root@192.168.30.249/system capabilities:
<capabilities>
<host>
<uuid>4c4c4544-0058-3510-8058-c4c04f483432</uuid>
<cpu>
<arch>x86_64</arch>
[...]
</capabilities>
[Tue, 25 Aug 2015 14:54:43 virt-manager 15504] DEBUG (connection:755) Using domain events
[Tue, 25 Aug 2015 14:54:43 virt-manager 15504] DEBUG (connection:769) Error registering domain balloon event: internal error unsupported event ID 13
[Tue, 25 Aug 2015 14:54:43 virt-manager 15504] DEBUG (connection:769) Error registering domain device removed event: internal error unsupported event ID 15
[Tue, 25 Aug 2015 14:54:43 virt-manager 15504] DEBUG (connection:769) Error registering domain device added event: internal error unsupported event ID 19
[Tue, 25 Aug 2015 14:54:43 virt-manager 15504] DEBUG (connection:795) Error registering network events: unknown procedure: 313
[Tue, 25 Aug 2015 14:54:43 virt-manager 15504] DEBUG (connection:808) conn.close() uri=qemu+ssh://root@192.168.30.249/system
[Tue, 25 Aug 2015 14:54:43 virt-manager 15504] DEBUG (connection:536) conn=qemu+ssh://root@192.168.30.249/system changed to state=Disconnected
[Tue, 25 Aug 2015 14:54:43 virt-manager 15504] DEBUG (engine:597) connect_error: conn transport=ssh
[Tue, 25 Aug 2015 14:54:43 virt-manager 15504] DEBUG (error:97) error dialog message:
summary=Unable to connect to libvirt.
[Errno 2] No such file or directory: '/usr/share/libvirt/cpu_map.xml'
Verify that the 'libvirtd' daemon is running
on the remote host.
details=Unable to connect to libvirt.
[Errno 2] No such file or directory: '/usr/share/libvirt/cpu_map.xml'
Verify that the 'libvirtd' daemon is running
on the remote host.
Libvirt URI is: qemu+ssh://root@192.168.30.249/system
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/connection.py", line 936, in _open_thread
self._populate_initial_state()
File "/usr/share/virt-manager/virtManager/connection.py", line 904, in _populate_initial_state
self.caps.get_cpu_values("x86_64")
File "/usr/share/virt-manager/virtinst/capabilities.py", line 408, in get_cpu_values
cpu_values = mode(self.conn)
File "/usr/share/virt-manager/virtinst/capabilities.py", line 58, in __init__
xml = file(self._cpu_filename).read()
IOError: [Errno 2] No such file or directory: '/usr/share/libvirt/cpu_map.xml'
best regards,
--
Feth
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20150825/83227f1c/attachment.sig>
More information about the Pkg-libvirt-maintainers
mailing list