Set configure_delegated_roles a parameter

The configure_delegated_roles configure if the heat_stack_onwer role
would be created or not by keystone. Right now this is set to false,
without any way to override to true. This patch change this option to be
a parameter and it also change scenario001 to true in order to run heat
tempest tests.

Change-Id: I916cc4842ccef587a25b06cb422436953974e790
This commit is contained in:
Arx Cruz 2019-05-06 13:15:29 +00:00
parent 577f507dfe
commit 9e14ae6c92
2 changed files with 6 additions and 1 deletions

View File

@ -51,6 +51,7 @@ parameter_defaults:
# in sync with the archive policy, 60s too.
ceilometer::agent::polling::polling_interval: 15
ManagePolling: true
HeatConfigureDelegatedRoles: true
ManagePipeline: true
PipelinePublishers:
- gnocchi://?archive_policy=ceilometer-high-rate

View File

@ -97,6 +97,10 @@ parameters:
type: comma_delimited_list
default: []
description: An array of directories to search for plug-ins.
HeatConfigureDelegatedRoles:
type: boolean
default: false
description: Create delegated roles
conditions:
heat_workers_unset: {equals : [{get_param: HeatWorkers}, 0]}
@ -143,7 +147,7 @@ outputs:
map_merge:
- get_attr: [HeatBase, role_data, config_settings]
- apache::default_vhost: false
heat::engine::configure_delegated_roles: false
heat::engine::configure_delegated_roles: {get_param: HeatConfigureDelegatedRoles}
heat::engine::trusts_delegated_roles: []
heat::engine::max_nested_stack_depth: {get_param: HeatMaxNestedStackDepth}
heat::engine::max_resources_per_stack: {get_param: HeatMaxResourcesPerStack}