From 37263ee179a1abf2ad7e5b12c9b6b8c001800559 Mon Sep 17 00:00:00 2001 From: Luke Short Date: Mon, 24 Aug 2020 11:44:44 -0400 Subject: [PATCH] Expose max_concurrent_builds as a Heat parameter It can now be set via the use of 'NovaMaxConcurrentBuilds'. Change-Id: If75b1df0e26a7a3f87be1de9026836a2aa590fe7 Co-authored-By: David J Peacock Signed-off-by: Luke Short (cherry picked from commit efe179190d85229f20b8b1b004e1d7bf13ac1349) (cherry picked from commit 9d2f689f63709888ee3b6e374a5d8526cdd5fccd) --- deployment/nova/nova-ironic-container-puppet.yaml | 9 +++++++++ .../nova-max_concurrent_builds-f900d84f35704452.yaml | 6 ++++++ 2 files changed, 15 insertions(+) create mode 100644 releasenotes/notes/nova-max_concurrent_builds-f900d84f35704452.yaml diff --git a/deployment/nova/nova-ironic-container-puppet.yaml b/deployment/nova/nova-ironic-container-puppet.yaml index a311ae5c85..a2f5ea83dc 100644 --- a/deployment/nova/nova-ironic-container-puppet.yaml +++ b/deployment/nova/nova-ironic-container-puppet.yaml @@ -54,6 +54,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: @@ -105,6 +113,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]} diff --git a/releasenotes/notes/nova-max_concurrent_builds-f900d84f35704452.yaml b/releasenotes/notes/nova-max_concurrent_builds-f900d84f35704452.yaml new file mode 100644 index 0000000000..625ada3a46 --- /dev/null +++ b/releasenotes/notes/nova-max_concurrent_builds-f900d84f35704452.yaml @@ -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.