Merge "Change haproxy http-check expect for nova_console"

This commit is contained in:
Zuul 2019-07-30 19:47:41 +00:00 committed by Gerrit Code Review
commit 52c9091451

View File

@ -183,7 +183,7 @@ haproxy_default_services:
haproxy_backend_options:
- "httpchk HEAD {{ hostvars[(groups['nova_console'] | default(['localhost']))[0] | default('localhost')]['nova_console_path'] | default('/spice_auto.html') }} HTTP/1.0\\r\\nUser-agent:\\ osa-haproxy-healthcheck"
haproxy_backend_httpcheck_options:
- "expect status 200"
- "expect string OK"
haproxy_service_enabled: "{{ groups['nova_console'] is defined and groups['nova_console'] | length > 0 }}"
- service:
haproxy_service_name: cinder_api