RGW haproxy backend return code can be 200 or 405
RGW Swift endpoint will return a 405 to httpchk. RGW S3 endpoint will return a 200 to httpchk. Change-Id: Ie5a9379d0823b1cdcfd67bbecb9a29ca4f262e92
This commit is contained in:
parent
6f2777a950
commit
7c8c31fd3c
@ -345,5 +345,5 @@ haproxy_default_services:
|
||||
haproxy_backend_options:
|
||||
- httpchk HEAD /
|
||||
haproxy_backend_httpcheck_options:
|
||||
- expect status 405
|
||||
- expect rstatus 200|405
|
||||
haproxy_service_enabled: "{{ (groups['ceph-rgw'] is defined and groups['ceph-rgw'] | length > 0) or (ceph_rgws | length > 0) }}"
|
||||
|
Loading…
Reference in New Issue
Block a user