Skip to content

Commit 4891a21

Browse files
committed
Docs: update RabbitMQ HA instructions
``kolla-ansible genconfig`` includes some tasks [1] that require containers to still be running. Move the config generation to be done before containers are stopped. Also make it clearer that containers should not be restarted with the new config until after RabbitMQ state has been reset. 1. https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/octavia/tasks/get_resources_info.yml#L2 Change-Id: I1d4fc32e5963a8e8fa4a8fc7c467cadf0f26fd5f (cherry picked from commit 44aa76c)
1 parent 973d37f commit 4891a21

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

doc/source/reference/message-queues/rabbitmq.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,18 +134,19 @@ additional steps needed to migrate from transient to durable queues.
134134
Bobcat release. This means that you will also need to perform this migration
135135
before a SLURP upgrade to Caracal.
136136

137-
1. Stop all OpenStack services which use RabbitMQ, so that they will not
138-
attempt to recreate any queues yet.
137+
1. Generate the new config for all services. After this, make sure not to
138+
restart any containers until after the RabbitMQ state has been reset.
139139

140140
.. code-block:: console
141141
142-
kolla-ansible stop --tags <service-tags>
142+
kolla-ansible genconfig
143143
144-
2. Generate the new config for all services.
144+
2. Stop all OpenStack services which use RabbitMQ, so that they will not
145+
attempt to recreate any queues yet.
145146

146147
.. code-block:: console
147148
148-
kolla-ansible genconfig
149+
kolla-ansible stop --tags <service-tags>
149150
150151
3. Reconfigure RabbitMQ if you are using
151152
``om_enable_rabbitmq_high_availability``.

0 commit comments

Comments
 (0)