[arch-general] Virt-Manager Doesn't connect to localhost domain after upgrade.

Peter Baldridge petebaldridge at gmail.com
Thu Dec 5 23:27:32 EST 2013


Hello List,

I've just recently upgraded with an Syu which included an upgrade from
virt-manager 0.10.0-3 to 0.10.0.-4.  This update seems to have pulled
libvirt-python into the mix which from what I can tell was not there before
or was not a separate package. (version 1.2.0-1-x86_64).  My first attempt
to update failed with the warning:

error: failed to commit transaction (conflicting files)
libvirt-python: /usr/lib/python2.7/site-packages/libvirt.pyc exists in
filesystem

I moved the file to my home directory and tried to install again.  Update
seamed to work but when I start virt-manager, I cannot connect to the
localhost libvirtd and the daemon seems to be running fine:

[/var/cache/pacman/pkg 2907 $ sudo systemctl status libvirtd
libvirtd.service - Virtualization daemon
   Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled)
   Active: active (running) since Thu 2013-12-05 20:15:02 PST; 11s ago
 Main PID: 6466 (libvirtd)
   CGroup: /system.slice/libvirtd.service
           |-1194 /sbin/dnsmasq
--conf-file=/var/lib/libvirt/dnsmasq/default.conf
           `-6466 /usr/bin/libvirtd -p /var/run/libvirtd.pid

Dec 05 20:15:03 zeke dnsmasq[1194]: reading /etc/resolv.conf
Dec 05 20:15:03 zeke dnsmasq[1194]: using nameserver 192.168.1.1#53
Dec 05 20:15:03 zeke dnsmasq[1194]: using nameserver 8.8.4.4#53
Dec 05 20:15:03 zeke dnsmasq[1194]: using nameserver 8.8.8.8#53
Dec 05 20:15:03 zeke dnsmasq[1194]: using local addresses only for
unqualified names
Dec 05 20:15:03 zeke dnsmasq[1194]: read /etc/hosts - 2 addresses
Dec 05 20:15:03 zeke dnsmasq[1194]: read
/var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
Dec 05 20:15:03 zeke dnsmasq-dhcp[1194]: read
/var/lib/libvirt/dnsmasq/default.hostsfile
Dec 05 20:15:03 zeke libvirtd[6466]: XML error: Storage pool config
filename '/etc/libvirt/storage/pool.xml' does not match pool name 'default'
Dec 05 20:15:03 zeke libvirtd[6466]: Could not find 'ebtables' executable


Wenn I click to add a new vm, I get the error:

Error: 'None Type' object has no attribute '__getitem__'

and cannot proceed.

I'm not sure where to go from here or where else to look.  The Wiki briefly
mentions the python api [1] and mentions that there should be some examples
to look at though I don't see them on my system.

Any pointers or google key words would be appreciated.

[1]https://wiki.archlinux.org/index.php/Libvirt#Using_Python

--

pete


More information about the arch-general mailing list