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端口发现端口正常开启

[[email protected] ~(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

[[email protected] ~(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=)

原文地址:https://blog.51cto.com/11620628/2430243

时间: 2024-08-05 13:57:07

openstack基础云虚拟机重装报错处理过程的相关文章

flashftp连接虚拟机centos报错的解决方法

flashftp连接虚拟机centos报错,一般情况可能是因为端口(22)的权限没有开放 先在centos中检查并开放22端口,执行:iptables -I INPUT -p tcp --dport 22 -j ACCEPT 如果没有问题,应该是正常执行,等待下一个命令,如: 下面再重新打开flashfxp,选择连接类型为:SFTP SSH 输入站点名称,可自定义输入.下面地址.用户名称和密码为Centos服务器的资料,不能有误,否则链接不上服务器. 输入完成信息后,点击连接

CentOS6.x中vmware workstation 虚拟机启动报错:Could not open /dev/vmmon

最初安装报错,但是界面可以打开,可以正常安装,但是安装过后,启动报错 Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so:cannot open shared object file: No such file or directory Gtk-Message: Failed to load module "pk-gtk-module": libpk-

VM虚拟机启动报错Reason Failed to lock the file怎么办

VMware启动报错Reason: Failed to lock the file的解决方法 症状:  启动VMware虚拟机的时候出现了Cannot open the disk '*.vmdk' or one of the snapshot disks it depends on.Reason: Failed to lock the file.的错误. 解决办法一: 1.在VMware该虚拟机路径下的所有.lck文件和文件夹下删除或迁移至其它目录,一般就可以解决了. 2.如果再次启动VMwar

The difference between the request time and the current time is too large.阿里云oss上传图片报错

The difference between the request time and the current time is too large. 阿里云oss上传图片的时候报错如上, 解决办法,把系统时间自动同步成对应的时区的时间.

【angularjs基础】ng-repeat嵌套循环报错angular.min.js:89 Error: [ngRepeat:dupes]

再写嵌套循环的时候,提示一个错误 angular.min.js:89 Error: [ngRepeat:dupes] 代码如下 <table class="GridViewTable mtop5px " style="margin-top: 15px;" id="tabVipHallRegisterList" ng-app="" ng-controller="JSJ.CRM.AppFeedBackList.Re

通过ssh远程执行命令导入定时任务报错----解决过程

今天在服务器中通过ssh远程执行批量导入定时任务时发生了一个问题:总结如下,远程服务器已设置好ssh秘钥登录,登录用户为普通用户,但已设置好拥有免密sudo权限ssh 1.1.1.1 "sudo su -c "echo '30 5 * * 5 /bin/sh /root/log.sh > /dev/null 2>&1'>>/var/spool/cron/root""没有报错,但是远程机器上并没有定时任务命令没错,第一直觉就是觉得可能是

Apache awstats安装报错解决过程适合初学者

** awstats 下载地址:https://jaist.dl.sourceforge.net/project/awstats/AWStats/7.0/awstats-7.0.tar.gz报错情况(已经完成)这是网页访问报错: 日志报错首先我的报错是这样子的.解决方法:第一:防火墙增加80端口允许通过策略-A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT 将策略添加至/etc/sysconfig/iptables 文

oracle rac 安装 PRVG-13606 ntp 同步报错解决过程

oracle ntp 检查报错 ./runcluvfy.sh stage -pre crsinst -n oracle57,oracle58 -verbose [10:06:58]Verifying Network Time Protocol (NTP) ...FAILED[10:06:58]PRVG-1063 : configuration files for more than one time synchronization service[10:06:58]were found on n

Oracle ORA 12541 报错解决过程

? ? ? ? Oracle 导入全库之后使用plsql登陆时报错 ? ? 版本12C版本2 ? ? ORA-12541:?TNS:?No?Listener ? ? ? ? ? ? 再oracle主机本地可以使用sqlplus 登陆,但是使用plsql无法登陆,报错如上. ? ? 首先考虑是防火墙问题,查看防火墙和selinux均为关闭状态 ? ? 然后查看监听状态 查看 监听状态的命令为首先使用oracle 用户登陆操作系统,命令lsnrctl 进入监听程序,关键status 查看监听状态 ?