openstack使用错误解决汇总
1.使用cinder后端,lvm存储后,创建虚拟机出现如下错误:
libvirtError: internal error: process exited while connecting to monitor: 2018-04-19T06:58:04.975472Z qemu-kvm: -drive file=/dev/sdd,format=raw,
if=none,id=drive-virtio-disk0,serial=2a52c634-7048-41b9-9dbd-917a32f068e9,
cache=none,aio=native: aio=native was specified, but is not supported in this build.
分析:显然和qemu的编译相关,应该缺少aio相关的devel库支持,需安装libaio-devel
yum install libaio*
再重新编译安装qemu。
2.在进行热迁移时,出现错误(Unable to find security driver for model selinux):
2018-06-08 11:24:38.265 33753 ERROR nova.virt.libvirt.driver [req-916820bf-cc49-49bb-b463-4c5a381e67d1 8be5cdfc3c42433db95ed1ac34a4370b b1ae13350eb54295bf8bc24e27ac39e8 - default default] [instance: 6cf6dd8f-1d18-4f41-b254-00c36a1f9b4a] Live Migration failure: unsupported configuration: Unable to find security driver for model selinux: libvirtError: unsupported configuration: Unable to find security driver for model selinux 2018-06-08 11:24:38.784 33753 ERROR nova.virt.libvirt.driver [req-35348991-a031-40f8-aed1-6f17c9f4e63e 8be5cdfc3c42433db95ed1ac34a4370b b1ae13350eb54295bf8bc24e27ac39e8 - default default] [instance: 6cf6dd8f-1d18-4f41-b254-00c36a1f9b4a] Migration operation has aborted
分析:由于两个compute节点selinux状态不同,造成compute1是selinux disabled,然后compute2是selinux permission。
posted on 2018-04-19 15:19 carrot_hrp 阅读(1170) 评论(0) 编辑 收藏 举报