ceph-ansible/roles/ceph-rgw-loadbalancer
Benoît Knecht 97066a1ebc ceph-rgw-loadbalancer: Fix keepalived master selection
While 2ca33641 fixed a bug in the way the `keepalived.conf.j2` template matched
hostnames to set the VRRP `MASTER`/`BACKUP` states, it also introduced a
regression in the case where `virtual_ips` is a list of more than one IP
address.

The previous behavior would result in each host in the `rgwloadbalancers` group
to be `MASTER` for one of the `virtual_ips`, but the new behavior caused the
first host to be `MASTER` for all the IP address in `virtual_ips`.

This commit restores the original behavior.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
(cherry picked from commit 2bede4762e)
2021-05-05 09:56:42 +02:00
..
defaults Add option for HAproxy to act a SSL frontend termination point for loadbalanced RGW instances. 2020-02-03 09:32:43 -05:00
handlers Add role definitions of ceph-rgw-loadbalancer 2019-06-06 19:44:30 +00:00
meta lint: fix error [303,602,701,702] 2019-10-21 15:55:54 -04:00
tasks ceph-rgw-loadbalancer: Fix rgw_ports fact 2021-04-15 13:21:07 +02:00
templates ceph-rgw-loadbalancer: Fix keepalived master selection 2021-05-05 09:56:42 +02:00