]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: do not worry about even # of monitors
authorSage Weil <sage@newdream.net>
Thu, 4 Mar 2021 23:30:35 +0000 (18:30 -0500)
committerSage Weil <sage@newdream.net>
Tue, 16 Mar 2021 12:56:18 +0000 (07:56 -0500)
commit2cdffcbbcd78d67a932b9ac3fb2a41baf4da32ad
tree84e10e1ab2888830ce7a95c4c69b27f58036fb3f
parent19fcef5e96ddeb2223ddcfb44d67ccec093a91e7
mgr/cephadm: do not worry about even # of monitors

Ceph works just fine with an even number of monitors.

Upside: more copies of critical cluster data
Downside: we can tolerate the same number of down mons as N-1, and now
 we are slightly more likely to have a failing mon because we have 1 more
 that might fail.

On balance it's not clear that have one fewer mon is any better, so avoid
the confusion and complexity of second-guessing ourselves.

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit ba88a8e5bf81431c37011ba96ffc843eb970683f)
src/pybind/mgr/cephadm/schedule.py
src/pybind/mgr/cephadm/tests/test_scheduling.py