Connection attempts to libvirtd fail with following error: Mit libvirt konnte nicht verbunden werden. 'module' object has no attribute 'VIR_CRED_AUTHNAME' Libvirt URI is: qemu:///system Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/connection.py", line 1002, in _open_thread self.vmm = self._try_open() File "/usr/share/virt-manager/virtManager/connection.py", line 980, in _try_open [[libvirt.VIR_CRED_AUTHNAME, AttributeError: 'module' object has no attribute 'VIR_CRED_AUTHNAME' This might be a regression of app-emulation/libvirt. Used version of virt-manager: 0.10.0 Reproducible: Always Steps to Reproduce: 1. Upgrade to latest ebuilds of libvirt and virt-manager 2. Also problem connecting as normal user with virsh -c qemu+ssh:///system 3. Configuration uses socket authorization by group and socket file permissions. - No authentication used. Actual Results: Not possible to use virt-manager Expected Results: Able to use virt-manager in conjunction with libvirtd
app-emulation/libvirt-1.2.10-r2:0/1.2.10 app-emulation/virt-manager-0.10.0-r2:0
virsh -c qemu+ssh:///system was not the right way to use virsh.
Issue with virt-manager still applies. Ignore the brabble about virsh.
*** This bug has been marked as a duplicate of bug 532410 ***
Issue still persists. equery list '*libvirt*' * Searching for *libvirt* ... [IP-] [ ] app-emulation/libvirt-1.2.11:0/1.2.11 [IP-] [ ] app-emulation/libvirt-glib-0.1.8:0 [IP-] [ ] dev-python/libvirt-python-1.2.11:0 equery list '*virt-manager*' * Searching for *virt-manager* ... [IP-] [ ] app-emulation/virt-manager-1.1.0:0 Mit libvirt konnte nicht verbunden werden. 'module' object has no attribute 'VIR_CRED_AUTHNAME' Libvirt URI is: qemu:///system Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/connection.py", line 1002, in _open_thread "No credentials cache found" in libexc.get_error_message()): File "/usr/share/virt-manager/virtManager/connection.py", line 980, in _try_open AttributeError: 'module' object has no attribute 'VIR_CRED_AUTHNAME'
libvirtd.conf: unix_sock_group = "libvirt" unix_sock_ro_perms = "0777" unix_sock_rw_perms = "0770" unix_sock_dir = "/var/run/libvirt" auth_unix_ro = "none" auth_unix_rw = "none"
Whats interesting is, upon starting virt-manager and going into "Help" - "Info" Dialog ist shows: Virtual Machine Manager 0.10.0 But: virt-manager --version 1.1.0
* Searching for *virt-mana* ... [IP-] [ ] app-emulation/virt-manager-1.1.0:0 * Searching for *libvirt* ... [IP-] [ ] app-emulation/libvirt-1.2.10-r2:0/1.2.10 [IP-] [ ] app-emulation/libvirt-glib-0.1.8:0 [IP-] [ ] dev-python/libvirt-python-1.2.10:0 Same problem. Must have to do something with the patches introduced the last days due to some CVE. Might also be a upstream issue.
suddenly it works.