Merge "Expose max_concurrent_builds as a Heat parameter" into stable/ussuri

This commit is contained in:
Zuul 2021-04-23 05:33:27 +00:00 committed by Gerrit Code Review
commit 81d4ba05cd
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. description: The number of times to retry when a request conflicts. If set to 0, only try once, no retries.
type: number type: number
default: -1 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: conditions:
@ -107,6 +115,7 @@ outputs:
- nova::compute::force_config_drive: true - nova::compute::force_config_drive: true
nova::compute::reserved_host_memory: '0' nova::compute::reserved_host_memory: '0'
nova::compute::vnc_enabled: false nova::compute::vnc_enabled: false
nova::compute::ironic::max_concurrent_builds: {get_param: IronicMaxConcurrentBuilds}
nova::ironic::common::password: {get_param: IronicPassword} nova::ironic::common::password: {get_param: IronicPassword}
nova::ironic::common::project_name: 'service' nova::ironic::common::project_name: 'service'
nova::ironic::common::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]} 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.