]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: Avoid "Could not locate podman: podman not found" 43789/head
authorSebastian Wagner <sewagner@redhat.com>
Wed, 3 Nov 2021 11:12:15 +0000 (12:12 +0100)
committerSebastian Wagner <sewagner@redhat.com>
Thu, 4 Nov 2021 09:50:03 +0000 (10:50 +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>
src/cephadm/cephadm

index 180d06e3b0e9b3b65228a262547e0ee77369e688..f38070f99858e50ca2954ae3d5ca6a25a5c0aa28 100755 (executable)
@@ -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