]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks: set defer_client_eviction_on_laggy_osds=false in api tests 52270/head
authorLaura Flores <lflores@redhat.com>
Thu, 6 Jul 2023 15:20:46 +0000 (10:20 -0500)
committerDhairya Parmar <dparmar@redhat.com>
Wed, 16 Aug 2023 06:27:21 +0000 (11:57 +0530)
We expect laggy OSDs in this testing environment,
so it makes sense to disable this warning.

Fixes: https://tracker.ceph.com/issues/61907
Signed-off-by: Laura Flores <lflores@redhat.com>
(cherry picked from commit 2322d2c8e0f4902aba49f7441d8dd00bdb675b85)
(cherry picked from commit 2032e8b41efb665db46ad0584058b08bd1aaf561)

qa/tasks/mgr/mgr_test_case.py

index f5392d3ba38a33ac25e7aa68dc77f835036ac25f..a650070f335348d35d27a526eaa2c998742c685a 100644 (file)
@@ -104,7 +104,11 @@ class MgrTestCase(CephTestCase):
             raise SkipTest(
                 "Only have {0} manager daemons, {1} are required".format(
                     len(cls.mgr_cluster.mgr_ids), cls.MGRS_REQUIRED))
-
+        
+        # We expect laggy OSDs in this testing environment so turn off this warning.
+        # See https://tracker.ceph.com/issues/61907
+        cls.mgr_cluster.mon_manager.raw_cluster_cmd('config', 'set', 'mds',
+                                                    'defer_client_eviction_on_laggy_osds', 'false')
         cls.setup_mgrs()
 
     @classmethod