From 16816d317dbe52c99d80c652c46d0ee7e7c0e115 Mon Sep 17 00:00:00 2001 From: Brian Carey Date: Wed, 11 Sep 2024 09:52:21 +0100 Subject: [PATCH] bootstrap: Add workaround for corrupted image pulls with podman (#3639) There are a number of jobs that are failing to pull images due to corruption and a crc32mismatch[1] There is an open issue for this problem in the podman repo[2] that suggests this change as a workaround. This workaround should be removed when the related issues are resolved. [1] https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/12677/pull-kubevirt-e2e-k8s-1.31-sig-compute/1833657514537783296#1:build-log.txt%3A262 [2] https://github.com/containers/podman/issues/23822 [3] https://github.com/zlib-ng/zlib-ng/issues/1772 Signed-off-by: Brian Carey --- images/bootstrap/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/images/bootstrap/Dockerfile b/images/bootstrap/Dockerfile index 1a35455242..730f6f3f8c 100644 --- a/images/bootstrap/Dockerfile +++ b/images/bootstrap/Dockerfile @@ -118,6 +118,9 @@ RUN mkdir -p /etc/setup.mixin.d/ && mkdir -p /etc/teardown.mixin.d/ # Trust git repositories used for e2e jobs RUN git config --global --add safe.directory '*' +# FIXME: Workaround for issue pulling images with podman on Fedora 40 - https://github.com/containers/podman/issues/23822 +RUN ln -s /usr/bin/gzip /usr/local/bin/pigz + # note the runner is also responsible for making podman in container function if # env PODMAN_IN_CONTAINER_ENABLED is set and similarly responsible for generating