Merge "Expose max_concurrent_builds as a Heat parameter"

This commit is contained in:
Zuul 2020-09-09 01:39:56 +00:00 committed by Gerrit Code Review
commit f7776ed952
2 changed files with 15 additions and 0 deletions

View File

@ -58,6 +58,14 @@ parameters:
description: The number of times to retry when a request conflicts. If set to 0, only try once, no retries.
type: number
default: -1
IronicMaxConcurrentBuilds:
description: |
The number of builds to process at the same time per each nova-compute instance. If set to 0, it will
be set to unlimited (best effort).
type: number
default: 10
constraints:
- range: { min: 0 }
conditions:
@ -109,6 +117,7 @@ outputs:
- nova::compute::force_config_drive: true
nova::compute::reserved_host_memory: '0'
nova::compute::vnc_enabled: false
nova::compute::ironic::max_concurrent_builds: {get_param: IronicMaxConcurrentBuilds}
nova::ironic::common::password: {get_param: IronicPassword}
nova::ironic::common::project_name: 'service'
nova::ironic::common::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]}

View File

@ -0,0 +1,6 @@
---
features:
- |
The nova-ironic setting for 'max_concurrent_builds' can now be set via the
use of a new TripleO Heat templates parameter 'IronicMaxConcurrentBuilds'.
It is set to the service default of 10 by default in TripleO Heat templates.