From af70045583a3e55b7a0f36476cd9c03fee21d56c Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Tue, 24 Nov 2015 22:20:14 +0000 Subject: [PATCH] Prevent haproxy warnings by telling it to use tcplog Signed-off-by: Patrick Uiterwijk --- roles/haproxy/templates/haproxy.cfg | 3 +++ roles/haproxy/templates/haproxy.cfg.stg | 3 +++ 2 files changed, 6 insertions(+) diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 1d47dcc26d..c4780e8908 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -224,6 +224,7 @@ listen mdapi 0.0.0.0:10043 # fedmsg-hub's websocket server on busgateway01, port 9919. listen fedmsg-websockets 0.0.0.0:9938 mode tcp + option tcplog balance roundrobin maxconn 16384 timeout queue 5000 @@ -237,6 +238,7 @@ listen fedmsg-websockets 0.0.0.0:9938 # forwarding messages from the master gateway on busgateway01. listen fedmsg-raw-zmq-outbound 0.0.0.0:9940 mode tcp + option tcplog balance roundrobin maxconn 16384 timeout queue 5000 @@ -252,6 +254,7 @@ listen fedmsg-raw-zmq-outbound 0.0.0.0:9940 # use. Here we forward to a secondary one on busgateway01. listen fedmsg-raw-zmq-inbound 0.0.0.0:9941 mode tcp + option tcplog balance roundrobin maxconn 16384 timeout queue 5000 diff --git a/roles/haproxy/templates/haproxy.cfg.stg b/roles/haproxy/templates/haproxy.cfg.stg index c7fd73cf25..2d35ce07bc 100644 --- a/roles/haproxy/templates/haproxy.cfg.stg +++ b/roles/haproxy/templates/haproxy.cfg.stg @@ -208,6 +208,7 @@ listen openqa 0.0.0.0:10044 # fedmsg-hub's websocket server on busgateway01, port 9919. listen fedmsg-websockets 0.0.0.0:9938 mode tcp + option tcplog balance roundrobin maxconn 16384 timeout queue 5000 @@ -221,6 +222,7 @@ listen fedmsg-websockets 0.0.0.0:9938 # forwarding messages from the master gateway on busgateway01. listen fedmsg-raw-zmq-outbound 0.0.0.0:9940 mode tcp + option tcplog balance roundrobin maxconn 16384 timeout queue 5000 @@ -236,6 +238,7 @@ listen fedmsg-raw-zmq-outbound 0.0.0.0:9940 # use. Here we forward to a secondary one on busgateway01. listen fedmsg-raw-zmq-inbound 0.0.0.0:9941 mode tcp + option tcplog balance roundrobin maxconn 16384 timeout queue 5000