]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa: avoid explicit set to client mountpoint as "/" 51509/head
authorVenky Shankar <vshankar@redhat.com>
Wed, 9 Aug 2023 05:43:01 +0000 (11:13 +0530)
committerMilind Changire <mchangir@redhat.com>
Wed, 9 Aug 2023 05:43:01 +0000 (11:13 +0530)
commitcf6f49b7a36795db7ec83a3c3baa99d613c1eb55
treecb57678034babab2e49db4d61724322420b462ac
parente09564dca118002d94405193a57c3e484ee0f5c5
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)

Conflicts:
qa/tasks/cephfs/fuse_mount.py
- merge conflicts due to updated upstream code
- removed offending line; host_mntpt was appended to the mount command
  later in the code; this issue was created due to manual conflict
  resolution during backporting process;
qa/tasks/cephfs/kernel_mount.py
qa/tasks/cephfs/mount.py
- fixed conflicts between 'main' and 'pacific' branches
qa/tasks/cephfs/fuse_mount.py
qa/tasks/cephfs/mount.py