]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm/services/ingress: fixed keepalived config bug 57848/head
authorBernard Landon <bernard@lndn.ch>
Mon, 3 Jun 2024 15:53:55 +0000 (17:53 +0200)
committerBernard Landon <bernard@lndn.ch>
Sat, 15 Jun 2024 10:12:02 +0000 (10:12 +0000)
commit1513c0d1cf30fdab584be0aa979f5c4fe31a7a6d
treea2255db9f34af2cac498001dd65261769a7fa57f
parentdf1ae9c9a842a1e80a657430221312dd85f025a1
cephadm/services/ingress: fixed keepalived config bug

In some special conditions, such as ingress service reconfiguration,
cepham would list the network IPs and pick the VIP as the unicast IP of the peer.
It would then generate buggy keepalived config causing service misbehavior.

Fixes: https://tracker.ceph.com/issues/66507
Signed-off-by: Bernard Landon <bernard@lndn.ch>
src/pybind/mgr/cephadm/services/ingress.py
src/pybind/mgr/cephadm/tests/test_services.py