]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: Split multicast interface and unicast_ip in keepalived.conf
authorLuis Domingues <domingues.luis@protonmail.ch>
Tue, 13 Jun 2023 07:59:35 +0000 (09:59 +0200)
committerAdam King <adking@redhat.com>
Thu, 31 Aug 2023 17:36:15 +0000 (13:36 -0400)
commit7094d79f5e38ce5cc0b333f11a19715abbadfcdd
tree32e49b0d44925a335e754302a3595209b3f7c14d
parent57c25f9af0d7cc159e75eee5dbf74fee9b2ab28b
cephadm: Split multicast interface and unicast_ip in keepalived.conf

When deploying keepalived, cephadm set interface and unicast_src_ip
in keepalived.conf. However, having both options are set, but
if unicast_src_ip is not in the interface set by 'interface',
the instrances of keepalived will not properly commuicate.

This commit makes both options exclusive, and add an option to set
either one or the other. Default is set to 'interface', as it seems
multicast is the default way to deploy keepalived.

Signed-off-by: Luis Domingues <domingues.luis@protonmail.ch>
(cherry picked from commit 0dfe3e68a9284736f643a06acfda719cec0a6ea4)
(cherry picked from commit 837c273da2aa3dd3b3fe09b9ac04fd032149de6d)
doc/cephadm/services/rgw.rst
src/pybind/mgr/cephadm/services/ingress.py
src/pybind/mgr/cephadm/templates/services/ingress/keepalived.conf.j2
src/python-common/ceph/deployment/service_spec.py