Os:centos 7 Gnome Desktop
Problem Description:
After using the Yum install Virt-manager under CentOS 7, you cannot connect to the local hypervisor using Virt-manager.
Using Lsmod, you can see that the Kvm-intel module has been added to the kernel.
Using the command-line tool Virsh
[Email protected] qemu]# Virsh define Ccnode.xml
Error:failed to connect to the hypervisor
Error:no Valid connection
Error:no Connection driver available for <null>
Error:failed to reconnect to the hypervisor
Restart the LIBVIRTD service to view the log records/var/log/messages
11:15:57 localhost systemd:starting virtualization daemon ...
11:15:57 localhost journal:libvirt version:1.2.8, package:16.el7_1.3 (CentOS buildsystem
11:15:57 localhost journal:failed to load module/usr/lib64/libvirt/connection-driver/libvirt_driver_storage.so /usr/lib64/libvirt/connection-driver/libvirt_driver_storage.so:symbol Dm_task_get_info_with_deferred_remove, Version Base not defined in file libdevmapper.so.1.02 with link time reference
11:15:57 localhost journal:failed to load module/usr/lib64/libvirt/connection-driver/libvirt_driver_qemu.so/ usr/lib64/libvirt/connection-driver/libvirt_driver_qemu.so:undefined symbol:virstoragefilecreate
11:15:57 localhost journal:module/usr/lib64/libvirt/connection-driver/libvirt_driver_lxc.so not accessible
11:15:57 localhost systemd:started virtualization daemon.
Log Logging error Key section:
journal:failed to load module/usr/lib64/libvirt/connection-driver/libvirt_driver_storage.so/usr/lib64/libvirt/ Connection-driver/libvirt_driver_storage.so:symbol Dm_task_get_info_with_deferred_remove, version Base not defined In file libdevmapper.so.1.02 with link time reference
11:15:57 localhost journal:failed to load module/usr/lib64/libvirt/connection-driver/libvirt_driver_qemu.so/ usr/lib64/libvirt/connection-driver/libvirt_driver_qemu.so:undefined symbol:virstoragefilecreate
After Google, to resolve this issue only need to update the package
To view the package version:
Yum Info device-mapper-libs
Update package:
Yum Update device-mapper-libs
Reference:
http://blog.163.com/liyinhu_86/blog/static/4177704420153254114521/
https://bugzilla.redhat.com/show_bug.cgi?id=1164773
https://bugzilla.redhat.com/show_bug.cgi?id=842068
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
CentOS 7 Virt-manager cannot connect to local hypervisor