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 <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi
2025-11-03 08:23:44 -08:00
parent 18c94dd2d0
commit 7f3289963e

View File

@@ -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