From: Vallari Agrawal Date: Tue, 26 Mar 2024 09:15:50 +0000 (+0530) Subject: orchestra/daemon/cephadmunit.py: fix start() method X-Git-Tag: 1.2.0~52^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1928%2Fhead;p=teuthology.git orchestra/daemon/cephadmunit.py: fix start() method In CephadmUnit.start() method, explicitly pass start_cmd as "args" keyword because Remote.run expects keyword arguments. Fixes: https://tracker.ceph.com/issues/65162 Signed-off-by: Vallari Agrawal --- diff --git a/teuthology/orchestra/daemon/cephadmunit.py b/teuthology/orchestra/daemon/cephadmunit.py index 9b579da08..57e504659 100644 --- a/teuthology/orchestra/daemon/cephadmunit.py +++ b/teuthology/orchestra/daemon/cephadmunit.py @@ -136,7 +136,7 @@ class CephadmUnit(DaemonState): self.restart() return self._start_logger() - self.remote.run(self.start_cmd) + self.remote.run(args=self.start_cmd) def stop(self, timeout=300): """