From c805b21f75de34bc3104e9a68a3fe983e7b53ce9 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/salt/ceph-salt/deployment_day_1.sh.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/seslib/templates/salt/ceph-salt/deployment_day_1.sh.j2 b/seslib/templates/salt/ceph-salt/deployment_day_1.sh.j2 index a589afed..dfa6a369 100644 --- a/seslib/templates/salt/ceph-salt/deployment_day_1.sh.j2 +++ b/seslib/templates/salt/ceph-salt/deployment_day_1.sh.j2 @@ -1,6 +1,11 @@ set -ex +{% if version == 'octopus' %} +# https://github.com/SUSE/sesdev/issues/633 +zypper addlock "podman == 2.2.1" +{% endif %} + {% if ceph_salt_git_repo and ceph_salt_git_branch %} # install ceph-salt cd /root