Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge "Expose max_concurrent_builds as a Heat parameter"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Sep 9, 2020
2 parents b0d3732 + efe1791 commit f7776ed
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
9 changes: 9 additions & 0 deletions deployment/nova/nova-ironic-container-puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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]}
Expand Down
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit f7776ed

Please sign in to comment.