]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: allow mgr colo if mgr_standby_modules=false
authorSage Weil <sage@newdream.net>
Mon, 12 Apr 2021 14:17:17 +0000 (10:17 -0400)
committerSage Weil <sage@newdream.net>
Fri, 16 Apr 2021 20:00:31 +0000 (16:00 -0400)
commit77e0f5b45c6c33c6c4d857bfab3e33ec8d9ed51c
tree255baf3e501c6f9a9eaa1cff2a98d28cfd9312d4
parent35d2146c1a801a2b478a19b9d62af0f10279fd34
mgr/cephadm: allow mgr colo if mgr_standby_modules=false

If the standby mgr daemons' modules aren't listening on any ports, then we
can schedule multiple on the same host.

Note that this may make 'orch ps' output misleading, as ports will be
reported for each mgr instance, but only one of them will actually be
listening at any one time (if they are behaving, at least!).  Treat a
mgr port check error as non-fatal.

Signed-off-by: Sage Weil <sage@newdream.net>
src/cephadm/cephadm
src/pybind/mgr/cephadm/services/cephadmservice.py