From: Sebastian Wagner Date: Wed, 3 Nov 2021 11:12:15 +0000 (+0100) Subject: cephadm: Avoid "Could not locate podman: podman not found" X-Git-Tag: v17.1.0~474^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=2767766ed970bf541400e62e6216f4ac29798d43;p=ceph-ci.git cephadm: Avoid "Could not locate podman: podman not found" Right now, we're spamming the cephadm.log on docker deployments Fixes: https://tracker.ceph.com/issues/52869 Signed-off-by: Sebastian Wagner --- diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index 180d06e3b0e..f38070f9985 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -1997,8 +1997,8 @@ def find_container_engine(ctx: CephadmContext) -> Optional[ContainerEngine]: for i in CONTAINER_PREFERENCE: try: return i() - except Exception as e: - logger.debug('Could not locate %s: %s' % (i.EXE, e)) + except Exception: + pass return None