heat: align config with instack-undercloud

- Enable heat convergence for containerized undercloud
- Set max_json_body_size=4194304 for containerized undercloud.
- Introduce HeatMaxNestedStackDepth parameter.
- Introduce HeatReauthenticationAuthMethod parameter and configure it to
  'trusts' for the undercloud.

Change-Id: I044bf29e7ae320a478e0ba0eb12870f47735d4f1
This commit is contained in:
Emilien Macchi 2018-04-02 21:23:20 -07:00
parent 072d1bad02
commit 56898d95fb
2 changed files with 16 additions and 3 deletions

View File

@ -34,10 +34,11 @@ parameter_defaults:
# Ironic to be disabled in the case of multiple deployment failures.
NovaAutoDisabling: '0'
NeutronDhcpAgentsPerNetwork: 2
HeatConvergenceEngine: false
HeatConvergenceEngine: true
HeatCorsAllowedOrigin: '*'
HeatMaxResourcesPerStack: -1
HeatMaxJsonBodySize: 2097152
HeatMaxJsonBodySize: 4194304
HeatReauthenticationAuthMethod: 'trusts'
IronicCleaningDiskErase: 'metadata'
IronicCorsAllowedOrigin: '*'
IronicDefaultInspectInterface: 'inspector'

View File

@ -39,6 +39,17 @@ parameters:
default: 0
description: Number of workers for Heat service.
type: number
HeatMaxNestedStackDepth:
default: 6
description: Maximum number of nested stack depth.
type: number
HeatReauthenticationAuthMethod:
description: Allow reauthentication on token expiry, such that long-running tasks
may complete. Note this defeats the expiry of any provided user tokens.
type: string
default: ''
constraints:
- allowed_values: [ '', 'trusts' ]
HeatPassword:
description: The password for the Heat service and db account, used by the Heat services.
type: string
@ -98,8 +109,9 @@ outputs:
- get_attr: [HeatBase, role_data, config_settings]
- heat::engine::configure_delegated_roles: false
heat::engine::trusts_delegated_roles: []
heat::engine::max_nested_stack_depth: 6
heat::engine::max_nested_stack_depth: {get_param: HeatMaxNestedStackDepth}
heat::engine::max_resources_per_stack: {get_param: HeatMaxResourcesPerStack}
heat::engine::reauthentication_auth_method: {get_param: HeatReauthenticationAuthMethod}
heat::engine::heat_metadata_server_url:
make_url:
scheme: {get_param: [EndpointMap, HeatCfnPublic, protocol]}