Merge "Revert "Change haproxy http-check expect for nova_console""

This commit is contained in:
Zuul 2019-08-13 07:15:03 +00:00 committed by Gerrit Code Review
commit ef7980df87
1 changed files with 1 additions and 1 deletions

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 string OK"
- "expect status 200"
haproxy_service_enabled: "{{ groups['nova_console'] is defined and groups['nova_console'] | length > 0 }}"
- service:
haproxy_service_name: cinder_api