From: Vallari Agrawal Date: Thu, 28 Mar 2024 08:32:55 +0000 (+0530) Subject: orchestra/daemon/cephadmunit.py: set is_started in start() X-Git-Tag: 1.2.0~52^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1930%2Fhead;p=teuthology.git orchestra/daemon/cephadmunit.py: set is_started in start() In CephadmUnit.start() method, `is_started` isn't set to true. When running() is called after start(), then it would return false, which is not correct since the daemon has been started by calling start(). This commit fixes that issue. Signed-off-by: Vallari Agrawal --- diff --git a/teuthology/orchestra/daemon/cephadmunit.py b/teuthology/orchestra/daemon/cephadmunit.py index 57e504659..7b10f819f 100644 --- a/teuthology/orchestra/daemon/cephadmunit.py +++ b/teuthology/orchestra/daemon/cephadmunit.py @@ -137,6 +137,7 @@ class CephadmUnit(DaemonState): return self._start_logger() self.remote.run(args=self.start_cmd) + self.is_started = True def stop(self, timeout=300): """