]>
git.proxmox.com Git - ceph.git/blob - ceph/qa/tasks/mds_pre_upgrade.py
2 Prepare MDS cluster for upgrade.
7 from tasks
.cephfs
.filesystem
import Filesystem
9 log
= logging
.getLogger(__name__
)
11 def task(ctx
, config
):
13 Prepare MDS cluster for upgrade.
15 This task reduces ranks to 1 and stops all standbys.
20 assert isinstance(config
, dict), \
21 'snap-upgrade task only accepts a dict for configuration'
24 fs
.getinfo() # load name
25 fs
.set_allow_standby_replay(False)