]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tasks/cephfs: set norequire_active_mds on kclient
authorJohn Spray <john.spray@redhat.com>
Tue, 13 Dec 2016 01:05:25 +0000 (01:05 +0000)
committerJohn Spray <john.spray@redhat.com>
Tue, 13 Dec 2016 01:05:25 +0000 (01:05 +0000)
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 <john.spray@redhat.com>
tasks/cephfs/kernel_mount.py

index 9ea3edecdd8d80087243082a3a4283ae1d9a5191..97886de05bec054b22c1c5b1764543c252af3296 100644 (file)
@@ -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: