summaryrefslogtreecommitdiffstats
path: root/qa/tasks/ceph.py
diff options
context:
space:
mode:
authorMilind Changire <mchangir@redhat.com>2022-03-22 12:33:36 +0100
committerMilind Changire <mchangir@redhat.com>2022-04-07 10:45:56 +0200
commitbf83eaa4e75516a6937e4097b8708c48856a9473 (patch)
treef56e248852e6da778c0c606508aa61cc7c3f3cc3 /qa/tasks/ceph.py
parentMerge pull request #45782 from zdover23/wip-doc-2022-04-05-os-recommendations (diff)
downloadceph-bf83eaa4e75516a6937e4097b8708c48856a9473.tar.xz
ceph-bf83eaa4e75516a6937e4097b8708c48856a9473.zip
qa: enhancement for subvol creation and mounting
Fixes: https://tracker.ceph.com/issues/54317 Signed-off-by: Milind Changire <mchangir@redhat.com>
Diffstat (limited to 'qa/tasks/ceph.py')
-rw-r--r--qa/tasks/ceph.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py
index db86d6d53cc..b10bc672310 100644
--- a/qa/tasks/ceph.py
+++ b/qa/tasks/ceph.py
@@ -444,6 +444,9 @@ def cephfs_setup(ctx, config):
name = fs_config.pop('name')
temp = deepcopy(cephfs_config)
teuthology.deep_merge(temp, fs_config)
+ subvols = config.get('subvols', None)
+ if subvols:
+ teuthology.deep_merge(temp, {'subvols': subvols})
fs = Filesystem(ctx, fs_config=temp, name=name, create=True)
fss.append(fs)