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/ceilometer/server/cluster.yml b/ceilometer/server/cluster.yml
index 485eda2..47233c0 100644
--- a/ceilometer/server/cluster.yml
+++ b/ceilometer/server/cluster.yml
@@ -36,6 +36,8 @@
message_queue:
port: ${_param:openstack_rabbitmq_port}
engine: rabbitmq
+ use_vip_address: ${_param:openstack_rabbitmq_standalone_mode}
+ host: ${_param:openstack_message_queue_address}
members:
- host: ${_param:openstack_message_queue_node01_address}
- host: ${_param:openstack_message_queue_node02_address}
diff --git a/ceilometer/server/single.yml b/ceilometer/server/single.yml
index eeadcc0..9ab0316 100644
--- a/ceilometer/server/single.yml
+++ b/ceilometer/server/single.yml
@@ -18,6 +18,8 @@
host: ${_param:stacklight_monitor_address}
port: 9200
message_queue:
+ use_vip_address: ${_param:openstack_rabbitmq_standalone_mode}
+ host: ${_param:openstack_message_queue_address}
port: ${_param:openstack_rabbitmq_port}
x509:
enabled: ${_param:openstack_rabbitmq_x509_enabled}
diff --git a/ceilometer/server/telemetry/cluster.yml b/ceilometer/server/telemetry/cluster.yml
index 9ee78ef..07bcdf6 100644
--- a/ceilometer/server/telemetry/cluster.yml
+++ b/ceilometer/server/telemetry/cluster.yml
@@ -30,6 +30,8 @@
region: ${_param:openstack_region}
protocol: ${_param:cluster_internal_protocol}
message_queue:
+ use_vip_address: ${_param:openstack_rabbitmq_standalone_mode}
+ host: ${_param:openstack_message_queue_address}
port: ${_param:openstack_rabbitmq_port}
engine: rabbitmq
members:
diff --git a/ceilometer/server/telemetry/single.yml b/ceilometer/server/telemetry/single.yml
index 1724277..8b0cc0e 100644
--- a/ceilometer/server/telemetry/single.yml
+++ b/ceilometer/server/telemetry/single.yml
@@ -7,6 +7,8 @@
server:
role: ${_param:openstack_node_role}
message_queue:
+ use_vip_address: ${_param:openstack_rabbitmq_standalone_mode}
+ host: ${_param:openstack_message_queue_address}
port: ${_param:openstack_rabbitmq_port}
x509:
enabled: ${_param:openstack_rabbitmq_x509_enabled}