From 7f3289963e4b5c322443d6628fc7044ac497b5d7 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 3 Nov 2025 08:23:44 -0800 Subject: [PATCH] haproxy: clean up warnings, drop openqa01 openqa uses apache load balancer now, and doesn't use haproxy at all. Clean up some things that current haproxy warns about on start. Signed-off-by: Kevin Fenzi --- roles/haproxy/templates/haproxy.cfg | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 00091e4e17..12b93c555d 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -1,8 +1,6 @@ -# this config needs haproxy-1.1.28 or haproxy-1.2.1 - global log 127.0.0.1:514 local0 warning - maxconn 4096 + maxconn 5000 chroot /var/lib/haproxy user haproxy group haproxy @@ -20,7 +18,6 @@ defaults option httpclose option redispatch retries 3 - maxconn 5000 timeout connect 5s timeout client 500s timeout server 500s @@ -142,17 +139,6 @@ backend geoip-city-backend # IMPORTANT: 10031 will NOT work because of selinux policies -{% if env == "production" %} -frontend openqa-frontend - bind 0.0.0.0:10044 - default_backend openqa-backend - -backend openqa-backend - balance hdr(appserver) - server openqa01 openqa01:80 check inter 10s rise 1 fall 2 - option httpchk GET /api/v1/job_groups/1 -{% endif %} - option httpchk GET /rest_api/v1/ timeout server 3600000 timeout connect 3600000 @@ -226,9 +212,8 @@ frontend krb5-frontend backend krb5-backend mode tcp - option tcplog balance roundrobin - maxconn 16384 + fullcon 16384 timeout queue 5000 timeout server 86400000 timeout connect 86400000 @@ -307,9 +292,8 @@ frontend public-rabbitmq backend rabbitmq mode tcp - option tcplog balance roundrobin - maxconn 16384 + fullcon 16384 server rabbitmq01 rabbitmq01:5671 weight 1 maxconn 16384 server rabbitmq02 rabbitmq02:5671 weight 1 maxconn 16384 server rabbitmq03 rabbitmq03:5671 weight 1 maxconn 16384