Skip to content

Instantly share code, notes, and snippets.


  • Massachusetts
Block or report user

Report or block satishdotpatel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
satishdotpatel / gist:9f11c54e86cb0f3ad59d5feac1827b1f
Created Mar 11, 2020
openstack-ansible rebuild rabbitmq cluster
View gist:9f11c54e86cb0f3ad59d5feac1827b1f
========> This is what i did to rebuild RabbitMQ cluster for Openstack-ansible <===============
1. stop all services on 3 rabbitmq containers, if it fail then kill -9 but clean up all the existing process.
2. yum remove rabbitmq-server (remove package)
3. rm -rf /var/lib/rabbitmq/mnesia/* (remove all dirty files)
4. ssh ostack-osa (ansible host)
5. cd /opt/openstack-ansible/playbooks/
6. openstack-ansible rabbitmq-install.yml -e rabbitmq_upgrade=true (It will install fresh new cluster)
7. After successfully installation verify cluster (rabbitmqctl cluster_status)
8. You need to re-create queue for each services (nova, neutron, glance, heat)
satishdotpatel /
Last active Mar 11, 2020
rabbitmq create queue after rebuilding cluster from scratch
#!/usr/bin/env bash
# After rebuilding rabbitmq cluster on openstack-ansible following script will help to create queues.
You can’t perform that action at this time.