]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: wait for active MDS during fail_fs upgrade 69844/head
authorKobi Ginon <kginon@redhat.com>
Tue, 30 Jun 2026 16:07:25 +0000 (19:07 +0300)
committerKobi Ginon <kginon@redhat.com>
Wed, 22 Jul 2026 15:20:24 +0000 (18:20 +0300)
commit474d8a70b231e863e7113b909b6a8d208a84e668
tree71fd9d0c408d5179a29e113ffd625f5bb304c961
parent1d7f80b43bc0e94c941bcb599453f6cc6acec630
mgr/cephadm: wait for active MDS during fail_fs upgrade

When fail_fs is enabled with max_mds > 1, _prepare_for_mds_upgrade()
issued fs fail and then continued unconditionally, skipping the
up:active wait. _complete_mds_upgrade() also set joinable=true without
waiting for in-rank MDS to recover.

Wait for all in-rank MDS to reach up:active before proceeding with the
upgrade and after re-joining the filesystem. Add fs.ready to the
mds_upgrade_sequence verify task so ceph-fuse teardown does not race
with MDS still in up:rejoin.

Fixes: https://tracker.ceph.com/issues/77835
Signed-off-by: Kobi Ginon <kginon@redhat.com>
src/pybind/mgr/cephadm/upgrade.py