]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: avoid unnecessary mds restart
authorPatrick Donnelly <pdonnell@ibm.com>
Wed, 29 Jan 2025 20:26:45 +0000 (15:26 -0500)
committerPatrick Donnelly <pdonnell@ibm.com>
Thu, 30 Jan 2025 02:12:53 +0000 (21:12 -0500)
The MDS are already sitting in standby because the fs is damaged.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
qa/tasks/cephfs/test_data_scan.py

index 30be5c1a47dc33f01f6e650f0650413111a019f7..6c75d2144579a5841c9fb417480aaafa0e76938d 100644 (file)
@@ -416,8 +416,8 @@ class TestDataScan(CephFSTestCase):
 
         # After recovery, we need the MDS to not be strict about stats (in production these options
         # are off by default, but in QA we need to explicitly disable them)
-        self.fs.set_ceph_conf('mds', 'mds verify scatter', False)
-        self.fs.set_ceph_conf('mds', 'mds debug scatterstat', False)
+        self.config_set('mds', 'mds verify scatter', False)
+        self.config_set('mds', 'mds debug scatterstat', False)
 
         # Apply any data damage the workload wants
         workload.damage()
@@ -461,7 +461,6 @@ class TestDataScan(CephFSTestCase):
         self.run_ceph_cmd('mds', 'repaired', '0')
 
         # Start the MDS
-        self.fs.mds_restart()
         self.fs.wait_for_daemons()
         log.info(str(self.mds_cluster.status()))