Fix HAPROXY ${i} index to be just '1' 25/75425/1
authorJamo Luhrsen <jluhrsen@redhat.com>
Thu, 23 Aug 2018 15:29:29 +0000 (08:29 -0700)
committerJamo Luhrsen <jluhrsen@redhat.com>
Thu, 23 Aug 2018 15:29:29 +0000 (08:29 -0700)
this was needed when we had the concept of
NUM_SITES, but that was removed with:
https://git.opendaylight.org/gerrit/#/c/75211/

I think this ${i} was just missed.

Change-Id: If10cec9112dba1eca9e77d8927fdb28dcddbff99
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
jjb/integration/integration-deploy-openstack-run-test.sh

index 2185347065db91a4015751979698b66d11007244..b02d4f7ea80b63f714d315ba2d753b63be3e1cea 100644 (file)
@@ -710,7 +710,7 @@ os_node_list=()
 
 if [ "${ENABLE_HAPROXY_FOR_NEUTRON}" == "yes" ]; then
     echo "Configure HAProxy"
-    ODL_HAPROXYIP_PARAM=OPENSTACK_HAPROXY_${i}_IP
+    ODL_HAPROXYIP_PARAM=OPENSTACK_HAPROXY_1_IP
     ODL_IP_PARAM1=ODL_SYSTEM_1_IP
     ODL_IP_PARAM2=ODL_SYSTEM_2_IP
     ODL_IP_PARAM3=ODL_SYSTEM_3_IP