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
网站的建设成都创新互联公司专注网站定制,经验丰富,不做模板,主营网站定制开发.小程序定制开发,H5页面制作!给你焕然一新的设计体验!已为成都发电机维修等企业提供专业服务。
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查看,机器正在启动中
![](/upload/otherpic66/57046.jpg)
网页题目:openstack基础云虚拟机重装报错处理过程
转载源于:http://azwzsj.com/article/jpepjc.html