[libvirt-users] Virsh Fail to Connect to Hypervisor

Hi, I am upgrading libvirt from 1.2.9 to 2.0.0 and I have successfully make the libvirtd running. However, virsh cannot connect to hypervisor with following errors: virsh # connect error: failed to connect to the hypervisor root@node-55:/usr/local# virsh -c 'qemu:///system' connect error: failed to connect to the hypervisor error: no connection driver available for qemu:///system Can you give me some suggestion about where will be the problem. Thanks. libvirtd is running: root@node-55:/usr/lib/python2.7/dist-packages# ps aux | grep -i libvirtd root 1246963 0.0 0.0 1245780 3428 ? Ssl 06:04 0:00 /usr/sbin/libvirtd --config /etc/libvirt/libvirtd.conf -l Best Regards Xu Rongjie (Max) Mobile:18658176819

On Wed, Jan 04, 2017 at 06:15:52AM +0000, Xu, Rongjie (Nokia - CN/Hangzhou) wrote:
Hi,
I am upgrading libvirt from 1.2.9 to 2.0.0 and I have successfully make the libvirtd running. However, virsh cannot connect to hypervisor with following errors:
virsh # connect error: failed to connect to the hypervisor
root@node-55:/usr/local# virsh -c 'qemu:///system' connect error: failed to connect to the hypervisor error: no connection driver available for qemu:///system
Can you give me some suggestion about where will be the problem. Thanks.
Either you didn't install the QEMU driver for libvirt, or the QEMU driver failed to initialize during libvirtd startup. Check the libvirtd logs for the latter case, and make sure libvirt-daemon-driver-qemu RPM is installed for the former. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://entangle-photo.org -o- http://search.cpan.org/~danberr/ :|
participants (2)
-
Daniel P. Berrange
-
Xu, Rongjie (Nokia - CN/Hangzhou)