On samedi, 18 août 2018 13.59:35 h CEST Michael Ströder wrote:
HI!
After update to snapshot 20180815 I cannot connect to local libvirtd with virt-manager anymore (see traceback attached below). It does not ask for root password like it did before. /usr/lib/polkit-1/polkitd seems to be running. Hmm, I'm not sure whether this was still working with the recent snapshots before.
Machine was rebooted after zypper dup and connecting to a remote libvirtd via SSH works just fine.
There are some more strange things with some VMs but I have to investigate this a bit further.
As the same normal user this works:
$ virsh -c qemu:///system list ==== AUTHENTICATING FOR org.libvirt.unix.manage ==== System policy prevents management of local virtualized systems Authenticating as: root Password: ==== AUTHENTICATION COMPLETE ==== Id Name State ---------------------------------------------------- [..VM listed here..]
Ciao, Michael.
------------------------ traceback virt-manager ------------------------ Unable to connect to libvirt qemu:///system.
authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage'
Libvirt URI is: qemu:///system
Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/connection.py", line 1036, in _do_open self._backend.open(self._do_creds_password) File "/usr/share/virt-manager/virtinst/connection.py", line 144, in open open_flags) File "/usr/lib64/python3.6/site-packages/libvirt.py", line 104, in openAuth if ret is None:raise libvirtError('virConnectOpenAuth() failed') libvirt.libvirtError: authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage'
Hello Michael, thanks for reporting this, as I will need it monday morning I give it a try directly. Starting libvirtd give a chunk of strange errors and warnings journalctl -b -u libvirtd.service --no-pager journalctl -b -u libvirtd.service --no-pager -- Logs begin at Fri 2017-12-22 19:00:55 CET, end at Sat 2018-08-18 16:45:11 CEST. -- systemd[1]: Starting Virtualization daemon... libvirtd[20889]: 2018-08-18 14:45:00.119+0000: 20889: info : libvirt version: 4.6.0 libvirtd[20889]: 2018-08-18 14:45:00.119+0000: 20889: info : hostname: qt-kt libvirtd[20889]: 2018-08-18 14:45:00.119+0000: 20889: warning : netcfIfaceRegister:1275 : Failed to intialize libnetcontrol. Management of interface devices is disabled systemd[1]: Started Virtualization daemon. libvirtd[20889]: 2018-08-18 14:45:00.392+0000: 20909: error : virGetUserID: 1043 : invalid argument: Failed to parse user 'tss' libvirtd[20889]: 2018-08-18 14:45:00.392+0000: 20909: error : virGetGroupID: 1123 : invalid argument: Failed to parse group 'tss' dnsmasq[21214]: started, version 2.78 cachesize 2000 dnsmasq[21214]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify dnsmasq-dhcp[21214]: DHCP, IP range 192.168.122.2 -- 192.168.122.254, lease time 1h dnsmasq-dhcp[21214]: DHCP, sockets bound exclusively to interface virbr0 dnsmasq[21214]: reading /etc/resolv.conf dnsmasq[21214]: using nameserver 192.168.50.1#53 dnsmasq[21214]: using nameserver 213.200.217.221#53 dnsmasq[21214]: using nameserver 10.26.8.1#53 dnsmasq[21214]: read /etc/hosts - 34 addresses dnsmasq[21214]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses dnsmasq-dhcp[21214]: read /var/lib/libvirt/dnsmasq/default.hostsfile but I can still access to virtuals vm with virsh on command line virsh list --all Id Name State ---------------------------------------------------- - leap-test shut off - win764 shut off Also a test with virt-manager connecting to local qemu still ask the root password (policy ok). So mainly not a "pure" TW problem but some configuration on your side perhaps having a look at all those rpmnew rpmsave in /etc ? I guess if more support is needed, to not bother people, the thread should move to the new o-support ml ;-) -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch Bareos Partner, openSUSE Member, fsfe supporter GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org