From: John Spray Date: Tue, 13 Dec 2016 01:05:25 +0000 (+0000) Subject: tasks/cephfs: set norequire_active_mds on kclient X-Git-Tag: v11.1.1~58^2^2~4^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8fdae47fd35d570e27c92f072cf5a7184856386a;p=ceph.git 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 --- diff --git a/tasks/cephfs/kernel_mount.py b/tasks/cephfs/kernel_mount.py index 9ea3edecdd8d..97886de05bec 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: