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
This commit is contained in:
Dmitriy Rabotyagov 2023-10-26 12:09:31 +02:00
parent 719e4c9ac0
commit f4be49b6fe
1 changed files with 1 additions and 2 deletions

View File

@ -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)) }}"