Browse code

Have ceilometer to respect the keystone settings

lib/ceilometer ignored the global settings related to keystone settings.

It can cause issues for example when the keystone does not listen on
127.0.0.1 even in single node deployment.

Change-Id: I6e4654daa2ec624ac11aaf7f49495fcfaa72071d

Attila Fazekas authored on 2014/02/02 17:38:05
Showing 1 changed files
... ...
@@ -137,7 +137,9 @@ function configure_ceilometer() {
137 137
     iniset $CEILOMETER_CONF DEFAULT os_password $SERVICE_PASSWORD
138 138
     iniset $CEILOMETER_CONF DEFAULT os_tenant_name $SERVICE_TENANT_NAME
139 139
 
140
-    iniset $CEILOMETER_CONF keystone_authtoken auth_protocol http
140
+    iniset $CEILOMETER_CONF keystone_authtoken auth_host $KEYSTONE_AUTH_HOST
141
+    iniset $CEILOMETER_CONF keystone_authtoken auth_port $KEYSTONE_AUTH_PORT
142
+    iniset $CEILOMETER_CONF keystone_authtoken auth_protocol $KEYSTONE_AUTH_PROTOCOL
141 143
     iniset $CEILOMETER_CONF keystone_authtoken admin_user ceilometer
142 144
     iniset $CEILOMETER_CONF keystone_authtoken admin_password $SERVICE_PASSWORD
143 145
     iniset $CEILOMETER_CONF keystone_authtoken admin_tenant_name $SERVICE_TENANT_NAME