分享

创建实例错误,求大神看看

648423231 发表于 2017-5-4 09:59:20 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 4 5287
root@hpyf:/home/huapuyifang# tail -f /var/log/nova/nova-compute.log
2017-05-04 09:55:48.226 21553 ERROR oslo.messaging._drivers.impl_rabbit [req-0476cf00-e9fd-4ced-8872-c176b0e17b06 ] AMQP server 192.168.1.3:5672 closed the connection. Check login credentials: Socket closed
2017-05-04 09:56:18.254 21553 INFO oslo.messaging._drivers.impl_rabbit [req-0476cf00-e9fd-4ced-8872-c176b0e17b06 ] Delaying reconnect for 1.0 seconds...
2017-05-04 09:56:19.257 21553 INFO oslo.messaging._drivers.impl_rabbit [req-0476cf00-e9fd-4ced-8872-c176b0e17b06 ] Connecting to AMQP server on 192.168.1.3:5672
2017-05-04 09:56:22.265 21553 ERROR oslo.messaging._drivers.impl_rabbit [req-0476cf00-e9fd-4ced-8872-c176b0e17b06 ] AMQP server 192.168.1.3:5672 closed the connection. Check login credentials: Socket closed
2017-05-04 09:56:52.293 21553 INFO oslo.messaging._drivers.impl_rabbit [req-0476cf00-e9fd-4ced-8872-c176b0e17b06 ] Delaying reconnect for 1.0 seconds...
2017-05-04 09:56:53.294 21553 INFO oslo.messaging._drivers.impl_rabbit [req-0476cf00-e9fd-4ced-8872-c176b0e17b06 ] Connecting to AMQP server on 192.168.1.3:5672
2017-05-04 09:56:56.302 21553 ERROR oslo.messaging._drivers.impl_rabbit [req-0476cf00-e9fd-4ced-8872-c176b0e17b06 ] AMQP server 192.168.1.3:5672 closed the connection. Check login credentials: Socket closed
2017-05-04 09:57:26.330 21553 INFO oslo.messaging._drivers.impl_rabbit [req-0476cf00-e9fd-4ced-8872-c176b0e17b06 ] Delaying reconnect for 1.0 seconds...
2017-05-04 09:57:27.332 21553 INFO oslo.messaging._drivers.impl_rabbit [req-0476cf00-e9fd-4ced-8872-c176b0e17b06 ] Connecting to AMQP server on 192.168.1.3:5672
2017-05-04 09:57:30.344 21553 ERROR oslo.messaging._drivers.impl_rabbit [req-0476cf00-e9fd-4ced-8872-c176b0e17b06 ] AMQP server 192.168.1.3:5672 closed the connection. Check login credentials: Socket closed
2017-05-04 09:58:00.372 21553 INFO oslo.messaging._drivers.impl_rabbit [req-0476cf00-e9fd-4ced-8872-c176b0e17b06 ] Delaying reconnect for 1.0 seconds...
2017-05-04 09:58:01.374 21553 INFO oslo.messaging._drivers.impl_rabbit [req-0476cf00-e9fd-4ced-8872-c176b0e17b06 ] Connecting to AMQP server on 192.168.1.3:5672
2017-05-04 09:58:04.388 21553 ERROR oslo.messaging._drivers.impl_rabbit [req-0476cf00-e9fd-4ced-8872-c176b0e17b06 ] AMQP server 192.168.1.3:5672 closed the connection. Check login credentials: Socket closed


已有(4)人评论

跳转到指定楼层
easthome001 发表于 2017-5-4 10:24:35
应该是token出问题了。
回复

使用道具 举报

648423231 发表于 2017-5-4 10:29:46
easthome001 发表于 2017-5-4 10:24
应该是token出问题了。

那应该怎么调试呢
回复

使用道具 举报

nextuser 发表于 2017-5-4 14:11:40
648423231 发表于 2017-5-4 10:29
那应该怎么调试呢

这原因太多了。楼主需一一验证
1.加入token的问题,可以重新source一下。然后在执行。
2.也可能rabitmq的版本的问题
3.检测nova.conf中配置,下面只是例子。需要找到对应版本
##### RABBITMQ #####
rabbit_userid=guest
rabbit_password=mypass
rabbit_virtual_host=..
rabbit_host=10.0.1.60
rabbit_port=5672
rabbit_use_ssl=false

特别是hostname的修改,会造成楼主的错误。
回复

使用道具 举报

zhanghong 发表于 2017-5-5 12:33:33
原因多,内存,磁盘空间,网络是不是通,我磁盘空间少己解决,镜像大等
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条