Browse code

Remove trailing slash from ceilometer endpoint URLs

Fixes bug 1146794

Ensure the URLs configured for the ceilometer endpoint in the keystone
service catalog do not contain a trailing forward slash.

Otherwise, this leads to an extra forward slash in the URL paths
constructed by the ceilometer client, which in turn is problematic
for the v2 API.

Change-Id: I7d457efc6e01e4e955388f52a4907524052f0173

Eoghan Glynn authored on 2013/03/05 21:40:59
Showing 1 changed files
... ...
@@ -168,9 +168,9 @@ if [[ "$ENABLED_SERVICES" =~ "ceilometer" ]]; then
168 168
         keystone endpoint-create \
169 169
             --region RegionOne \
170 170
             --service_id $CEILOMETER_SERVICE \
171
-            --publicurl "http://$SERVICE_HOST:8777/" \
172
-            --adminurl "http://$SERVICE_HOST:8777/" \
173
-            --internalurl "http://$SERVICE_HOST:8777/"
171
+            --publicurl "http://$SERVICE_HOST:8777" \
172
+            --adminurl "http://$SERVICE_HOST:8777" \
173
+            --internalurl "http://$SERVICE_HOST:8777"
174 174
     fi
175 175
 fi
176 176