Skip to content

Commit

Permalink
Fix bug 1374282
Browse files Browse the repository at this point in the history
	Using CONTROLLER instead of locahost for glance and cinder endpoints.

Change-Id: I0a7349bc670d2c859d0abe55752fe70da8207ec3
  • Loading branch information
cijohnson committed Oct 7, 2014
1 parent ac085c6 commit 4b66c9b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions contrail_setup_utils/contrail-keystone-setup.sh
Expand Up @@ -219,9 +219,9 @@ fi
if [[ -n "$ENABLE_ENDPOINTS" ]]; then
if [ -z $(endpoint_lookup $GLANCE_SERVICE) ]; then
keystone endpoint-create --region RegionOne --service-id $GLANCE_SERVICE \
--publicurl http://localhost:9292/v1 \
--adminurl http://localhost:9292/v1 \
--internalurl http://localhost:9292/v1
--publicurl http://$CONTROLLER:9292/v1 \
--adminurl http://$CONTROLLER:9292/v1 \
--internalurl http://$CONTROLLER:9292/v1
fi
fi

Expand All @@ -247,9 +247,9 @@ fi
if [[ -n "$ENABLE_ENDPOINTS" ]]; then
if [ -z $(endpoint_lookup $CINDER_SERVICE) ]; then
keystone endpoint-create --region RegionOne --service-id $CINDER_SERVICE \
--publicurl 'http://localhost:8776/v1/$(tenant_id)s' \
--adminurl 'http://localhost:8776/v1/$(tenant_id)s' \
--internalurl 'http://localhost:8776/v1/$(tenant_id)s'
--publicurl 'http://'$CONTROLLER':8776/v1/$(tenant_id)s' \
--adminurl 'http://'$CONTROLLER':8776/v1/$(tenant_id)s' \
--internalurl 'http://'$CONTROLLER':8776/v1/$(tenant_id)s'
fi
fi

Expand Down

0 comments on commit 4b66c9b

Please sign in to comment.