Switch to keystone service_type=orchestration.
This is to match the service type configured in devstack heat.
This commit is contained in:
parent
fd38656097
commit
e88e9e5267
@ -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:
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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" \
|
||||
|
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user