diff --git a/.githubmap b/.githubmap index a9dcf6c6a797c..35a3ef8a12f78 100644 --- a/.githubmap +++ b/.githubmap @@ -50,3 +50,4 @@ yuyuyu101 Haomai Wang jtlayton Jeff Layton yuriw Yuri Weinstein jecluis João Eduardo Luís +yunfeiguan Yunfei Guan diff --git a/qa/tasks/ceph_fuse.py b/qa/tasks/ceph_fuse.py index c9d8354966820..14c6989720b58 100644 --- a/qa/tasks/ceph_fuse.py +++ b/qa/tasks/ceph_fuse.py @@ -7,6 +7,8 @@ from teuthology import misc as teuthology from cephfs.fuse_mount import FuseMount +from tasks.cephfs.filesystem import MDSCluster +from tasks.cephfs.filesystem import Filesystem log = logging.getLogger(__name__) @@ -103,6 +105,14 @@ def task(ctx, config): all_mounts = getattr(ctx, 'mounts', {}) mounted_by_me = {} + log.info('Wait for MDS to reach steady state...') + mds_cluster = MDSCluster(ctx) + status = mds_cluster.status() + for filesystem in status.get_filesystems(): + fs = Filesystem(ctx, fscid=filesystem['id']) + fs.wait_for_daemons() + log.info('Ready to start ceph-fuse...') + # Construct any new FuseMount instances for id_, remote in clients: client_config = config.get("client.%s" % id_)