]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/cephadm: upgrade MDS if no MDS is "up" 43693/head
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 28 Oct 2021 00:26:55 +0000 (20:26 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 28 Oct 2021 00:36:42 +0000 (20:36 -0400)
commitd7717256644e45ba670165c6af0941461fb884f4
tree6cf620cccef0a1a4ce527574259bb9b5c228413f
parent6d0e87ccaf8bc502075f7a0ff112a77f64125a6e
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>
src/pybind/mgr/cephadm/upgrade.py