]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/tasks/vstart_runner: run daemons in foreground
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 19 Apr 2024 03:34:16 +0000 (23:34 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Tue, 25 Feb 2025 16:17:15 +0000 (11:17 -0500)
This mirrors teuthology and makes it possible to check the exit status of a
daemon.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit e2e2144a56bc71de739e7bc531b253a04a122b00)

qa/tasks/vstart_runner.py

index db856537d8b9ee04659b034c02266e598eddb053..5bc460267a79d91f495339fceb8752eec59ed9c7 100644 (file)
@@ -555,7 +555,7 @@ class LocalDaemon(object):
 
         self.proc = self.controller.run(args=[
             os.path.join(BIN_PREFIX, "ceph-{0}".format(self.daemon_type)),
-            "-i", self.daemon_id])
+            "-i", self.daemon_id, "-f"], wait=False)
 
     def signal(self, sig, silent=False):
         if not self.running():