]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa: avoid explicit set to client mountpoint as "/" 49912/head
authorVenky Shankar <vshankar@redhat.com>
Mon, 30 Jan 2023 14:16:35 +0000 (19:46 +0530)
committerVenky Shankar <vshankar@redhat.com>
Mon, 30 Jan 2023 14:28:16 +0000 (19:58 +0530)
commit4322dcc2e94bab80042eaf1e236174f6e6772cec
tree44bd8c7c76aefa24d115523ed6e64bfd90afeea7
parentd33a2a9181435d8834586f02a41e0cc49d6dd4b6
qa: avoid explicit set to client mountpoint as "/"

This causes self.cephfs_mntpt to set as "/" by default which
overrides the config in ceph.conf. `test_client_cache_size`
updates ceph.conf with:

        client mountpoint = /subdir

However, the ceph-fuse mount command has --client_mountpoint explicitly
set as "/", thereby causing the root of the file system to get mounted which
confuses the test.

Fixes: http://tracker.ceph.com/issues/56446
Introduced-by: bf83eaa4e75516a6937e4097b8708c48856a9473
Signed-off-by: Venky Shankar <vshankar@redhat.com>
qa/tasks/cephfs/fuse_mount.py
qa/tasks/cephfs/kernel_mount.py
qa/tasks/cephfs/mount.py