openstack创建实例时报错:
Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 51ea72a4-db11-4756-b2e4-921aa7c7281e
思路一:
检查宿主机是否起了libvirtd,如果起了,参照下方链接将其关掉
https://blog.csdn.net/qq_38359135/article/details/120567346?spm=1001.2014.3001.5501
思路二:
直接重启libvirtd,或者stop后再start
systemctl restart libvirtd
https://blog.csdn.net/skyroach/article/details/116934063?spm=1001.2101.3001.6650.9&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-9.no_search_link&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-9.no_search_link
思路三:
重启所有机器(也许只重启controller也可以),再试一下
或者
重启所有机器的容器,再重启所有机器
思路四(不推荐,因为qemu作为虚拟化层性能比较差):
1、修改compute节点的nova.conf文件,增加:
[libvirt]
virt_type = qemu
2、 重启nova-compute组件使修改生效
参考自:
https://www.cnblogs.com/omgasw/p/13043289.html