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
This commit is contained in:

committed by
Dmitriy Rabotyagov

parent
82e3d013fe
commit
d43182f0a0
@@ -487,7 +487,9 @@ haproxy_sahara_api_service:
|
||||
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 }}"
|
||||
|
||||
haproxy_senlin_api_service:
|
||||
|
Reference in New Issue
Block a user