1.
root@controller2:~# nova service-list
+----+------------------+-------------+----------+---------+-------+------------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+------------------+-------------+----------+---------+-------+------------+-----------------+
| 1 | nova-cert | controller2 | internal | enabled | down | - | - |
| 2 | nova-consoleauth | controller2 | internal | enabled | down | - | - |
| 3 | nova-scheduler | controller2 | internal | enabled | down | - | - |
| 4 | nova-conductor | controller2 | internal | enabled | down | - | - |
+----+------------------+-------------+----------+---------+-------+------------+-----------------+
可以看到,nova-cert等组件已经down了~
解决办法:
cd /etc/rabbitmq/
vim rabbitmq.config
添加内容如下:
[rabbit,[{loopback_users,[]}]}].
然后,重启
service rabbitmq-server restart
结果如下:
root@controller2:/etc/rabbitmq# nova service-list
+----+------------------+-------------+----------+---------+-------+----------------------------+----------------
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+------------------+-------------+----------+---------+-------+----------------------------+----------------
| 1 | nova-cert | controller2 | internal | enabled | up | 2014-11-15T13:26:21.000000 | -
| 2 | nova-consoleauth | controller2 | internal | enabled | up | 2014-11-15T13:26:23.000000
| 3 | nova-scheduler | controller2 | internal | enabled | up | 2014-11-15T13:26:17.000000
| 4 | nova-conductor | controller2 | internal | enabled | up | 2014-11-15T13:26:24.000000
+----+------------------+-------------+----------+---------+-------+----------------------------+----------------
原文地址:http://lbs1991.blog.51cto.com/9134853/1576981