]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/cephadm: upgrade MDS if no MDS is "up" 43728/head
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 28 Oct 2021 00:26:55 +0000 (20:26 -0400)
committerSebastian Wagner <sewagner@redhat.com>
Tue, 2 Nov 2021 09:02:51 +0000 (10:02 +0100)
commitb67f81b862fc65b9e0d239b73df6b82d898ce9e6
tree3c2479c4178745d3c6216d38c2c6bdbcec410214
parent9816197b301d69ff7581fa583fa5317e294f501f
pybind/mgr/cephadm: upgrade MDS if no MDS is "up"

The upgrade process can get stuck if an MDS crashes. This should be rare
when straddling v16.2.5 where the compatset of the file system inherits
the FSMap "default". The MDS from pre-v16.2.5 do not yet share a
compatset with the mons so the mons will do no promotions, causing
upgrade task to get stuck.

Fixes: https://tracker.ceph.com/issues/53074
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit d7717256644e45ba670165c6af0941461fb884f4)
src/pybind/mgr/cephadm/upgrade.py