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 <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi
2025-10-08 13:39:38 -07:00
parent fd53786d35
commit 46fd68d504

View File

@@ -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" %}