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>
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: