Bug 2018949
Summary: | podman multi stage build failing when using with --pull flag | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Suhaas Bhat <subhat> |
Component: | podman | Assignee: | Jindrich Novy <jnovy> |
Status: | CLOSED ERRATA | QA Contact: | Joy Pu <ypu> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.4 | CC: | arajan, bbaude, cpippin, dwalsh, jligon, jnovy, lsm5, mheon, nalin, pthomas, tsweeney, umohnani, vrothber, ypu |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | podman-3.4.3-0.2.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-05-10 13:27:52 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Suhaas Bhat
2021-11-01 10:54:52 UTC
I'm going to keep this assigned to Valentin, but if you have time to take a look at this BZ this week Aditya, that would be good. This has been fixed in Podman 3.4. Please let me know if we need backports or wait for 3.4 to hit RHEL. @vrothber if you could add a comment with a pointer to a PR/commit for this, that would be great, thanks! `git bisect` revealed the following commit to fix the reproducer: https://github.com/containers/buildah/commit/14965cde13f9 Nalin, do you mind having a quick look at this one please? The commit Valentin points to in https://bugzilla.redhat.com/show_bug.cgi?id=2018949#c4 was in 1.22, but not 1.21, which is what podman 3.2 used. podman 3.3 used buildah 1.23, so this should be fixed in podman 3.3 or later. Correction: podman 3.3 used buildah 1.22, but it should be fixed there regardless. Thanks Nalin, we have podman-3.3.x in 8.5 which is about to get released now. Targeting 8.6 then to not to miss QE on this one. Can we get qa ack please? Can reproduce with podman-3.2.3-0.11.module+el8.4.0+12050+ef972f71.x86_64. And test with podman-3.4.5-0.4.module+el8.6.0+13880+7c3afcf8.x86_64 the build process works well as expected. So set this to verified. Details: # podman build -f Dockerfile . --force-rm --no-cache --pull [1/3] STEP 1/1: FROM quay.io/libpod/busybox:latest AS deployer Trying to pull quay.io/libpod/busybox:latest... Getting image source signatures Copying blob 9758c28807f2 skipped: already exists Copying config f0b02e9d09 done Writing manifest to image destination Storing signatures --> f0b02e9d092 [2/3] STEP 1/1: FROM ubi8/ubi:latest AS builder Trying to pull registry.access.redhat.com/ubi8/ubi:latest... Getting image source signatures Checking if image destination supports signatures Copying blob adffa6963146 skipped: already exists Copying blob 26f1167feaf7 skipped: already exists Copying config fca12da1dc done Writing manifest to image destination Storing signatures --> fca12da1dc3 [3/3] STEP 1/1: FROM f0b02e9d092d905d0d87a8455a1ae3e9bb47b4aa3dc125125ca5cd10d6441c9f [3/3] COMMIT --> f0b02e9d092 f0b02e9d092d905d0d87a8455a1ae3e9bb47b4aa3dc125125ca5cd10d6441c9f Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: container-tools:rhel8 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:1762 |