kvm undefined symbol: epoxy_

安装openstack-compute服务,日志提示

2021-05-10 03:58:02.138 4423 INFO nova.virt.libvirt.host [req-26f7f5cd-64ec-4bbd-84d2-72cf2bbdbb51 - - - - -] libvirt_version--------------------
2021-05-10 03:58:02.138 4423 INFO nova.virt.libvirt.host [req-26f7f5cd-64ec-4bbd-84d2-72cf2bbdbb51 - - - - -] 4005000
2021-05-10 03:58:02.138 4423 INFO nova.virt.libvirt.host [req-26f7f5cd-64ec-4bbd-84d2-72cf2bbdbb51 - - - - -] 1002003
2021-05-10 03:58:02.190 4423 INFO nova.virt.libvirt.host [req-26f7f5cd-64ec-4bbd-84d2-72cf2bbdbb51 - - - - -] libvirt_version--------------------
2021-05-10 03:58:02.190 4423 INFO nova.virt.libvirt.host [req-26f7f5cd-64ec-4bbd-84d2-72cf2bbdbb51 - - - - -] 4005000
2021-05-10 03:58:02.191 4423 INFO nova.virt.libvirt.host [req-26f7f5cd-64ec-4bbd-84d2-72cf2bbdbb51 - - - - -] 1002003
2021-05-10 03:58:02.242 4423 INFO nova.virt.libvirt.host [req-26f7f5cd-64ec-4bbd-84d2-72cf2bbdbb51 - - - - -] libvirt_version--------------------
2021-05-10 03:58:02.243 4423 INFO nova.virt.libvirt.host [req-26f7f5cd-64ec-4bbd-84d2-72cf2bbdbb51 - - - - -] 4005000
2021-05-10 03:58:02.243 4423 INFO nova.virt.libvirt.host [req-26f7f5cd-64ec-4bbd-84d2-72cf2bbdbb51 - - - - -] 1002001
2021-05-10 03:58:02.294 4423 ERROR oslo_service.service [req-26f7f5cd-64ec-4bbd-84d2-72cf2bbdbb51 - - - - -] Error starting thread.
2021-05-10 03:58:02.294 4423 ERROR oslo_service.service Traceback (most recent call last):
2021-05-10 03:58:02.294 4423 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 708, in run_service
2021-05-10 03:58:02.294 4423 ERROR oslo_service.service     service.start()
2021-05-10 03:58:02.294 4423 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/nova/service.py", line 117, in start
2021-05-10 03:58:02.294 4423 ERROR oslo_service.service     self.manager.init_host()
2021-05-10 03:58:02.294 4423 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1140, in init_host
2021-05-10 03:58:02.294 4423 ERROR oslo_service.service     self.driver.init_host(host=self.host)
2021-05-10 03:58:02.294 4423 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 494, in init_host
2021-05-10 03:58:02.294 4423 ERROR oslo_service.service     self._version_to_string(MIN_QEMU_VERSION))
2021-05-10 03:58:02.294 4423 ERROR oslo_service.service NovaException: Nova requires QEMU version 1.5.3 or greater.

显示版本有问题,经过排查并不qemu 或libvrit版本问题


发现virsh version提示有问题,messages日志里面也有很多qemu报错

[root@compute ~]# virsh version
Compiled against library: libvirt 4.5.0
Using library: libvirt 4.5.0
Using API: QEMU 4.5.0
error: failed to get the hypervisor version
error: internal error: Failed to probe QEMU binary with QMP: /usr/libexec/qemu-kvm: symbol lookup error: /usr/libexec/qemu-kvm: undefined symbol: epoxy_eglExportDMABUFImageQueryMESA

解决办法:

yum install libepoxy -y

posted @ 2021-05-09 19:49  MKY-门可意  阅读(248)  评论(0编辑  收藏  举报