From: John Spray Date: Tue, 29 Jul 2014 12:11:12 +0000 (+0100) Subject: task/mds_journal_migration: fix cleanup X-Git-Tag: 1.1.0~1303 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0147c74671402fac68d2910f61b1736e0fc56dba;p=teuthology.git task/mds_journal_migration: fix cleanup Previously this was remounting in the background which meant that if a workunit was executed immediately afterwards it could put files in the mount dir before the FS was mounted, causing the mount to fail. Signed-off-by: John Spray --- diff --git a/teuthology/task/mds_journal_migration.py b/teuthology/task/mds_journal_migration.py index d4ff0339..0d2bf09c 100644 --- a/teuthology/task/mds_journal_migration.py +++ b/teuthology/task/mds_journal_migration.py @@ -101,5 +101,6 @@ def task(ctx, config): # Leave all MDSs and clients running for any child tasks for mount in ctx.mounts.values(): mount.mount() + mount.wait_until_mounted() yield