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
diff --git a/files/keystone_data.sh b/files/keystone_data.sh
index 2fc8915..72b5b1e 100755
--- a/files/keystone_data.sh
+++ b/files/keystone_data.sh
@@ -168,9 +168,9 @@
keystone endpoint-create \
--region RegionOne \
--service_id $CEILOMETER_SERVICE \
- --publicurl "http://$SERVICE_HOST:8777/" \
- --adminurl "http://$SERVICE_HOST:8777/" \
- --internalurl "http://$SERVICE_HOST:8777/"
+ --publicurl "http://$SERVICE_HOST:8777" \
+ --adminurl "http://$SERVICE_HOST:8777" \
+ --internalurl "http://$SERVICE_HOST:8777"
fi
fi