]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: Disable keepalived by default and start during serve loop if needed
authorShweta Bhosale <Shweta.Bhosale1@ibm.com>
Tue, 28 Apr 2026 14:02:33 +0000 (19:32 +0530)
committerShweta Bhosale <Shweta.Bhosale1@ibm.com>
Tue, 30 Jun 2026 12:52:11 +0000 (18:22 +0530)
commit4ca10faf79fa8b2bdd16567f34850751b4c75942
treec26313e76c64f4cbf58edfcb40703f68d0225f96
parente33edc889021f4631a73ab1dd565963c52bbff12
mgr/cephadm: Disable keepalived by default and start during serve loop if needed

If the ingress service is configured with a placement count lower than the number of hosts,
then when one node goes down, Keepalived is configured on the remaining hosts.
When the failed host comes back up, if it was previously configured as the master,
the VIP may become active on two hosts. To prevent this, Keepalived is disabled by default
and started within the service loop.

Fixes: https://tracker.ceph.com/issues/76304
Signed-off-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
src/cephadm/cephadm.py
src/pybind/mgr/cephadm/serve.py
src/pybind/mgr/cephadm/services/ingress.py
src/pybind/mgr/cephadm/tests/services/test_ingress.py
src/pybind/mgr/cephadm/tests/services/test_nfs.py