From f4be49b6fef7defbaeed51fff8677ba1cdb729ae Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Thu, 26 Oct 2023 12:09:31 +0200 Subject: [PATCH] Replace deprecated httpchk with send We have replaced httpchk in previous patch [1] while missing to cover RGW with the change. [1] https://review.opendev.org/c/openstack/openstack-ansible/+/887285 Change-Id: If642af90f433c3ed02eee5a556d4eaffa3f50a22 --- inventory/group_vars/haproxy/haproxy.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inventory/group_vars/haproxy/haproxy.yml b/inventory/group_vars/haproxy/haproxy.yml index efdb379f40..889c2f5061 100644 --- a/inventory/group_vars/haproxy/haproxy.yml +++ b/inventory/group_vars/haproxy/haproxy.yml @@ -112,9 +112,8 @@ haproxy_ceph_rgw_service: haproxy_balance_alg: source haproxy_port: "{{ radosgw_service_port | default(7980) }}" haproxy_balance_type: http - haproxy_backend_options: - - httpchk HEAD / haproxy_backend_httpcheck_options: + - send meth HEAD - expect rstatus 200|405 # `openstack_service_backend_ssl` is not taken into account if ceph is installed independently. haproxy_backend_ssl: "{{ ceph_rgw_backend_ssl | default((groups['ceph-rgw'] is defined and groups['ceph-rgw'] | length > 0) | ternary(openstack_service_backend_ssl, False)) }}"