Merge "Fix http-check ordering for services"
This commit is contained in:
commit
2f7bf0c0f0
@ -22,7 +22,6 @@ haproxy_blazar_api_service:
|
|||||||
haproxy_balance_type: http
|
haproxy_balance_type: http
|
||||||
haproxy_backend_httpcheck_options:
|
haproxy_backend_httpcheck_options:
|
||||||
- 'send hdr User-Agent "osa-haproxy-healthcheck" meth HEAD'
|
- 'send hdr User-Agent "osa-haproxy-healthcheck" meth HEAD'
|
||||||
haproxy_backend_httpcheck_options:
|
|
||||||
- 'expect rstatus (200|401)'
|
- 'expect rstatus (200|401)'
|
||||||
haproxy_backend_ssl: "{{ blazar_backend_ssl | default(openstack_service_backend_ssl) }}"
|
haproxy_backend_ssl: "{{ blazar_backend_ssl | default(openstack_service_backend_ssl) }}"
|
||||||
haproxy_backend_ca: "{{ openstack_haproxy_backend_ca | default(True) }}"
|
haproxy_backend_ca: "{{ openstack_haproxy_backend_ca | default(True) }}"
|
||||||
|
@ -22,7 +22,6 @@ haproxy_murano_service:
|
|||||||
haproxy_balance_type: http
|
haproxy_balance_type: http
|
||||||
haproxy_backend_httpcheck_options:
|
haproxy_backend_httpcheck_options:
|
||||||
- 'send hdr User-Agent "osa-haproxy-healthcheck" meth GET'
|
- 'send hdr User-Agent "osa-haproxy-healthcheck" meth GET'
|
||||||
haproxy_backend_httpcheck_options:
|
|
||||||
- "expect status 401"
|
- "expect status 401"
|
||||||
haproxy_backend_ssl: "{{ murano_backend_ssl | default(openstack_service_backend_ssl) }}"
|
haproxy_backend_ssl: "{{ murano_backend_ssl | default(openstack_service_backend_ssl) }}"
|
||||||
haproxy_backend_ca: "{{ murano_haproxy_backend_ca | default(openstack_haproxy_backend_ca) }}"
|
haproxy_backend_ca: "{{ murano_haproxy_backend_ca | default(openstack_haproxy_backend_ca) }}"
|
||||||
|
@ -66,7 +66,7 @@ haproxy_nova_spice_console_service:
|
|||||||
haproxy_timeout_client: 60m
|
haproxy_timeout_client: 60m
|
||||||
haproxy_timeout_server: 60m
|
haproxy_timeout_server: 60m
|
||||||
haproxy_balance_alg: source
|
haproxy_balance_alg: source
|
||||||
haproxy_backend_httpcheck_options: "{{ haproxy_nova_console_http_mode | ternary(['expect status 200', 'send ' ~ haproxy_nova_healthcheck_hdr ~ 'meth HEAD uri /spice_auto.html'], []) }}"
|
haproxy_backend_httpcheck_options: "{{ haproxy_nova_console_http_mode | ternary(['send ' ~ haproxy_nova_healthcheck_hdr ~ 'meth HEAD uri /spice_auto.html', 'expect status 200'], []) }}"
|
||||||
haproxy_backend_ssl: "{{ nova_backend_ssl | default(openstack_service_backend_ssl) }}"
|
haproxy_backend_ssl: "{{ nova_backend_ssl | default(openstack_service_backend_ssl) }}"
|
||||||
haproxy_backend_ca: "{{ nova_haproxy_backend_ca | default(openstack_haproxy_backend_ca) }}"
|
haproxy_backend_ca: "{{ nova_haproxy_backend_ca | default(openstack_haproxy_backend_ca) }}"
|
||||||
haproxy_accept_both_protocols: "{{ nova_accept_both_protocols | default(openstack_service_accept_both_protocols) }}"
|
haproxy_accept_both_protocols: "{{ nova_accept_both_protocols | default(openstack_service_accept_both_protocols) }}"
|
||||||
@ -82,7 +82,7 @@ haproxy_nova_serial_console_service:
|
|||||||
haproxy_timeout_client: 60m
|
haproxy_timeout_client: 60m
|
||||||
haproxy_timeout_server: 60m
|
haproxy_timeout_server: 60m
|
||||||
haproxy_balance_alg: source
|
haproxy_balance_alg: source
|
||||||
haproxy_backend_httpcheck_options: "{{ haproxy_nova_console_http_mode | ternary(['expect status 405', 'send ' ~ haproxy_nova_healthcheck_hdr ~ ' meth HEAD'], []) }}"
|
haproxy_backend_httpcheck_options: "{{ haproxy_nova_console_http_mode | ternary(['send ' ~ haproxy_nova_healthcheck_hdr ~ ' meth HEAD', 'expect status 405'], []) }}"
|
||||||
haproxy_backend_ssl: "{{ nova_backend_ssl | default(openstack_service_backend_ssl) }}"
|
haproxy_backend_ssl: "{{ nova_backend_ssl | default(openstack_service_backend_ssl) }}"
|
||||||
haproxy_backend_ca: "{{ nova_haproxy_backend_ca | default(openstack_haproxy_backend_ca) }}"
|
haproxy_backend_ca: "{{ nova_haproxy_backend_ca | default(openstack_haproxy_backend_ca) }}"
|
||||||
haproxy_accept_both_protocols: "{{ nova_accept_both_protocols | default(openstack_service_accept_both_protocols) }}"
|
haproxy_accept_both_protocols: "{{ nova_accept_both_protocols | default(openstack_service_accept_both_protocols) }}"
|
||||||
@ -99,7 +99,7 @@ haproxy_nova_novnc_console_service:
|
|||||||
haproxy_timeout_client: 60m
|
haproxy_timeout_client: 60m
|
||||||
haproxy_timeout_server: 60m
|
haproxy_timeout_server: 60m
|
||||||
haproxy_balance_alg: source
|
haproxy_balance_alg: source
|
||||||
haproxy_backend_httpcheck_options: "{{ haproxy_nova_console_http_mode | ternary(['expect status 200', 'send ' ~ haproxy_nova_healthcheck_hdr ~ ' meth HEAD uri /vnc.html'], []) }}"
|
haproxy_backend_httpcheck_options: "{{ haproxy_nova_console_http_mode | ternary(['send ' ~ haproxy_nova_healthcheck_hdr ~ ' meth HEAD uri /vnc.html', 'expect status 200'], []) }}"
|
||||||
haproxy_backend_ssl: "{{ nova_backend_ssl | default(openstack_service_backend_ssl) }}"
|
haproxy_backend_ssl: "{{ nova_backend_ssl | default(openstack_service_backend_ssl) }}"
|
||||||
haproxy_backend_ca: "{{ nova_haproxy_backend_ca | default(openstack_haproxy_backend_ca) }}"
|
haproxy_backend_ca: "{{ nova_haproxy_backend_ca | default(openstack_haproxy_backend_ca) }}"
|
||||||
haproxy_accept_both_protocols: "{{ nova_accept_both_protocols | default(openstack_service_accept_both_protocols) }}"
|
haproxy_accept_both_protocols: "{{ nova_accept_both_protocols | default(openstack_service_accept_both_protocols) }}"
|
||||||
|
@ -37,8 +37,8 @@ haproxy_zun_console_service:
|
|||||||
haproxy_timeout_server: 60m
|
haproxy_timeout_server: 60m
|
||||||
haproxy_balance_alg: source
|
haproxy_balance_alg: source
|
||||||
haproxy_backend_httpcheck_options:
|
haproxy_backend_httpcheck_options:
|
||||||
- "expect status 405"
|
|
||||||
- 'send hdr User-Agent "osa-haproxy-healthcheck" meth HEAD'
|
- 'send hdr User-Agent "osa-haproxy-healthcheck" meth HEAD'
|
||||||
|
- "expect status 405"
|
||||||
|
|
||||||
# haproxy_backend_ssl disabled due to: https://bugs.launchpad.net/zun/+bug/2016917
|
# haproxy_backend_ssl disabled due to: https://bugs.launchpad.net/zun/+bug/2016917
|
||||||
haproxy_backend_ssl: False
|
haproxy_backend_ssl: False
|
||||||
|
Loading…
Reference in New Issue
Block a user