]> git-server-git.apps.pok.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>
Tue, 4 May 2021 16:15:51 +0000 (11:15 -0500)
commita3fa9bea9749ffb620593a6b4842dbe67f4c8a89
tree5423abb0d62dd9803748500be2ff8d97e673e835
parent20aa452048c39804a0eb6cec1bc7c8ff10c72adc
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>
(cherry picked from commit 77e0f5b45c6c33c6c4d857bfab3e33ec8d9ed51c)
src/cephadm/cephadm
src/pybind/mgr/cephadm/services/cephadmservice.py