From 918a6dd6692d7da97dadfaec75702ceb67e64c6e Mon Sep 17 00:00:00 2001 From: Andrew Grimberg Date: Thu, 14 Oct 2021 17:05:27 -0700 Subject: [PATCH 1/1] 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 --- jenkins-admin/create_jenkins_clouds_openstack_yaml.py | 2 +- releasenotes/notes/fix_openstack_numExecutors-eb10d4a6c2d8a08c.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/fix_openstack_numExecutors-eb10d4a6c2d8a08c.yaml 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. -- 2.16.6