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=)
另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
网站标题:openstack基础云虚拟机重装报错处理过程-创新互联
网页URL:http://abwzjs.com/article/jsccj.html