From 7b8ffcceb8c29f810b1bfd89d79de074ea973543 Mon Sep 17 00:00:00 2001 From: Laura Flores Date: Thu, 6 Jul 2023 10:20:46 -0500 Subject: [PATCH] qa/tasks: set defer_client_eviction_on_laggy_osds=false in api tests 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 (cherry picked from commit 2322d2c8e0f4902aba49f7441d8dd00bdb675b85) (cherry picked from commit 2032e8b41efb665db46ad0584058b08bd1aaf561) --- qa/tasks/mgr/mgr_test_case.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/qa/tasks/mgr/mgr_test_case.py b/qa/tasks/mgr/mgr_test_case.py index f5392d3ba38a3..a650070f33534 100644 --- a/qa/tasks/mgr/mgr_test_case.py +++ b/qa/tasks/mgr/mgr_test_case.py @@ -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 -- 2.39.5