Switch to keystone service_type=orchestration.

This is to match the service type configured in devstack heat.
This commit is contained in:
Steve Baker 2012-09-05 08:16:55 +12:00
parent fd38656097
commit e88e9e5267
4 changed files with 4 additions and 4 deletions

View File

@ -200,7 +200,7 @@ class KeystoneStrategy(BaseStrategy):
logger.warn(msg)
continue
if service_type == 'heat':
if service_type == 'orchestration':
for ep in service['endpoints']:
if region is None or region == ep['region']:
if endpoint is not None:

View File

@ -61,7 +61,7 @@ def decrypt(auth_info):
return res
def authenticate(con, service_type='heat', service_name='heat'):
def authenticate(con, service_type='orchestration', service_name='heat'):
""" Authenticate a user context. This authenticates either an
EC2 style key context or a keystone user/pass context.

View File

@ -39,7 +39,7 @@ echo SERVICE_TOKEN $SERVICE_TOKEN
# Services
HEAT_SERVICE=$(get_id \
keystone service-create --name=heat \
--type=heat \
--type=orchestration \
--description="Heat Service")
HEAT_USER=$(get_id keystone user-create --name=heat \
--pass="$SERVICE_PASSWORD" \

View File

@ -39,7 +39,7 @@ echo SERVICE_TOKEN $SERVICE_TOKEN
# Services
HEAT_SERVICE=$(get_id \
keystone service-create --name=heat \
--type=heat \
--type=orchestration \
--description="Heat Service")
HEAT_USER=$(get_id keystone user-create --name=heat \
--pass="$SERVICE_PASSWORD" \