Skip to content

Commit

Permalink
bootstrap: Add workaround for corrupted image pulls with podman (kube…
Browse files Browse the repository at this point in the history
…virt#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] containers/podman#23822
[3] zlib-ng/zlib-ng#1772

Signed-off-by: Brian Carey <[email protected]>
  • Loading branch information
brianmcarey authored Sep 11, 2024
1 parent 0b6f752 commit 16816d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions images/bootstrap/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 16816d3

Please sign in to comment.