Fixes transparent binding to OpenDaylight in HA Proxy
authorTim Rozet <trozet@redhat.com>
Sun, 30 Oct 2016 13:44:18 +0000 (09:44 -0400)
committerTim Rozet <trozet@redhat.com>
Sun, 30 Oct 2016 13:44:18 +0000 (09:44 -0400)
ODL was missing transparent binding mode, which causes HA deployments to
fail since HA Proxy will try to come up on every node (even without
VIP).

Closes-Bug: 1637833

Change-Id: I0bb7839cdcfeacb4ca1a9fc6f878e8b51330be92
Signed-off-by: Tim Rozet <trozet@redhat.com>
manifests/haproxy.pp

index 02dddf1..39d606d 100644 (file)
@@ -1195,8 +1195,8 @@ class tripleo::haproxy (
 
   $opendaylight_api_vip = hiera('opendaylight_api_vip', $controller_virtual_ip)
   $opendaylight_bind_opts = {
-    "${opendaylight_api_vip}:8081" => [],
-    "${public_virtual_ip}:8081" => [],
+    "${opendaylight_api_vip}:8081" => $haproxy_listen_bind_param,
+    "${public_virtual_ip}:8081" => $haproxy_listen_bind_param,
   }
 
   if $opendaylight {