CentOS 7 Virt-manager cannot connect to local hypervisor

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.