]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: Avoid "Could not locate podman: podman not found"
authorSebastian Wagner <sewagner@redhat.com>
Wed, 3 Nov 2021 11:12:15 +0000 (12:12 +0100)
committerSebastian Wagner <sewagner@redhat.com>
Wed, 17 Nov 2021 10:25:57 +0000 (11:25 +0100)
Right now, we're spamming the cephadm.log on docker deployments

Fixes: https://tracker.ceph.com/issues/52869
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
(cherry picked from commit 2767766ed970bf541400e62e6216f4ac29798d43)

src/cephadm/cephadm

index 9ea76322db5e56e7aba4b2d09091719b3615a2d4..9fe5fb3763b382935b509e31a04712884b56c338 100755 (executable)
@@ -1999,8 +1999,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