From: Ramana Raja Date: Thu, 5 Nov 2020 09:00:53 +0000 (+0530) Subject: qa/tasks/{kclient,ceph_fuse}: allow mounting X-Git-Tag: v16.1.0~404^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8c11cdf5dc67cff05fa8dec53e467b232ef240f4;p=ceph.git qa/tasks/{kclient,ceph_fuse}: allow mounting ... a specific filesystem. Signed-off-by: Ramana Raja --- diff --git a/qa/tasks/ceph_fuse.py b/qa/tasks/ceph_fuse.py index 0e178d3d449d..5c102d4bb681 100644 --- a/qa/tasks/ceph_fuse.py +++ b/qa/tasks/ceph_fuse.py @@ -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 diff --git a/qa/tasks/kclient.py b/qa/tasks/kclient.py index 5378a6c0b955..f3365aec50b3 100644 --- a/qa/tasks/kclient.py +++ b/qa/tasks/kclient.py @@ -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