]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/test_orchestrator: accept force_delete_data in remove_daemons 69438/head
authorKobi Ginon <kginon@redhat.com>
Fri, 12 Jun 2026 16:01:44 +0000 (19:01 +0300)
committerKobi Ginon <kginon@redhat.com>
Fri, 12 Jun 2026 16:01:44 +0000 (19:01 +0300)
PR #68428 plumbed force_delete_data through orchestrator daemon/service
removal; update the test_orchestrator stub so orchestrator_cli QA
(test_mds_rm, etc.) does not fail with an unexpected keyword argument.

Fixes: https://tracker.ceph.com/issues/77374
Signed-off-by: Kobi Ginon <kginon@redhat.com>
src/pybind/mgr/test_orchestrator/module.py

index e63efbdbdd8f14072fdf042c2100d46ddb29805d..9ccec1338a292b4f216efdc3f4a5fd5bff946177 100644 (file)
@@ -225,12 +225,12 @@ class TestOrchestrator(MgrModule, orchestrator.Orchestrator):
         return [self._create_osds(dg) for dg in specs]
 
     @handle_orch_error
-    def remove_daemons(self, names):
+    def remove_daemons(self, names, force_delete_data=False):
         assert isinstance(names, list)
         return 'done'
 
     @handle_orch_error
-    def remove_service(self, service_name, force = False):
+    def remove_service(self, service_name, force=False, force_delete_data=False):
         assert isinstance(service_name, str)
         return 'done'