Merge pull request #43789 from sebastian-philipp/could-not-locate-podmanb

cephadm: Avoid "Could not locate podman: podman not found"

Reviewed-by: Michael Fritch <mfritch@suse.com>
This commit is contained in:
Sebastian Wagner 2021-11-10 11:08:25 +01:00 committed by GitHub
commit 23f040f340
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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