From d20b36d0885fca5d5dc622357ca654ac1c3c757d Mon Sep 17 00:00:00 2001 From: Michael Fritch Date: Thu, 16 Jan 2020 10:42:53 -0700 Subject: [PATCH] orchestra/daemon/cephadmunit: stop following logs on container exit podman will exit when the container is stopped/crashed, whereas journalctl continues to follow the log of the exited container Signed-off-by: Michael Fritch --- teuthology/orchestra/daemon/cephadmunit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/orchestra/daemon/cephadmunit.py b/teuthology/orchestra/daemon/cephadmunit.py index b835d7dd5..436723b57 100644 --- a/teuthology/orchestra/daemon/cephadmunit.py +++ b/teuthology/orchestra/daemon/cephadmunit.py @@ -44,7 +44,7 @@ class CephadmUnit(DaemonState): name = '%s.%s' % (self.type_, self.id_) self.remote_logger = self.remote.run( args=['sudo', self.use_cephadm, 'logs', - '-f', + '-f', '--logger', 'podman' '--fsid', self.fsid, '--name', name], logger=logging.getLogger(self.cluster + '.' + name), -- 2.47.3