]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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)
committerLuis Domingues <domingues.luis@protonmail.ch>
Thu, 22 Jun 2023 04:16:00 +0000 (06:16 +0200)
commit0dfe3e68a9284736f643a06acfda719cec0a6ea4
treee9d7e1bd737afbfbccf450f82fc8205afaabae2a
parent863ab1adf91673c47740ac781d21dc6b4e1adae4
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>
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