Defined `use_vip_address` and `host` fields to `message_queue` section.
Keystone, Glance, Heat, Nova, Neutron, Cinder,
Ironic, Barbican, Aodh, Ceilometer, Designate,
Manila, Murano, Octavia, Sahara
are able to switched to rabbit VIP address.
This changes allows to switch Openstack components
to Rabbitmq VIP address.
Related-Prod: PROD-32458
Change-Id: I0dc0b6ad3ea1fc1ad9b11f70bdabf554eee7e0a8
Depends-On: https://gerrit.mcp.mirantis.com/#/c/89748/
diff --git a/designate/server/cluster/default.yml b/designate/server/cluster/default.yml
index 9656bc9..2b1cbf6 100644
--- a/designate/server/cluster/default.yml
+++ b/designate/server/cluster/default.yml
@@ -58,6 +58,8 @@
api:
address: ${_param:single_address}
message_queue:
+ use_vip_address: ${_param:openstack_rabbitmq_standalone_mode}
+ host: ${_param:openstack_message_queue_address}
engine: rabbitmq
port: ${_param:openstack_rabbitmq_port}
members:
diff --git a/designate/server/cluster/simple.yml b/designate/server/cluster/simple.yml
index 55998d5..e160aa4 100644
--- a/designate/server/cluster/simple.yml
+++ b/designate/server/cluster/simple.yml
@@ -54,6 +54,8 @@
api:
address: ${_param:single_address}
message_queue:
+ use_vip_address: ${_param:openstack_rabbitmq_standalone_mode}
+ host: ${_param:openstack_message_queue_address}
engine: rabbitmq
port: ${_param:openstack_rabbitmq_port}
members:
diff --git a/designate/server/single.yml b/designate/server/single.yml
index 8f07ffb..792294f 100644
--- a/designate/server/single.yml
+++ b/designate/server/single.yml
@@ -53,7 +53,8 @@
protocol: ${_param:internal_protocol}
message_queue:
engine: rabbitmq
- host: ${_param:cluster_vip_address}
+ use_vip_address: ${_param:openstack_rabbitmq_standalone_mode}
+ host: ${_param:openstack_message_queue_address}
port: ${_param:openstack_rabbitmq_port}
user: openstack
password: ${_param:rabbitmq_openstack_password}