Don't create redundant heat_stack_owner role
This is not required as all the roles of the user are delegated by default to the trustee. Also removes the tempest configuration related to that. Change-Id: Id57ecea69a3568767f5b4bea101c14ad1335d286
This commit is contained in:
parent
350834501e
commit
4cbe54933d
|
@ -38,21 +38,4 @@ $(openstack stack output show {{ stack_name }} PublicVip \
|
|||
## END OVERCLOUD HOSTS #nodocs
|
||||
EOF
|
||||
{% endif -%}
|
||||
|
||||
## * Create the `heat_stack_owner` role if it doesn't already exist.
|
||||
## ::
|
||||
|
||||
if openstack stack output show {{ stack_name }} EnabledServices \
|
||||
-f value -c output_value | grep -q keystone; then
|
||||
|
||||
## * Source in the {{ stack_name }} credentials.
|
||||
## ::
|
||||
|
||||
. {{ working_dir }}/{{ stack_name }}rc
|
||||
|
||||
if ! openstack role show heat_stack_owner > /dev/null 2>&1; then
|
||||
openstack role create heat_stack_owner
|
||||
openstack role add --project admin --user admin heat_stack_owner
|
||||
fi
|
||||
fi
|
||||
### --stop_docs
|
||||
|
|
|
@ -4,9 +4,6 @@ console_output = false
|
|||
[object-storage]
|
||||
operator_role = swiftoperator
|
||||
|
||||
[orchestration]
|
||||
stack_owner_role = heat_stack_owner
|
||||
|
||||
[volume]
|
||||
backend1_name = tripleo_iscsi
|
||||
|
||||
|
|
Loading…
Reference in New Issue