故障现象:openstack-nova 计算节点 systemctl openstack-nova-compute.service 开启失败
systemctl start libvirtd.service openstack-nova-compute.service
Job for openstack-nova-compute.service failed because the control process exited with error code. See "systemctl status openstack-nova-compute.service" and "journalctl -xe" for details.
解决方案:
1.查看控制节点 rabbitmq日志/var/log/rabbitmq/rabbit@ct.log
rabbitmq 认证无效
2.重新配置rabbitmq-openstack 认证
rabbitmqctl add_user openstack RABBIT_PASS
#创建消息队列用户,用于controler和计算节点连接rabbitmq的认证(关联)
rabbitmqctl set_permissions openstack ".*" ".*" ".*"
#配置openstack用户的操作权限(正则,配置读写权限)
systemctl enable rabbitmq-server.service
systemctl start rabbitmq-server.service
计算节点开启成功
控制节点rabbitmq日志 变成 成功认证的语句