From 77da001cd4b8ce0fd9d9bf57d4ddfb701414c29a 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 Change-Id: I3e2805a922c0e90dc493a3e065bbdc229e5fc7a8 (cherry picked from commit f1994dba33e09033f3a142ef202c6b0afe322b94) (cherry picked from commit fe64cf37a17cc2d61bdd4f8a77fdbcca37085803) --- manifests/haproxy.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/haproxy.pp b/manifests/haproxy.pp index ccfb1b490..cbad7670a 100644 --- a/manifests/haproxy.pp +++ b/manifests/haproxy.pp @@ -1593,7 +1593,7 @@ class tripleo::haproxy ( mode => 'http', 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' ] }), member_options => union($haproxy_member_options, $internal_tls_member_options), } }