From a5c6cfab44616ca8e09cfef76d0bdaceaebd82bc Mon Sep 17 00:00:00 2001 From: Omkar Telee Date: Mon, 5 Jun 2017 13:07:27 +0000 Subject: [PATCH] Updated 'transport_url' details for RabbitMQ HA In OpenStack HA guide, we used to configure 'rabbit_hosts' parameter before Newton release. From Newton onwards, this parameter is deprecated and now 'transport_url' parameter is being used. Updated the same for shared messaging page. Also, added a link for oslo messaging page for more details regarding Transport URL. Change-Id: Ie93b199b78d3fe16c01eb4346fb14adee443ccf7 Closes-Bug: #1687402 --- doc/ha-guide/source/shared-messaging.rst | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/doc/ha-guide/source/shared-messaging.rst b/doc/ha-guide/source/shared-messaging.rst index b9a26159e3..44e9302b02 100644 --- a/doc/ha-guide/source/shared-messaging.rst +++ b/doc/ha-guide/source/shared-messaging.rst @@ -229,11 +229,17 @@ Configure the OpenStack components to use at least two RabbitMQ nodes. Use these steps to configurate all services using RabbitMQ: -#. RabbitMQ HA cluster ``host:port`` pairs: +#. RabbitMQ HA cluster Transport URL using ``[user:pass@]host:port`` format: - .. code-block:: console + .. code-block:: ini - rabbit_hosts=rabbit1:5672,rabbit2:5672,rabbit3:5672 + transport_url = rabbit://RABBIT_USER:RABBIT_PASS@rabbit1:5672, + RABBIT_USER:RABBIT_PASS@rabbit2:5672,RABBIT_USER:RABBIT_PASS@rabbit3:5672 + + Replace ``RABBIT_USER`` with RabbitMQ username and ``RABBIT_PASS`` with + password for respective RabbitMQ host. For more information, see + `oslo messaging transport + `_. #. Retry connecting with RabbitMQ: