Merge "Change haproxy http-check expect for nova_console"
This commit is contained in:
commit
52c9091451
@ -183,7 +183,7 @@ haproxy_default_services:
|
|||||||
haproxy_backend_options:
|
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"
|
- "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:
|
haproxy_backend_httpcheck_options:
|
||||||
- "expect status 200"
|
- "expect string OK"
|
||||||
haproxy_service_enabled: "{{ groups['nova_console'] is defined and groups['nova_console'] | length > 0 }}"
|
haproxy_service_enabled: "{{ groups['nova_console'] is defined and groups['nova_console'] | length > 0 }}"
|
||||||
- service:
|
- service:
|
||||||
haproxy_service_name: cinder_api
|
haproxy_service_name: cinder_api
|
||||||
|
Loading…
Reference in New Issue
Block a user