From 8fdae47fd35d570e27c92f072cf5a7184856386a Mon Sep 17 00:00:00 2001 From: John Spray Date: Tue, 13 Dec 2016 01:05:25 +0000 Subject: [PATCH] tasks/cephfs: set norequire_active_mds on kclient The kernel client's cluster availability test is more primitive than the fuse client, so we need to switch it off to avoid client mounts failing while MDSs are still coming up. Fixes: http://tracker.ceph.com/issues/18161 Signed-off-by: John Spray --- tasks/cephfs/kernel_mount.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/cephfs/kernel_mount.py b/tasks/cephfs/kernel_mount.py index 9ea3edecdd8d8..97886de05bec0 100644 --- a/tasks/cephfs/kernel_mount.py +++ b/tasks/cephfs/kernel_mount.py @@ -61,7 +61,7 @@ class KernelMount(CephFSMount): if mount_path is None: mount_path = "/" - opts = 'name={id},secretfile={secret}'.format(id=self.client_id, + opts = 'name={id},secretfile={secret},norequire_active_mds'.format(id=self.client_id, secret=secret) if mount_fs_name is not None: -- 2.39.5