Fix transport_url with multiple rabbit servers

When RabbitMQ is deployed in HA mode the transport_url parameter of
masakari must reference all RabbitMQ instances. Previously it
referenced only one. Now uses the configuration from the base OpenStack
layer

Closes-Bug: #1950331
Change-Id: Iea9d4f2484b82c22939a258e7f9faa3030a9bd1e
This commit is contained in:
Jorge Merlino 2021-11-29 11:02:54 -03:00
parent 3679b8811f
commit 4fe9f39585
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ debug = {{ options.debug }}
auth_strategy = keystone
{% if amqp.password -%}
transport_url = rabbit://masakari:{{ amqp.password }}@{{ amqp.host }}:5672/masakari
{% include "parts/section-transport-url" %}
{% endif -%}
os_user_domain_name = {{ identity_service.service_domain }}

View File

@ -5,7 +5,7 @@ auth_strategy = keystone
notification_driver=taskflow_driver
{% if amqp.password -%}
transport_url = rabbit://masakari:{{ amqp.password }}@{{ amqp.host }}:5672/masakari
{% include "parts/section-transport-url" %}
{% endif -%}
os_user_domain_name = {{ identity_service.service_domain }}