Skip to content

Commit

Permalink
Add ceilometer-api to service catalog
Browse files Browse the repository at this point in the history
This fixes bug #1060344

Change-Id: I0fee6b4660f564c4f8d62274ed52fa4b367f67da
Signed-off-by: Julien Danjou <julien@danjou.info>
  • Loading branch information
jd committed Oct 24, 2012
1 parent 9428287 commit f36afe5
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions files/keystone_data.sh
Expand Up @@ -262,6 +262,21 @@ if [[ "$ENABLED_SERVICES" =~ "q-svc" ]]; then
fi
fi

if [[ "$ENABLED_SERVICES" =~ "ceilometer-api" ]]; then
if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then
CEILOMETER_SERVICE=$(get_id keystone service-create \
--name=ceilometer \
--type=metering \
--description="Ceilometer Service")
keystone endpoint-create \
--region RegionOne \
--service_id $CEILOMETER_SERVICE \
--publicurl "http://$SERVICE_HOST:8777/" \
--adminurl "http://$SERVICE_HOST:8777/" \
--internalurl "http://$SERVICE_HOST:8777/"
fi
fi

# EC2
if [[ "$ENABLED_SERVICES" =~ "n-api" ]]; then
if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then
Expand Down

0 comments on commit f36afe5

Please sign in to comment.