OpenStack: Difference between revisions

Content added Content deleted
Line 114: Line 114:


= Troubleshooting =
= Troubleshooting =

* RabbitMQ Troubleshooting

Check if RabbitMQ is running or not:
rabbitmqctl status
rabbitmqctl environment

Check if any crash file exists here:
cd /var/lib/rabbitmq/

Restart the RabbitMQ service on the first controller node:
service rabbitmq-server stop
service rabbitmq-server start

If the service refuses to stop, then run the pkill command to stop the service, then restart the service:
pkill -KILL -u rabbitmq
service rabbitmq-server start

Verify RabbitMQ processes are running:
ps -ef | grep rabbitmq
rabbitmqctl list_queues
rabbitmqctl list_queues 2>&1 | grep -i error

If there are errors, run the cluster_status command to make sure there are no partitions:
rabbitmqctl cluster_status