错误

Ubuntu 20.04 下手动安装 OpenStack Xena 版
在创建虚拟机的时候总是失败

 openstack server create --flavor m1.nano --image cirros.0.5.2   --nic net-id=1e46c104-a455-4875-a920-e0b9a2d59e73 --security-group default   --key-name mykey provider-instance

命令行方式下,也不知道这个错误应该是查询 /var/log/nova 下的哪一个,继续安装 DashBoard 之后查看

查找原因

  1. 在 dashboard 上很容易就看到了

     消息Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 3ac51153-78ca-4127-9824-fcdce6768859.编码500详情Traceback (most recent call last): File "/usr/lib/python3/dist-packages/nova/conductor/manager.py", line 669, in build_instances raise exception.MaxRetriesExceeded(reason=msg) nova.exception.MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 3ac51153-78ca-4127-9824-fcdce6768859. 已创建2022年12月9日 08:39
    
  2. 网上查询大都是在 compute 节点查询是否 virt_type = qemu ,确认过 /etc/nova/nova-compute.conf 文件,但是依然报错

  3. 想到 Controller 节点是不是也存在这个文件 vim /etc/nova/nova-compute.conf 果然也是有的

    是不是我安装过程中发生过什么错觉, Controller 节点也安装了 Compute 节点的东西?不记得了!

    反正照方抓药,也改成 virt_type = qemu
    然后,也是 service nova-compute restart

    再次创建,就 OK 了!

后记

命令行方式下,也不知道这个错误应该是查询 /var/log/nova 下的哪一个,那就 grep 试试

root@controller:/var/log/nova# grep -nr Exceeded *

nova-conductor.log:2:2022-12-09 08:38:11.776 1890 WARNING nova.scheduler.utils [req-a58a5759-9a1c-4b33-996a-6a393d0fef87 02754b94ca6c40f8b189a7d19b897e53 b5e1426408a048739a9f73841c9a2f09 - default default] Failed to compute_task_build_instances: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance f2dddea8-8025-48cc-a6dd-481078921ff2.: nova.exception.MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance f2dddea8-8025-48cc-a6dd-481078921ff2.
nova-conductor.log:3:2022-12-09 08:38:11.777 1890 WARNING nova.scheduler.utils [req-a58a5759-9a1c-4b33-996a-6a393d0fef87 02754b94ca6c40f8b189a7d19b897e53 b5e1426408a048739a9f73841c9a2f09 - default default] [instance: f2dddea8-8025-48cc-a6dd-481078921ff2] Setting instance to ERROR state.: nova.exception.MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance f2dddea8-8025-48cc-a6dd-481078921ff2.
nova-conductor.log:5:2022-12-09 08:39:55.914 1890 WARNING nova.scheduler.utils [req-4aa4bd82-e488-40e8-8096-b4d9c79bf58f 02754b94ca6c40f8b189a7d19b897e53 b5e1426408a048739a9f73841c9a2f09 - default default] Failed to compute_task_build_instances: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 3ac51153-78ca-4127-9824-fcdce6768859.: nova.exception.MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 3ac51153-78ca-4127-9824-fcdce6768859.
nova-conductor.log:6:2022-12-09 08:39:55.914 1890 WARNING nova.scheduler.utils [req-4aa4bd82-e488-40e8-8096-b4d9c79bf58f 02754b94ca6c40f8b189a7d19b897e53 b5e1426408a048739a9f73841c9a2f09 - default default] [instance: 3ac51153-78ca-4127-9824-fcdce6768859] Setting instance to ERROR state.: nova.exception.MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 3ac51153-78ca-4127-9824-fcdce6768859.
nova-conductor.log:9:2022-12-09 08:47:14.827 1889 WARNING nova.scheduler.utils [req-12916e51-6ade-4b4e-9352-b66490ae0a31 02754b94ca6c40f8b189a7d19b897e53 b5e1426408a048739a9f73841c9a2f09 - default default] Failed to compute_task_build_instances: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 036d5473-8289-4d64-8a0a-c9f7b4888d52.: nova.exception.MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 036d5473-8289-4d64-8a0a-c9f7b4888d52.
nova-conductor.log:10:2022-12-09 08:47:14.827 1889 WARNING nova.scheduler.utils [req-12916e51-6ade-4b4e-9352-b66490ae0a31 02754b94ca6c40f8b189a7d19b897e53 b5e1426408a048739a9f73841c9a2f09 - default default] [instance: 036d5473-8289-4d64-8a0a-c9f7b4888d52] Setting instance to ERROR state.: nova.exception.MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 036d5473-8289-4d64-8a0a-c9f7b4888d52.
nova-conductor.log.1:263775:2022-12-08 17:06:49.585 1889 WARNING nova.scheduler.utils [req-ffa91e7d-297d-429a-b9ce-55898a4fc944 02754b94ca6c40f8b189a7d19b897e53 b5e1426408a048739a9f73841c9a2f09 - default default] Failed to compute_task_build_instances: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 5c93621f-039d-4a38-b210-2976d472d370.: nova.exception.MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 5c93621f-039d-4a38-b210-2976d472d370.
nova-conductor.log.1:263776:2022-12-08 17:06:49.586 1889 WARNING nova.scheduler.utils [req-ffa91e7d-297d-429a-b9ce-55898a4fc944 02754b94ca6c40f8b189a7d19b897e53 b5e1426408a048739a9f73841c9a2f09 - default default] [instance: 5c93621f-039d-4a38-b210-2976d472d370] Setting instance to ERROR state.: nova.exception.MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 5c93621f-039d-4a38-b210-2976d472d370.

在 nova-conductor.log ,conductor 的意思是 合唱队的指挥

OpenStack 创建虚拟机错误:Exceeded maximum number of retries. Exhausted all hosts available for retrying bui相关推荐

  1. Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures

    openstack创建实例时报错: Exceeded maximum number of retries. Exhausted all hosts available for retrying bui ...

  2. openstack创建实例报错Exceeded maximum number of retries

    Error: 实例 "vm2" 执行所请求操作失败,实例处于错误状态.: 请稍后再试 [错误: Exceeded maximum number of retries. Exceed ...

  3. Exceeded maximum number of retries. Exceeded max scheduling attempts 3 for instance

    Exceeded maximum number of retries. Exceeded max scheduling attempts 3 for instance

  4. Ora-24067: exceeded maximum number of subscribers for queue

    Ora-24067: exceeded maximum number of subscribers for queue sys.scheduler$event_queue 这种问题是队列满了,找到队列 ...

  5. passwd: Have exhausted maximum number of retries for servic、ssh用普通用户登录输入密码正确但是登录却提示被拒绝问题解决,su到root报错

    文章目录 passwd: Have exhausted maximum number of retries for servic 场景说明 问题解决 场景1 场景2 [万能方法] ssh用普通用户登录 ...

  6. xcode工程编译错误:The maximum number of apps for free development profiles has been reached.

    真机调试免费App ID出现的问题 The maximum number of apps for free development profiles has been reached. 免费应用程序调 ...

  7. openstack 创建虚拟机后,虚拟机启动hang在cpu 检测

    显示信息:AMD  Processor,this hardware has not undergone upstream testing 原因: 虚拟机内的cpu类型与驱动兼容性问题导致 解决方法: ...

  8. nova 创建虚拟机流程

    1   Nova创建虚机流程 Openstack创建虚拟机的整个流程如图1所示.前端horizon发送创建虚机的请求之后,novaapi接收请求,并作处理,详见1.1节.注:Nova schedule ...

  9. openstack windows虚拟机声卡问题

    在使用openstack创建虚拟机后,一开始并未发现声音设备,于是在代码中强制加了一个声卡设备 diff -aruN nova-2015.1.0.org/nova/virt/libvirt/confi ...

最新文章

  1. c 传入易语言字节,易语言字节集参数传递详解
  2. oracle 内置函数(三)日期函数
  3. 软件工程结对作业02
  4. flink source 同步_如何生成 Flink 作业的交互式火焰图?
  5. boost::gil::channel_type用法的测试程序
  6. 无线传感器主要应用领域及发展趋势
  7. 鸿蒙手表esim,鸿蒙手表终于来了!或将支持 eSIM,实现独立通话
  8. Vue 切换路由后页面回到页面顶部
  9. 使用Python快速获取公众号文章定制电子书(一)
  10. 20190823:(leetcode习题)实现 strStr()
  11. Error:java: Invalid additional meta-data in ‘META-INF/spring-configuration-metadata.json‘: End of in
  12. frist Django app — 一、 创建工程
  13. 如何搭建自己的第四方支付平台?
  14. Latex表格线宽修改方法以及内容左对齐。
  15. linux怎么添加拼音输入法,ubuntu如何安装中文输入法
  16. 一文搞懂地域和可用区如何选择
  17. iOS自带地图纠偏问题
  18. 对象的发布与逸出简单理解
  19. 怎么人像抠图?这几种抠图方法一看就会
  20. html5怎么创建列分区,使用分区助手创建新分区

热门文章

  1. 训练赛《眼不见,心不烦,理不乱》题解
  2. 冒险者传说pc6java_我的世界之冒险者传说
  3. C++演示无向图的广度遍历和深度遍历
  4. mysql00257_ORA-00257错误处理方法
  5. Window的CMD命令窗口下MongoDB
  6. 解决Windows下_findnext()异常
  7. IT项目管理个人作业5
  8. 2015,我依然幸福生活在北师大的2015
  9. 鹅厂7年终有离开之日,记离职鹅厂最后30天的真实心路历程
  10. 计算机专业 845,浙江工商大学2020年考研845计算机基础综合考试大纲