]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/tasks/cephfs/kernel_mount.py
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / qa / tasks / cephfs / kernel_mount.py
index 4fdbd1b0c5f94d3f7387a7f54d7f4e547e729bd4..6b128f57247d0ed6e82cc621f593bae26c93ebce 100644 (file)
@@ -17,9 +17,9 @@ UMOUNT_TIMEOUT = 300
 
 
 class KernelMount(CephFSMount):
-    def __init__(self, mons, test_dir, client_id, client_remote,
+    def __init__(self, ctx, mons, test_dir, client_id, client_remote,
                  ipmi_user, ipmi_password, ipmi_domain):
-        super(KernelMount, self).__init__(test_dir, client_id, client_remote)
+        super(KernelMount, self).__init__(ctx, test_dir, client_id, client_remote)
         self.mons = mons
 
         self.mounted = False
@@ -47,6 +47,8 @@ class KernelMount(CephFSMount):
         )
 
     def mount(self, mount_path=None, mount_fs_name=None):
+        self.setupfs(name=mount_fs_name)
+
         log.info('Mounting kclient client.{id} at {remote} {mnt}...'.format(
             id=self.client_id, remote=self.client_remote, mnt=self.mountpoint))