Bug 842068
Summary: | libvirt completely non-functional in Rawhide: no connection driver available for No connection for URI (null) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Richard W.M. Jones <rjones> | ||||
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | abokovoy, acathrow, berrange, clalancette, dougsland, fredericg_99, itamar, jforbes, jyang, laine, libvirt-maint, stefw, veillard, virt-maint | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-08-15 12:25:53 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Richard W.M. Jones
2012-07-21 16:00:43 UTC
Setting SELinux to Permissive did NOT make a difference. Also: $ sudo virsh -c qemu:///system capabilities error: no connection driver available for No connection for URI qemu:///system error: failed to connect to the hypervisor $ sudo virsh -c qemu+ssh://localhost/system capabilities root@localhost's password: error: no connection driver available for No connection for URI qemu:///system error: failed to connect to the hypervisor In case it makes a difference, I'm still running the old 'nc': $ rpm -qf /bin/nc nc-1.107.20120403-1.fc17.x86_64 Thanks to laine for pointing out that this fixes it: sudo yum install libvirt-daemon-kvm sudo service libvirtd restart Problem solved for me as well with comment #4 Yes, this is an RPM packaging bug, fixed upstream with https://www.redhat.com/archives/libvir-list/2012-July/msg00766.html I'm still getting this problem (or maybe a different one?) and even the workaround in comment 4 doesn't work. $ sudo yum install libvirt-daemon-kvm libvirt-daemon-qemu Loaded plugins: langpacks, presto, refresh-packagekit Package libvirt-daemon-kvm-0.10.0-0rc0.fc18.x86_64 already installed and latest version Package libvirt-daemon-qemu-0.10.0-0rc0.fc18.x86_64 already installed and latest version Nothing to do $ sudo service libvirtd restart Restarting libvirtd (via systemctl): [ OK ] $ sudo virsh -c qemu:///system capabilities error: no connection driver available for No connection for URI qemu:///system error: failed to connect to the hypervisor $ virsh -c qemu:///system capabilities error: authentication failed: Authorization requires authentication but no agent is available. error: failed to connect to the hypervisor $ rpm -qa | grep libvirt | sort libvirt-0.10.0-0rc0.fc18.x86_64 libvirt-client-0.10.0-0rc0.fc18.x86_64 libvirt-daemon-0.10.0-0rc0.fc18.x86_64 libvirt-daemon-config-network-0.10.0-0rc0.fc18.x86_64 libvirt-daemon-config-nwfilter-0.10.0-0rc0.fc18.x86_64 libvirt-daemon-driver-interface-0.10.0-0rc0.fc18.x86_64 libvirt-daemon-driver-libxl-0.10.0-0rc0.fc18.x86_64 libvirt-daemon-driver-lxc-0.10.0-0rc0.fc18.x86_64 libvirt-daemon-driver-network-0.10.0-0rc0.fc18.x86_64 libvirt-daemon-driver-nodedev-0.10.0-0rc0.fc18.x86_64 libvirt-daemon-driver-nwfilter-0.10.0-0rc0.fc18.x86_64 libvirt-daemon-driver-qemu-0.10.0-0rc0.fc18.x86_64 libvirt-daemon-driver-secret-0.10.0-0rc0.fc18.x86_64 libvirt-daemon-driver-storage-0.10.0-0rc0.fc18.x86_64 libvirt-daemon-driver-uml-0.10.0-0rc0.fc18.x86_64 libvirt-daemon-driver-xen-0.10.0-0rc0.fc18.x86_64 libvirt-daemon-kvm-0.10.0-0rc0.fc18.x86_64 libvirt-daemon-qemu-0.10.0-0rc0.fc18.x86_64 libvirt-debuginfo-0.10.0-0rc0.fc18.x86_64 libvirt-devel-0.10.0-0rc0.fc18.x86_64 libvirt-docs-0.10.0-0rc0.fc18.x86_64 libvirt-python-0.10.0-0rc0.fc18.x86_64 ocaml-libvirt-0.6.1.2-2.fc18.x86_64 ocaml-libvirt-devel-0.6.1.2-2.fc18.x86_64 *** Bug 847747 has been marked as a duplicate of this bug. *** This may be why it's broken: [root@stef-rawhide ~]# libvirtd 2012-08-14 11:57:01.061+0000: 29393: info : libvirt version: 0.10.0, package: 0rc0.fc19 (Fedora Project, 2012-08-08-14:54:24, ) 2012-08-14 11:57:01.061+0000: 29393: error : virDriverLoadModule:78 : failed to load module /usr/lib64/libvirt/connection-driver/libvirt_driver_qemu.so /usr/lib64/libvirt/connection-driver/libvirt_driver_qemu.so: undefined symbol: virSecurityManagerGetModel 2012-08-14 11:57:01.062+0000: 29393: error : virDriverLoadModule:78 : failed to load module /usr/lib64/libvirt/connection-driver/libvirt_driver_lxc.so /usr/lib64/libvirt/connection-driver/libvirt_driver_lxc.so: undefined symbol: virSecurityManagerGetModel DV has produced another build that tried to fix it -- http://koji.fedoraproject.org/koji/taskinfo?taskID=4388416 -- but this build still lacks virSecurityManagerGetModel (and all of other VirSecurityManager methods). According to build logs, the patch to get security manager methods linked to libvirtd is applied, with no result. That build was incorrect, since it applied the wrong upstream patch. I did a further build yesterday which resolves this libvirt-0.10.0-0rc0.2.fc18, and I've had confirmation that this one actually works 0rc0.2.fc18 works for me too. Thanks! *** Bug 848440 has been marked as a duplicate of this bug. *** libvirt-0.10.0-0rc0.2.fc18.x86_64 fixes this for me. |