]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mon: Health warning for colocated monitors
authorEric <emzhang@umich.edu>
Tue, 24 Feb 2026 18:39:58 +0000 (10:39 -0800)
committerEric <emzhang@umich.edu>
Tue, 24 Feb 2026 18:39:58 +0000 (10:39 -0800)
commit44e62f85d400c68031c507a14a26b3758928c29c
tree08fd0c5925905b3994ce78bf9cd384d9f0f85cdc
parent22a7cc46d469746c80727ac20df184593e42e6f0
mon: Health warning for colocated monitors
In HealthMonitor::tick(), check ip addresses of all monitors to detect if any are on the same node. Create a HEALTH_WARNING if this occurs.
Added standalone test.

Fixes: https://tracker.ceph.com/issues/74955
Signed-off-by: Eric Zhang <emzhang@ibm.com>
qa/standalone/mon/mon-colocated.sh [new file with mode: 0755]
src/common/options/mon.yaml.in
src/mon/HealthMonitor.cc
src/mon/HealthMonitor.h