Convert Skyline HAProxy httpcheck
With modern HAProxy on Noble old httpchk option is completely removed so we need to convert to the modern `send hdr` statement for healthcheck Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/930272 Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/930446 Change-Id: Idc178519d3916bcca26de2e3ac99bf7df8faf8c8
This commit is contained in:
parent
9632ec89d7
commit
367fe8eb8d
@ -22,8 +22,8 @@ haproxy_skyline_service:
|
||||
haproxy_backend_port: "{{ skyline_service_port }}"
|
||||
haproxy_balance_type: http
|
||||
haproxy_balance_alg: source
|
||||
haproxy_backend_options:
|
||||
- "httpchk HEAD /auth/login/ HTTP/1.0\\r\\nUser-agent:\\ osa-haproxy-healthcheck"
|
||||
haproxy_backend_httpcheck_options:
|
||||
- 'send hdr User-Agent "osa-haproxy-healthcheck" meth HEAD uri {{ (skyline_webroot | default("/")).rstrip("/") }}/auth/login/'
|
||||
haproxy_service_enabled: "{{ groups['skyline_all'] is defined and groups['skyline_all'] | length > 0 }}"
|
||||
haproxy_map_entries:
|
||||
- name: base_regex
|
||||
|
Loading…
x
Reference in New Issue
Block a user