From: Andrew Grimberg Date: Fri, 15 Oct 2021 00:05:27 +0000 (-0700) Subject: Fix: Correct bad conversion of OpenStack config X-Git-Tag: v0.68.0^0 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=918a6dd6692d7da97dadfaec75702ceb67e64c6e;p=releng%2Fglobal-jjb.git Fix: Correct bad conversion of OpenStack config While attempting to get the OpenDaylight Jenkins Sandbox configured to start working with JCasC cloud management it was discovered that the numExecutors flag was being mistranslated. Change-Id: I5598f9936a2a3190e0ff326dad8ef4503aaceaa2 Signed-off-by: Andrew Grimberg --- diff --git a/jenkins-admin/create_jenkins_clouds_openstack_yaml.py b/jenkins-admin/create_jenkins_clouds_openstack_yaml.py index 2b81f345..a1464a5d 100755 --- a/jenkins-admin/create_jenkins_clouds_openstack_yaml.py +++ b/jenkins-admin/create_jenkins_clouds_openstack_yaml.py @@ -125,7 +125,7 @@ machinetemplate = """\ {%- if instance_cap %} instanceCap: {{ instance_cap }}{% endif %} {%- if num_executors %} - numExectorts: {{ num_executors }}{% endif %} + numExecutors: {{ num_executors }}{% endif %} {%- if retention_time %} retentionTime: {{ retention_time }} {%- else %} diff --git a/releasenotes/notes/fix_openstack_numExecutors-eb10d4a6c2d8a08c.yaml b/releasenotes/notes/fix_openstack_numExecutors-eb10d4a6c2d8a08c.yaml new file mode 100644 index 00000000..afe6cd3f --- /dev/null +++ b/releasenotes/notes/fix_openstack_numExecutors-eb10d4a6c2d8a08c.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + The JCasC convert for OpenStack was improperly converting executor + definitions. The script has learned the proper syntax.