diff options
| author | Matt Crees <mattc@stackhpc.com> | 2023-08-02 16:30:31 +0100 |
|---|---|---|
| committer | Michal Nasiadka <mnasiadka@gmail.com> | 2023-08-25 10:09:58 +0000 |
| commit | 60282285bdc7d2833f38101aa4cbb6c992d3ce06 (patch) | |
| tree | cb24fc638b92041123e57fc80b03a35c70aaff55 /tools | |
| parent | d1a52b58165bbde56381b1d553c242c36eeebc17 (diff) | |
| download | kolla-ansible-60282285bdc7d2833f38101aa4cbb6c992d3ce06.tar.gz kolla-ansible-60282285bdc7d2833f38101aa4cbb6c992d3ce06.zip | |
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
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/kolla-ansible | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
