From 46fd68d504d33400221969c10703c68f8e200fb7 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 8 Oct 2025 13:39:38 -0700 Subject: [PATCH] proxies / haproxy: setup some retry for kojipkgs We are having problems with connections sometimes hanging from proxies to kojipkgs. Lets try and mitigate that at the haproxy level and hopefully improve things while we try and figure out what the underlying cause is. This should retry connections that failed for any 'retryable' output (including timeout) and also it should try a _different_ backend than the one that returned the error. This will not eliminate errors, but should reduce them. Signed-off-by: Kevin Fenzi --- roles/haproxy/templates/haproxy.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index c311c0f9d8..f2ba4654e7 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -277,6 +277,9 @@ backend kojipkgs-backend server kojipkgs01.{{ datacenter }}.fedoraproject.org kojipkgs01.{{ datacenter }}.fedoraproject.org:80 check inter 30s rise 1 fall 3 server kojipkgs02.{{ datacenter }}.fedoraproject.org kojipkgs02.{{ datacenter }}.fedoraproject.org:80 check inter 30s rise 1 fall 3 option httpchk GET / + retries 5 + retry-on all-retryable-errors + option redispatch 1 {% endif %} {% if datacenter == "rdu3" %}