From 33e044d9e7af1153d6c8b0c2a12387da87789a6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Jeanneret?= Date: Fri, 9 Sep 2022 14:05:38 +0200 Subject: [PATCH] We need to downgrade in the pre.yml as well There's an issue with containers-common not providing all the needed gpg keys, leading to failures when the job downloads a container. the directories.yml kicks in too early, so the package isn't installed at that point, since it's installed as a dependency of podman, installed during the "Run bindep" task, Change-Id: I440615cc8fdeaf4a315dede080141528278aec94 Related-Bug: #1988514 (cherry picked from commit 4c6889ece5b66912ae240ae222c97d726711d52a) --- zuul.d/playbooks/pre.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/zuul.d/playbooks/pre.yml b/zuul.d/playbooks/pre.yml index b738dbcbb..48fd59e3f 100644 --- a/zuul.d/playbooks/pre.yml +++ b/zuul.d/playbooks/pre.yml @@ -96,6 +96,13 @@ - name: Reset ssh connection meta: reset_connection tasks: + # FIXME(chandankumar): Downgrade ontainers-common due to + # https://bugs.launchpad.net/tripleo/+bug/1988500 and + # https://bugzilla.redhat.com/show_bug.cgi?id=2123611 + - name: Downgrade containers-common + shell: | + if [ -n "$(rpm -qa containers-common)" ];then dnf -y downgrade containers-common-1-40.el9; fi + become: true - name: Get Ansible Galaxy roles command: >- {{ ansible_user_dir }}/test-python/bin/ansible-galaxy install