From 60282285bdc7d2833f38101aa4cbb6c992d3ce06 Mon Sep 17 00:00:00 2001 From: Matt Crees Date: Wed, 2 Aug 2023 16:30:31 +0100 Subject: Add command to force reset the state of RabbitMQ This command can be invoked with ``kolla-ansible rabbitmq-reset-state``. This is primarily designed to be used when enabling HA queues[1]. As such, this also updates the RabbitMQ documentation to use this command. [1] https://docs.openstack.org/kolla-ansible/latest/reference/message-queues/rabbitmq.html#high-availability Change-Id: I6ad95a3618fc1a34af56657ef99ef14dc979f17a --- tools/kolla-ansible | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tools') diff --git a/tools/kolla-ansible b/tools/kolla-ansible index 1bf6d8fbd..6331b85f8 100755 --- a/tools/kolla-ansible +++ b/tools/kolla-ansible @@ -193,6 +193,7 @@ Commands: gather-facts Gather Ansible facts post-deploy Do post deploy on deploy node pull Pull all images for containers (only pulls, no running container changes) + rabbitmq-reset-state Force reset the state of RabbitMQ reconfigure Reconfigure OpenStack service stop Stop Kolla containers certificates Generate self-signed certificate for TLS *For Development Only* @@ -241,6 +242,7 @@ deploy-servers gather-facts post-deploy pull +rabbitmq-reset-state reconfigure stop certificates @@ -567,6 +569,10 @@ EOF ACTION="Cleanup disabled nova_libvirt containers" PLAYBOOK="${BASEDIR}/ansible/nova-libvirt-cleanup.yml" ;; +(rabbitmq-reset-state) + ACTION="Force reset the state of RabbitMQ" + PLAYBOOK="${BASEDIR}/ansible/rabbitmq-reset-state.yml" + ;; (bash-completion) bash_completion exit 0 -- cgit v1.2.3