From f3f3527a54dae19461c380b311374b077fb4d690 Mon Sep 17 00:00:00 2001 From: Vallari Agrawal Date: Thu, 28 Mar 2024 14:02:55 +0530 Subject: [PATCH] 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 --- teuthology/orchestra/daemon/cephadmunit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/teuthology/orchestra/daemon/cephadmunit.py b/teuthology/orchestra/daemon/cephadmunit.py index 57e5046592..7b10f819fa 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): """ -- 2.39.5