openstack基础云虚拟机重装报错处理过程

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了openstack基础云虚拟机重装报错处理过程相关的知识,希望对你有一定的参考价值。

场景:今天收到反馈,某个虚拟机重装失败,登陆控制节点查看,发现以下报错,特此记录处理过程。
报错:
"message": "Connection to glance host 10.12.220.139:9292 failed: Error finding address for http://10.12.220.139:9292/v1/images/86819d99-a189-422b-9fa3-077616544a8d: (‘Connection aborted.‘, error(110, ‘ETIMEDOUT‘))", "code": 500, "details": " File \"/root/openstack/src/nova/nova/compute/manager.py\", line 343, in decorated_function

 nova show 45050fef-1668-4890-b4a9-f73953a8352e| grep fault
 ‘import sitecustomize‘ failed; use -v for traceback
| fault                                | "message": "Connection to glance host 10.12.220.139:9292 failed: Error finding address for http://10.12.220.139:9292/v1/images/86819d99-a189-422b-9fa3-077616544a8d: (‘Connection aborted.‘, error(110, ‘ETIMEDOUT‘))", "code": 500, "details": "  File \"/root/openstack/src/nova/nova/compute/manager.py\", line 343, in decorated_function |
| security_groups                      | default

处理过程:
1、检查9292端口发现端口正常开启

[root@tj-mnet-aws01-con01 ~(keystone_admin)]$  ss -ntl | grep 9292
LISTEN     0      128    10.12.220.119:9292                     *:*                  
LISTEN     0      128    10.12.220.139:9292                     *:* 

2、由于刚改了防火墙,设置放通规则

iptables-save > /tmp/iptables-bak-0816;  iptables -I INPUT -p tcp --dport 9292 -j ACCEPT

验证处理结果:
命令手动重装:nova rebuild 45050fef-1668-4890-b4a9-f73953a8352e 86819d99-a189-422b-9fa3-077616544a8d

[root@tj-mnet-aws01-con01 ~(keystone_admin)]$ nova show 45050fef-1668-4890-b4a9-f73953a8352e|grep status
‘import sitecustomize‘ failed; use -v for traceback
| status | ACTIVE


VNC查看,机器正在启动中
![](https://s1.51cto.com/images/blog/201908/16/5685a1628a491f1222cdbea9f7999f7f.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)

以上是关于openstack基础云虚拟机重装报错处理过程的主要内容,如果未能解决你的问题,请参考以下文章

Mac Anaconda重装报错: Anaconda3 is already installed in /opt/anaconda3.

OpenStack删除物理主机后控制台报错处理

阿里云安装openstack报错

Ceph与OpenStack整合(仅为云主机提供云盘功能)

Ceph与OpenStack整合(仅为云主机提供云盘功能)

openstack queens 创建虚拟机报错总结