From f8cdec632461fbd821050fc584543c1dda6dfc5c Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Thu, 16 Nov 2023 11:18:18 -0800 Subject: [PATCH] ansible-test: Downgrade containerd for Fedora 39 (#82231) * containerd 1.6.23 on Fedora 39 causes issue. Downgrading to containered to 1.6.19-2 works. * See: https://bugzilla.redhat.com/show_bug.cgi?id=2237396 Signed-off-by: Abhijeet Kasurde --- test/integration/targets/ansible-test-container/runme.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/integration/targets/ansible-test-container/runme.py b/test/integration/targets/ansible-test-container/runme.py index a99004a0987..68a0593c521 100755 --- a/test/integration/targets/ansible-test-container/runme.py +++ b/test/integration/targets/ansible-test-container/runme.py @@ -950,6 +950,15 @@ class DnfBootstrapper(Bootstrapper): # See: https://github.com/containers/netavark/issues/491 packages.append('netavark-1.0.2') + if os_release.id == 'fedora' and os_release.version_id == '39': + # In Fedora 39, the current version of containerd, 1.6.23, prevents Docker from working. + # The previously tested version, 1.6.19, did not have this issue. + # See: https://bugzilla.redhat.com/show_bug.cgi?id=2237396 + run_command( + 'dnf', 'install', '-y', + 'https://kojipkgs.fedoraproject.org/packages/containerd/1.6.19/2.fc39/x86_64/containerd-1.6.19-2.fc39.x86_64.rpm' + ) + if os_release.id == 'rhel': # As of the release of RHEL 9.1, installing podman on RHEL 9.0 results in a non-fatal error at install time: #