From 3fe369d00a72da6c1bf07d4fe1a59ec9358cdd44 Mon Sep 17 00:00:00 2001 From: Patrick Seidensal Date: Thu, 3 Mar 2022 13:42:54 +0100 Subject: [PATCH] seslib: Ignore Podman 2.2.1 in `octopus` Ignore Podman 2.2.1 in `octopus` as it contains an unfixed bug that, in conjunction with using `--network=host`, leads to an `/etc/hosts` entry being added which confuses Pythons `socket.getfqdn()` function and leads to inaccessible links in `ceph mgr services`. Fixes: https://github.com/SUSE/sesdev/issues/633 Signed-off-by: Patrick Seidensal --- seslib/templates/zypper.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/seslib/templates/zypper.j2 b/seslib/templates/zypper.j2 index 7f61bbf0..af5f42c2 100644 --- a/seslib/templates/zypper.j2 +++ b/seslib/templates/zypper.j2 @@ -39,6 +39,11 @@ zypper --non-interactive removerepo repo-source-non-oss || true zypper addrepo --refresh {{ os_repo_url }} {{ os_repo_name }} {% endfor %} +# Ignore Podman 2.2.1 due to bug: https://github.com/SUSE/sesdev/issues/633 +{% if version == 'octopus' %} +zypper addlock "podman == 2.2.1" +{% endif %} + # ses6 deepsea install from source requires: # - SES6 Internal Media repo # - SLE-15-SP1 Developer Tools Module repos