Fix sahara backend URL
Sahara does not support healthcheck with api-paste out of the box.
Until we implement support for it, we should fix backend
Change-Id: I423204b1955b5fd5e61d16beb96c492136a2957a
(cherry picked from commit d43182f0a0
)
This commit is contained in:
parent
737be1ff91
commit
88f38ae02f
|
@ -225,7 +225,9 @@ haproxy_default_services:
|
|||
haproxy_port: 8386
|
||||
haproxy_balance_type: http
|
||||
haproxy_backend_options:
|
||||
- "httpchk GET /healthcheck HTTP/1.0\\r\\nUser-agent:\\ osa-haproxy-healthcheck"
|
||||
- "httpchk GET / HTTP/1.0\\r\\nUser-agent:\\ osa-haproxy-healthcheck"
|
||||
haproxy_backend_httpcheck_options:
|
||||
- "expect rstatus 300|200"
|
||||
haproxy_service_enabled: "{{ groups['sahara_api'] is defined and groups['sahara_api'] | length > 0 }}"
|
||||
- service:
|
||||
haproxy_service_name: swift_proxy
|
||||
|
|
Loading…
Reference in New Issue