欢迎光临
我们一直在努力

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://cache.yisu.com/upload/information/20200309/33/57046.jpg?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)
赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。