]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/MgrMap: use always_on_modules from most recent release
authorSage Weil <sage@redhat.com>
Tue, 31 Mar 2020 21:47:54 +0000 (16:47 -0500)
committerSage Weil <sage@newdream.net>
Wed, 8 Apr 2020 13:10:32 +0000 (08:10 -0500)
commitdc9a28652428225aedced204645440688d20d035
tree84e2ab890b65379765bd6213dd16015730c1db3c
parentcc99c3bc24f33406b36e4d12721f5daf7f2fefbe
mon/MgrMap: use always_on_modules from most recent release

If our release isn't in the always_on_map, say because you just upgraded,
then start with the modules from the last/most recent release.  This
should be sufficient to allow an upgrade when the mon is still the old
release and the mgrmap doesn't tell us what modules we should be enabling.

(Arguably, the always_on_modules should be enshrined in the MgrMap itself
and not in the mon?)

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/MgrMap.h