From 4ac5fa3ff8c377d39dabe8049de2759a964dc9a0 Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Tue, 30 Jun 2020 14:49:17 +0200 Subject: [PATCH] Switch RGW HAProxy healthcheck to use special RGW healthcheck url The change is made because /swift/healthcheck weights less on RGW and avoids overloading the nodes CPU for basic HAProxy checks For more information also see [1] 1. https://bugzilla.redhat.com/show_bug.cgi?id=1850036#c16 Depends-On: I237272bd9afaaf1d82ead341368af985073326ca Change-Id: I3e2805a922c0e90dc493a3e065bbdc229e5fc7a8 (cherry picked from commit f1994dba33e09033f3a142ef202c6b0afe322b94) --- manifests/haproxy.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/haproxy.pp b/manifests/haproxy.pp index f40ba90ad..a7ab5bbda 100644 --- a/manifests/haproxy.pp +++ b/manifests/haproxy.pp @@ -1490,7 +1490,7 @@ class tripleo::haproxy ( server_names => hiera('ceph_rgw_node_names', $controller_hosts_names_real), public_ssl_port => $ports[ceph_rgw_ssl_port], service_network => $ceph_rgw_network, - listen_options => merge($default_listen_options, { 'option' => [ 'httpchk GET /' ] }), + listen_options => merge($default_listen_options, { 'option' => [ 'httpchk GET /swift/healthcheck' ] }), } }