]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/{kclient,ceph_fuse}: allow mounting
authorRamana Raja <rraja@redhat.com>
Thu, 5 Nov 2020 09:00:53 +0000 (14:30 +0530)
committerRamana Raja <rraja@redhat.com>
Fri, 20 Nov 2020 07:53:21 +0000 (13:23 +0530)
... a specific filesystem.

Signed-off-by: Ramana Raja <rraja@redhat.com>
qa/tasks/ceph_fuse.py
qa/tasks/kclient.py

index 0e178d3d449da32430766e2c37070ec6b749ad4f..5c102d4bb681d3aa8298b592393cea64645df429 100644 (file)
@@ -121,6 +121,7 @@ def task(ctx, config):
             client_config = {}
 
         auth_id = client_config.get("auth_id", id_)
+        cephfs_name = client_config.get("cephfs_name")
 
         skip = client_config.get("skip", False)
         if skip:
@@ -130,7 +131,8 @@ def task(ctx, config):
         if id_ not in all_mounts:
             fuse_mount = FuseMount(ctx=ctx, client_config=client_config,
                                    test_dir=testdir, client_id=auth_id,
-                                   client_remote=remote, brxnet=brxnet)
+                                   client_remote=remote, brxnet=brxnet,
+                                   cephfs_name=cephfs_name)
             all_mounts[id_] = fuse_mount
         else:
             # Catch bad configs where someone has e.g. tried to use ceph-fuse and kcephfs for the same client
index 5378a6c0b955176fc9d1baf14a309e356e1a36db..f3365aec50b36f5e62857a33f206d1ff490dc8c8 100644 (file)
@@ -84,6 +84,7 @@ def task(ctx, config):
 
         deep_merge(client_config, overrides)
 
+        cephfs_name = client_config.get("cephfs_name")
         if config.get("disabled", False) or not client_config.get('mounted', True):
             continue
 
@@ -93,7 +94,8 @@ def task(ctx, config):
             client_id=id_,
             client_remote=remote,
             brxnet=ctx.teuthology_config.get('brxnet', None),
-            config=client_config)
+            config=client_config,
+            cephfs_name=cephfs_name)
 
         mounts[id_] = kernel_mount