Pass region for nova and ceilometer
This patch make sure _param:openstack_region passed in current
existed classes for nova and ceilometer
Change-Id: Icb388c17590cf6405f73d3bf41729b3b6fea2058
diff --git a/ceilometer/agent/cluster.yml b/ceilometer/agent/cluster.yml
index 135dbe8..820249b 100644
--- a/ceilometer/agent/cluster.yml
+++ b/ceilometer/agent/cluster.yml
@@ -14,6 +14,7 @@
tenant: service
user: ceilometer
password: ${_param:keystone_ceilometer_password}
+ region: ${_param:openstack_region}
message_queue:
engine: rabbitmq
members:
diff --git a/ceilometer/server/cluster.yml b/ceilometer/server/cluster.yml
index 6f8d3f8..d9d78e6 100644
--- a/ceilometer/server/cluster.yml
+++ b/ceilometer/server/cluster.yml
@@ -24,6 +24,7 @@
tenant: service
user: ceilometer
password: ${_param:keystone_ceilometer_password}
+ region: ${_param:openstack_region}
message_queue:
engine: rabbitmq
members:
diff --git a/nova/compute/single.yml b/nova/compute/single.yml
index 786e792..67c329d 100644
--- a/nova/compute/single.yml
+++ b/nova/compute/single.yml
@@ -68,6 +68,7 @@
password: ${_param:keystone_nova_password}
tenant: service
protocol: ${_param:cluster_internal_protocol}
+ region: ${_param:openstack_region}
message_queue:
engine: rabbitmq
host: ${_param:control_address}
@@ -85,6 +86,7 @@
host: ${_param:control_address}
port: 9696
protocol: ${_param:cluster_internal_protocol}
+ region: ${_param:openstack_region}
cache:
engine: memcached
members:
diff --git a/nova/control/single.yml b/nova/control/single.yml
index ca21d05..07a3b01 100644
--- a/nova/control/single.yml
+++ b/nova/control/single.yml
@@ -15,7 +15,9 @@
host: ${_param:single_address}
identity:
protocol: ${_param:cluster_internal_protocol}
+ region: ${_param:openstack_region}
network:
protocol: ${_param:cluster_internal_protocol}
+ region: ${_param:openstack_region}
glance:
protocol: ${_param:cluster_internal_protocol}