分享

(灵异事件 )控制节点:nova service-list,缺少compute服务

jp58925465 发表于 2015-11-18 22:10:12 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 3 23576
问题比较奇葩,有点无法理解,我明明已经指定了rabbit_host = controller,可是......灵异了!!!!!!求大神解决!!!!!
root@controller:~# nova service-list
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary           | Host       | Zone     | Status  | State | Updated_at                 | Disabled Reason |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| 1  | nova-cert        | controller | internal | enabled | up    | 2015-11-18T14:02:23.000000 | -               |
| 2  | nova-consoleauth | controller | internal | enabled | up    | 2015-11-18T14:02:24.000000 | -               |
| 3  | nova-conductor   | controller | internal | enabled | up    | 2015-11-18T14:02:25.000000 | -               |
| 4  | nova-scheduler   | controller | internal | enabled | up    | 2015-11-18T14:02:25.000000 | -               |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
-------------------------------------------------------------------------------------------------------------------------------------------------------------
root@compute:~# vi /etc/nova/nova.conf
[oslo_messaging_rabbit]
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = RABBIT_PASS



root@compute:~# tail -10  /var/log/nova/nova-compute.log
2015-11-18 19:53:30.339 1633 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 30 seconds.
2015-11-18 19:54:00.376 1633 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672
2015-11-18 19:54:00.376 1633 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
2015-11-18 19:54:01.395 1633 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 30 seconds.
2015-11-18 19:54:31.421 1633 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672
2015-11-18 19:54:31.422 1633 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
2015-11-18 19:54:32.437 1633 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 30 seconds.
2015-11-18 19:55:02.487 1633 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672
2015-11-18 19:55:02.488 1633 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
2015-11-18 19:55:03.554 1633 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 30 seconds.



已有(3)人评论

跳转到指定楼层
nextuser 发表于 2015-11-18 22:35:57
哪个版本的,建议重新安装下,特别是密码,当然还有配置文件,很多地方都用到了。所以马虎不得

这是kilo版的
openstack【Kilo】入门 【准备篇】四:RabbitMQ 安装【控制节点】
http://www.aboutyun.com/thread-13069-1-1.html


如果上述确定没有问题。
需要从网络方面入手,看看防火墙,相互ping一下。

其实error有时候也会出现的,只要有通的说明是正确的。所以在往下面看看是否有正常的。

如果还是没有看看其他组件是否正常,这里的error影响了哪里的功能,然后从其它方面入手



回复

使用道具 举报

lmlm1234 发表于 2015-11-19 14:47:21
nova service-list,缺少compute服务
回复

使用道具 举报

Tansy 发表于 2015-12-3 15:06:05
回复的晚了, 不好意思,  我也遇到过同样的问题,将配置文件“rabbit_host = controller
rabbit_userid = openstack
rabbit_password = RABBIT_PASS” 这些信息修改在 [Default] 下 而非 [oslo_messaging_rabbit] 下就可以了,我的问题是这样解决的。
回复

使用道具 举报

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

本版积分规则

关闭

推荐上一条 /2 下一条