]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph: wait for CephFS to be healthy before proceeding
authorGreg Farnum <gfarnum@redhat.com>
Wed, 16 Sep 2015 20:53:36 +0000 (13:53 -0700)
committerGreg Farnum <gfarnum@redhat.com>
Wed, 16 Sep 2015 20:53:36 +0000 (13:53 -0700)
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
tasks/ceph.py

index b8c0fba13679605a402819af29fcc1596465c2a1..717b7ec551a964352a2a03c073ac95a8bce496e6 100644 (file)
@@ -292,6 +292,9 @@ def cephfs_setup(ctx, config):
             'ceph',
             'mds', 'set_max_mds', str(num_active)])
 
+        # make sure the FS is accessible before proceeding
+        ceph_fs.wait_for_daemons(timeout=300)
+
     yield