]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: Add health warning for colocated monitors
authorEric Zhang <emzhang@umich.edu>
Tue, 3 Mar 2026 17:57:12 +0000 (09:57 -0800)
committerEric Zhang <emzhang@umich.edu>
Tue, 3 Mar 2026 17:57:12 +0000 (09:57 -0800)
commit9ff3307d56949d8e7bb24bda1ad94a1671a192c6
tree9d26c0215dd2060cbf4abfe636000be34611a713
parent22a7cc46d469746c80727ac20df184593e42e6f0
mon: Add 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