diff --git a/manifests/haproxy.pp b/manifests/haproxy.pp index 6ad91dfb0..46ea73dca 100644 --- a/manifests/haproxy.pp +++ b/manifests/haproxy.pp @@ -1505,14 +1505,13 @@ class tripleo::haproxy ( } ::tripleo::haproxy::endpoint { 'opendaylight_ws': - internal_ip => unique([hiera('opendaylight_api_vip', $controller_virtual_ip), $controller_virtual_ip]), - service_port => $ports[opendaylight_ws_port], - ip_addresses => hiera('opendaylight_api_node_ips', $controller_hosts_real), - server_names => hiera('opendaylight_api_node_names', $controller_hosts_names_real), - mode => 'http', - haproxy_listen_bind_param => [], # We don't use a transparent proxy (diverting non-destined haproxy traffic) - service_network => $opendaylight_network, - listen_options => { + internal_ip => unique([hiera('opendaylight_api_vip', $controller_virtual_ip), $controller_virtual_ip]), + service_port => $ports[opendaylight_ws_port], + ip_addresses => hiera('opendaylight_api_node_ips', $controller_hosts_real), + server_names => hiera('opendaylight_api_node_names', $controller_hosts_names_real), + mode => 'http', + service_network => $opendaylight_network, + listen_options => { # NOTE(jaosorior): Websockets have more overhead in establishing # connections than regular HTTP connections. Also, since it begins # as an HTTP connection and then "upgrades" to a TCP connection, some diff --git a/releasenotes/notes/fix-opendaylight-websocket-haproxy-7220b0c25ff13faa.yaml b/releasenotes/notes/fix-opendaylight-websocket-haproxy-7220b0c25ff13faa.yaml new file mode 100644 index 000000000..b10727051 --- /dev/null +++ b/releasenotes/notes/fix-opendaylight-websocket-haproxy-7220b0c25ff13faa.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fixes OpenDaylight Websocket HA Proxy configuration to use transparent + binding type. See https://bugs.launchpad.net/tripleo/+bug/1764514