]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm/services/ingress: fixed keepalived config bug
authorBernard Landon <bernard@lndn.ch>
Mon, 3 Jun 2024 15:53:55 +0000 (17:53 +0200)
committerAdam King <adking@redhat.com>
Mon, 1 Jul 2024 19:57:41 +0000 (15:57 -0400)
commit3401a9bfd60dabd1906ecd5dbd162818b99a3a5d
treebb255bba998e23161387df7deb0ee8cfcd69360b
parent3bf966ab66a674cc596126e26df696ffce2e3982
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>
(cherry picked from commit 1513c0d1cf30fdab584be0aa979f5c4fe31a7a6d)
src/pybind/mgr/cephadm/services/ingress.py
src/pybind/mgr/cephadm/tests/test_services.py