]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tasks: wait for mds active before mounting clients
authorJohn Spray <jspray@redhat.com>
Mon, 8 Sep 2014 11:02:30 +0000 (12:02 +0100)
committerJohn Spray <jspray@redhat.com>
Fri, 19 Sep 2014 13:16:14 +0000 (14:16 +0100)
To make the logs clearer when trying to work out
if/when something went wrong, rather than always
having client logs start with some failures.

Signed-off-by: John Spray <john.spray@redhat.com>
tasks/mds_client_limits.py
tasks/mds_client_recovery.py

index 8ea8849f170ec8dc926657bf7170c1a910269abb..34bdea9062b9d3ad66dc2d316a5f3e75471968f2 100644 (file)
@@ -85,6 +85,7 @@ class TestClientLimits(CephFSTestCase):
 
     def setUp(self):
         self.fs.mds_restart()
+        self.fs.wait_for_daemons()
         self.mount_a.mount()
         self.mount_a.wait_until_mounted()
         self.mount_b.mount()
index bb8fe8231484efb086e6ba507abdc84e3c996cc8..6f65575ffdd44dac705037359b639ddd9c6dfcea 100644 (file)
@@ -36,6 +36,7 @@ class TestClientRecovery(CephFSTestCase):
     def setUp(self):
         self.fs.clear_firewall()
         self.fs.mds_restart()
+        self.fs.wait_for_daemons()
         self.mount_a.mount()
         self.mount_b.mount()
         self.mount_a.wait_until_mounted()