分享

Nova部署异常

goldisman 发表于 2016-8-14 15:30:41 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 2 9846
各位大侠,在部署Nova的时候遇到几个问题。
1.Nova服务启动后异常
root@control:~# nova-manage service list
Binary           Host                                 Zone             Status     State Updated_At
nova-cert        control                              internal         enabled    XXX   None      
nova-consoleauth control                              internal         enabled    XXX   None      
nova-scheduler   control                              internal         enabled    XXX   None      
nova-conductor   control                              internal         enabled    XXX   None  


2.报错日志
(1)nova-api.log中没有ERROR信息输出
(2)其它服务报错日志
root@control:/var/log/nova# tail nova-cert.log
2016-08-14 15:27:10.593 1467 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.
2016-08-14 15:27:40.637 1467 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672
2016-08-14 15:27:40.637 1467 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
2016-08-14 15:27:44.710 1467 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.
2016-08-14 15:28:14.730 1467 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672
2016-08-14 15:28:14.730 1467 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
2016-08-14 15:28:18.753 1467 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.
2016-08-14 15:28:48.782 1467 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672
2016-08-14 15:28:48.783 1467 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
2016-08-14 15:28:52.816 1467 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.
root@control:/var/log/nova# tail nova-conductor.log
2016-08-14 15:27:12.988 1742 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.
2016-08-14 15:27:43.027 1742 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672
2016-08-14 15:27:43.030 1742 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
2016-08-14 15:27:47.061 1742 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.
2016-08-14 15:28:17.080 1742 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672
2016-08-14 15:28:17.081 1742 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
2016-08-14 15:28:21.116 1742 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.
2016-08-14 15:28:51.123 1742 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672
2016-08-14 15:28:51.126 1742 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
2016-08-14 15:28:55.155 1742 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.
root@control:/var/log/nova# tail nova-consoleauth.log
2016-08-14 15:27:10.808 1470 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.
2016-08-14 15:27:40.835 1470 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672
2016-08-14 15:27:40.835 1470 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
2016-08-14 15:27:44.913 1470 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.
2016-08-14 15:28:14.927 1470 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672
2016-08-14 15:28:14.927 1470 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
2016-08-14 15:28:18.949 1470 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.
2016-08-14 15:28:48.961 1470 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672
2016-08-14 15:28:48.962 1470 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
2016-08-14 15:28:53.003 1470 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.
root@control:/var/log/nova# tail nova-scheduler.log
2016-08-14 15:27:44.540 1475 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.
2016-08-14 15:28:14.553 1475 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672
2016-08-14 15:28:14.554 1475 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
2016-08-14 15:28:18.577 1475 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.
2016-08-14 15:28:48.586 1475 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672
2016-08-14 15:28:48.587 1475 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
2016-08-14 15:28:52.619 1475 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.
2016-08-14 15:29:22.644 1475 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672
2016-08-14 15:29:22.645 1475 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
2016-08-14 15:29:26.686 1475 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.


(3)rabbitmq报错信息
root@control:/var/log/rabbitmq# tail -20 rabbit@control.log  
=ERROR REPORT==== 14-Aug-2016::15:32:51 ===
closing AMQP connection <0.673.0> (127.0.0.1:56449 -> 127.0.0.1:5672):
{handshake_error,starting,0,
                 {amqp_error,access_refused,
                             "AMQPLAIN login refused: user 'guest' - invalid credentials",
                             'connection.start_ok'}}

=ERROR REPORT==== 14-Aug-2016::15:32:51 ===
closing AMQP connection <0.676.0> (127.0.0.1:56450 -> 127.0.0.1:5672):
{handshake_error,starting,0,
                 {amqp_error,access_refused,
                             "AMQPLAIN login refused: user 'guest' - invalid credentials",
                             'connection.start_ok'}}

=ERROR REPORT==== 14-Aug-2016::15:32:53 ===
closing AMQP connection <0.679.0> (127.0.0.1:56451 -> 127.0.0.1:5672):
{handshake_error,starting,0,
                 {amqp_error,access_refused,
                             "AMQPLAIN login refused: user 'guest' - invalid credentials",
                             'connection.start_ok'}}


2.Nova list命令输出异常
root@control:~# nova list
ERROR: Malformed request URL: URL's project_id 'f95dd0cfd9d64089ae02bcabd106af59' doesn't match Context's project_id 'ceead2ab325446459297798c7dbaad8e' (HTTP 400) (Request-ID: req-aaac7577-981a-4bd6-ac00-6e3c44af5ac6)

(1)f95dd0cfd9d64089ae02bcabd106af59这个ID是租户adminTenant
(2)ceead2ab325446459297798c7dbaad8e这个ID不知道是什么的?每次都不一样



已有(2)人评论

跳转到指定楼层
arsenduan 发表于 2016-8-14 17:01:49
所有的进程都是同一个问题
AMQP通信有问题,检测下AMQP安装
回复

使用道具 举报

goldisman 发表于 2016-9-6 23:38:02
arsenduan 发表于 2016-8-14 17:01
所有的进程都是同一个问题
AMQP通信有问题,检测下AMQP安装

谢谢!
回复

使用道具 举报

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

本版积分规则

关闭

推荐上一条 /2 下一条