From e7eddec5a0211c004f65548e7b7f1b734dc57574 Mon Sep 17 00:00:00 2001 From: Neha Ojha Date: Mon, 14 Sep 2020 21:43:50 +0000 Subject: [PATCH] qa/tasks/ceph_manager.py: remove redundant check in raw_cluster_cmd_result Fixes 530982129ec131ef78e2f9989abfaeddb0959c65. The check for cephadm is no longer needed since it was moved to run_cluster_cmd. Fixes: https://tracker.ceph.com/issues/47239 Signed-off-by: Neha Ojha --- qa/tasks/ceph_manager.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/qa/tasks/ceph_manager.py b/qa/tasks/ceph_manager.py index eaf7920ad5b57..5f0eea714bf76 100644 --- a/qa/tasks/ceph_manager.py +++ b/qa/tasks/ceph_manager.py @@ -1357,10 +1357,6 @@ class CephManager: """ Start ceph on a cluster. Return success or failure information. """ - if self.cephadm: - return shell(self.ctx, self.cluster, self.controller, args=args, - check_status=False).existatus - kwargs['args'], kwargs['check_status'] = args, False return self.run_cluster_cmd(**kwargs).exitstatus -- 2.39.5