Merge "Add the role heat_stack_user for heat"
This commit is contained in:
commit
d85f503e9a
@ -71,6 +71,8 @@ if [[ "$ENABLED_SERVICES" =~ "heat" ]]; then
|
|||||||
keystone user-role-add --tenant_id $SERVICE_TENANT \
|
keystone user-role-add --tenant_id $SERVICE_TENANT \
|
||||||
--user_id $HEAT_USER \
|
--user_id $HEAT_USER \
|
||||||
--role_id $ADMIN_ROLE
|
--role_id $ADMIN_ROLE
|
||||||
|
# heat_stack_user role is for users created by Heat
|
||||||
|
keystone role-create --name heat_stack_user
|
||||||
if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then
|
if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then
|
||||||
HEAT_CFN_SERVICE=$(get_id keystone service-create \
|
HEAT_CFN_SERVICE=$(get_id keystone service-create \
|
||||||
--name=heat-cfn \
|
--name=heat-cfn \
|
||||||
|
Loading…
Reference in New Issue
Block a user