libvirt utilities on openSUSE 12.1 appear to be broken

The libvirt tools on openSUSE 12.1 currently cause me some headache:


edgar:~ # ps ax | grep libvirtd
2742 ? Sl 2:47 /usr/sbin/libvirtd -d -l
16599 pts/0 S+ 0:00 grep --color=auto libvirtd
edgar:~ # virsh -c qemu:///system list
WARNING: no socket to connect to
Id Name State
----------------------------------

edgar:~ #

Notice the Warning message, which appears with virt-manager as well. However if I try to create a new VM using virt-manager, upon clicking the final “OK” button I get the error message “Error: ‘NoneType’ object has no attribute ‘startswith'”.

Now is this just me or are the libvirt tools seriously broken on openSUSE 12.1?

EDIT1: This error message appears if you forget to define a valid installation source (eg. the location of your .iso to be installed). Which is pretty easy, if you click “OK” all the time through the wizard. Which, by the way, is “vm-install”, which is not a regular part of virt-manager but was developed by Novell and patched into virt-manager. Why? No idea. Looks like pretty untested software to me. BNC #742773.

EDIT2: The warning message appears in every program that uses GnuTLS. GnuTLS uses gnome-keyring, which in turn recently added PKCS11 support, but shouldn’t complain if gnome-keyring-daemon isn’t running. The gnome-keyring devs fixed this already and Red Hat already provides an update. So now to wait for Novell: BNC #742776.

Leave a comment