summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/ceilometer_compute/templates/ceilometer.j2
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2015-12-24 11:08:14 +0800
committercarey.xu <carey.xuhan@huawei.com>2015-12-24 11:08:14 +0800
commit8e4418400bd3a45b751dc5a8867a0a53a9290ef8 (patch)
tree447d13b94f68d7e1aabe3ce586e819cf033ea2c0 /deploy/adapters/ansible/roles/ceilometer_compute/templates/ceilometer.j2
parent6447ed5fe06bba5b973ba673780235d33c909302 (diff)
bugfix: compass4nfv support ceilometer
JIRA: COMPASS-53 Change-Id: Ibc4203074009bdbde5d29849538e0a0bebb832bb Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/ceilometer_compute/templates/ceilometer.j2')
-rw-r--r--deploy/adapters/ansible/roles/ceilometer_compute/templates/ceilometer.j213
1 files changed, 13 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/ceilometer_compute/templates/ceilometer.j2 b/deploy/adapters/ansible/roles/ceilometer_compute/templates/ceilometer.j2
index 716317da..ee78de01 100644
--- a/deploy/adapters/ansible/roles/ceilometer_compute/templates/ceilometer.j2
+++ b/deploy/adapters/ansible/roles/ceilometer_compute/templates/ceilometer.j2
@@ -1,6 +1,9 @@
[DEFAULT]
verbose = True
rpc_backend = rabbit
+auth_strategy = keystone
+
+[oslo_messaging_rabbit]
rabbit_host = {{ internal_vip.ip }}
rabbit_userid = {{ RABBIT_USER }}
rabbit_password = {{ RABBIT_PASS }}
@@ -8,6 +11,16 @@ rabbit_password = {{ RABBIT_PASS }}
[publisher]
metering_secret = {{ metering_secret }}
+[keystone_authtoken]
+auth_uri = http://{{ internal_vip.ip }}:5000
+auth_url = http://{{ internal_vip.ip }}:35357
+auth_plugin = password
+project_domain_id = default
+user_domain_id = default
+project_name = service
+username = ceilometer
+password = {{ CEILOMETER_PASS }}
+
[service_credentials]
os_auth_url = http://{{ internal_vip.ip }}:5000/v2.0
os_username = ceilometer