From: John Spray Date: Mon, 8 Sep 2014 11:02:30 +0000 (+0100) Subject: tasks: wait for mds active before mounting clients X-Git-Tag: v0.94.10~27^2^2~282^2~6^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d9ec7f2f7aa9c29de36f6e5027c0588a77fbcc3c;p=ceph.git tasks: wait for mds active before mounting clients 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 --- diff --git a/tasks/mds_client_limits.py b/tasks/mds_client_limits.py index 8ea8849f170e..34bdea9062b9 100644 --- a/tasks/mds_client_limits.py +++ b/tasks/mds_client_limits.py @@ -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() diff --git a/tasks/mds_client_recovery.py b/tasks/mds_client_recovery.py index bb8fe8231484..6f65575ffdd4 100644 --- a/tasks/mds_client_recovery.py +++ b/tasks/mds_client_recovery.py @@ -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()