rabbitmq Error unable to connect to node rabbit@localhost nodedown

  1. 打开openstack报错,Error:Unable to retrieve instances. image
    猜想肯定是neutron的错误,查询neutron状态,果然没有起,手动启动也报错 image image

  2. 查询neutron日志 /var/log/neutron/server.log 有如下错误:

1
2
2015-05-25 10:09:08.489 7123 ERROR oslo_messaging._drivers.impl_rabbit [-] AMQP server on 172.16.37.211:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds.
2015-05-25 10:09:09.499 7123 DEBUG oslo_messaging._drivers.impl_rabbit [-] Received recoverable error from kombu: on_error /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_rabbit.py:790
  1. 启动RabbitMQ的报错 image

  2. 搜索关键字:Error: unable to connect to node rabbit@localhost: nodedown,找到如下解决方式

1
2
3
# systemctl enable rabbitmq-server.service
# systemctl start rabbitmq-server.service
# rabbitmqctl start_app

成功启动rabbitmq

  1. 启动neutrou-server,openstack恢复正常
1
# systemctl start neutron-server.service
一个默默无闻的工程师的日常
Built with Hugo
主题 StackJimmy 设计