]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/cephadm: disable allow_standby_replay during CephFS upgrade
authorPatrick Donnelly <pdonnell@redhat.com>
Sat, 18 Sep 2021 00:15:01 +0000 (20:15 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 15 Oct 2021 01:10:51 +0000 (21:10 -0400)
commitdcb3455fdfba83a64be3b0a030ef468acfcf6fe6
tree6279ce773a2b92f4066e1012f6023a49a861ecd6
parent6697ebe2eaac4be3bf7fafa057ae98398aa115ea
pybind/mgr/cephadm: disable allow_standby_replay during CephFS upgrade

Following procedure in [1].

Also: harden checks for active. Ensure "up" and "in" are both [0]. There
should be no standby-replay daemon.

[1] https://docs.ceph.com/en/pacific/cephfs/upgrading/

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