Browse Source

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 f1994dba33)
(cherry picked from commit fe64cf37a1)
changes/77/739677/1
Giulio Fidente 2 months ago
parent
commit
77da001cd4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      manifests/haproxy.pp

+ 1
- 1
manifests/haproxy.pp View File

@@ -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),
}
}


Loading…
Cancel
Save