启动nova-compute不成功报错AMQP server controller:5672

2017-11-16 09:12:56.371 11097 ERROR oslo.messaging._drivers.impl_rabbit [req-e51e02c5-a513-423f-8fe8-657bb71d4e48 - - - - -] AMQP server controller:5672 closed the connection. Check login credentials: Socket closed

2017-11-16 09:13:03.395 11097 ERROR oslo.messaging._drivers.impl_rabbit [req-e51e02c5-a513-423f-8fe8-657bb71d4e48 - - - - -] AMQP server controller:5672 closed the connection. Check login credentials: Socket closed


nova-compute.log错误日志一直报错AMQP server controller:5672 closed the connection. 

AMQP服务器控制器:5672关闭连接


5672是rabbitmq的端口,遇到这种情况仔细检查配置文件nova.conf下的[oslo_messaging_rabbit]配置

检查密码是否有误,如果不能确定密码就直接卸载rabbitmq-server重新安装


先卸载

yum remove rabbitmq-server

安装
yum install rabbitmq-server

启动
systemctl enable rabbitmq-server.service  
systemctl start rabbitmq-server.service

添加用户
[root@compute ~]# rabbitmqctl add_user openstack 123456  
Creating user "openstack" ......done.

设置权限
[root@compute ~]# rabbitmqctl set_permissions openstack ".*" ".*" ".*"
Setting permissions for user "openstack" in vhost "/" ......done.


你可能感兴趣的:(OpenStack错误整理)