ceph-ansible/roles/ceph-rgw-loadbalancer/tasks
Benoît Knecht 3116f46422 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>
2021-01-12 11:03:12 +01:00
..
main.yml Add role definitions of ceph-rgw-loadbalancer 2019-06-06 17:12:04 +02:00
pre_requisite.yml ceph-rgw-loadbalancer: Fix keepalived master selection 2021-01-12 11:03:12 +01:00
start_rgw_loadbalancer.yml Add role definitions of ceph-rgw-loadbalancer 2019-06-06 17:12:04 +02:00