]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
task/mds_journal_migration: fix cleanup
authorJohn Spray <jcspray@gmail.com>
Tue, 29 Jul 2014 12:11:12 +0000 (13:11 +0100)
committerJohn Spray <jcspray@gmail.com>
Tue, 29 Jul 2014 12:11:12 +0000 (13:11 +0100)
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 <john.spray@redhat.com>
teuthology/task/mds_journal_migration.py

index d4ff03392b74cdca7a787897d2868b3953b0429b..0d2bf09cf5ce751687ddeb70408930c09fea1de6 100644 (file)
@@ -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