|
...
|
...
|
@@ -251,17 +251,6 @@ function create_heat_accounts {
|
|
251
|
251
|
get_or_create_role "heat_stack_user"
|
|
252
|
252
|
|
|
253
|
253
|
if [[ $HEAT_DEFERRED_AUTH == trusts ]]; then
|
|
254
|
|
-
|
|
255
|
|
- # heat_stack_owner role is given to users who create Heat stacks,
|
|
256
|
|
- # it's the default role used by heat to delegate to the heat service
|
|
257
|
|
- # user (for performing deferred operations via trusts), see heat.conf
|
|
258
|
|
- local heat_owner_role=$(get_or_create_role "heat_stack_owner")
|
|
259
|
|
-
|
|
260
|
|
- # Give the role to the demo and admin users so they can create stacks
|
|
261
|
|
- # in either of the projects created by devstack
|
|
262
|
|
- get_or_add_user_role $heat_owner_role demo demo
|
|
263
|
|
- get_or_add_user_role $heat_owner_role admin demo
|
|
264
|
|
- get_or_add_user_role $heat_owner_role admin admin
|
|
265
|
254
|
iniset $HEAT_CONF DEFAULT deferred_auth_method trusts
|
|
266
|
255
|
fi
|
|
267
|
256
|
|