Fix FLOATING_IP_POOL default value 91/62991/2
authorEric Ball <eball@linuxfoundation.org>
Thu, 30 Jan 2020 00:42:19 +0000 (16:42 -0800)
committerEric Ball <eball@linuxfoundation.org>
Thu, 30 Jan 2020 00:52:59 +0000 (16:52 -0800)
A recent change has made the "null" string a bad value for
FLOATING_IP_POOL. By making it an empty string, we recreate the old
functionality of having the default floating IP pool set to "No
value".

Change-Id: If6f2af7a8a6ccf4bb5079e8282962098f2f725b6
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
releasenotes/notes/fix-floating-ip-pool-0d2122df77d463e9.yaml [new file with mode: 0644]
shell/jenkins-configure-clouds.sh

diff --git a/releasenotes/notes/fix-floating-ip-pool-0d2122df77d463e9.yaml b/releasenotes/notes/fix-floating-ip-pool-0d2122df77d463e9.yaml
new file mode 100644 (file)
index 0000000..56257eb
--- /dev/null
@@ -0,0 +1,6 @@
+---
+fixes:
+  - |
+    A recent change has made the "null" string a bad value for FLOATING_IP_POOL.
+    By making it an empty string, we recreate the old functionality of having
+    the default floating IP pool set to "No value".
index e5dba54..5d394ad 100644 (file)
@@ -204,7 +204,7 @@ get_minion_options() {
         instance_cap=$(get_cfg "$cfg_file" INSTANCE_CAP "null")
     fi
 
-    floating_ip_pool=$(get_cfg "$cfg_file" FLOATING_IP_POOL "null")
+    floating_ip_pool=$(get_cfg "$cfg_file" FLOATING_IP_POOL "")
     security_groups=$(get_cfg "$cfg_file" SECURITY_GROUPS "default")
     availability_zone=$(get_cfg "$cfg_file" AVAILABILITY_ZONE "")
     start_timeout=$(get_cfg "$cfg_file" START_TIMEOUT "600000")