]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa: set mds config with `config set` for a particular test
authorVenky Shankar <vshankar@redhat.com>
Mon, 20 Nov 2023 05:44:24 +0000 (00:44 -0500)
committerVenky Shankar <vshankar@redhat.com>
Wed, 13 Mar 2024 13:49:41 +0000 (19:19 +0530)
commit19856b8afaf9062a2fccc5bf9708f7ea5f339344
tree05736a4ffec231de3ce13e01a2cdb6ffe9ce38c4
parentca0823a371b1aac47e37a56202c1256c76196944
qa: set mds config with `config set` for a particular test

The config setting is persisted in ceph.conf after the MDSs are started.
However, the test case fails the file system causing the active MDS to
restart and pick up the new config. When the file system is marked joinable,
then, if the MDS which was standby before the file system was marked failed
takes over as the rank, the updated setting are not used by this MDS.

In the failed test, merging directory fragment is disabled, but since
the config is set in ceph.conf, the (earlier standby) MDS which acquires
a rank uses the default merge size causing the dirfrag to merge and
thereby tripping the test.

Fixes: http://tracker.ceph.com/issues/57087
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 2958a7cd1259cdfb6e04ebc5047cadb86bf90707)
qa/tasks/cephfs/test_data_scan.py