Fix Aodh's health checks

HAProxy currently checks aodh backend with "HEAD /" and an expected
return code of 401. The request actually returns "200 OK". The 401 would
be returned if the check would target "HEAD /v2", but as all other
backends that do not implement "/healthcheck" also check "HEAD /" for
2xx/3xx return codes, I removed the wrongly expected "401".

Change-Id: If20216c605938c14a94d9b710d3f98b0d885b629
Closes-Bug: 1719875
This commit is contained in:
Daniel Marks 2017-09-27 14:17:32 +02:00
parent cf2b5da9d5
commit 74acdd5a7b
1 changed files with 0 additions and 2 deletions

View File

@ -237,8 +237,6 @@ haproxy_default_services:
haproxy_balance_type: http
haproxy_backend_options:
- "httpchk HEAD /"
haproxy_backend_httpcheck_options:
- "expect status 401"
- service:
haproxy_service_name: ironic_api
haproxy_backend_nodes: "{{ groups['ironic_api'] | default([]) }}"