]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa: avoid explicit set to client mountpoint as "/" 51047/head
authorVenky Shankar <vshankar@redhat.com>
Mon, 30 Jan 2023 14:16:35 +0000 (19:46 +0530)
committerMilind Changire <mchangir@redhat.com>
Wed, 12 Apr 2023 11:57:26 +0000 (17:27 +0530)
commit17fb7af533f51c121615a5c06431e1519fc62e29
treea157b0fe8f62e9e3cfd1b098586d6bd3e8b7402b
parentd4c7f49ea180c68815c3cc9b2eb86c7a4cbdfd92
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>
(cherry picked from commit 4322dcc2e94bab80042eaf1e236174f6e6772cec)
qa/tasks/cephfs/fuse_mount.py
qa/tasks/cephfs/kernel_mount.py
qa/tasks/cephfs/mount.py