Bug 2102140
| Summary: | ADD Dockerfile reference is not validating HTTP status code [rhel8] | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Simon Reber <sreber> | |
| Component: | buildah | Assignee: | Jindrich Novy <jnovy> | |
| Status: | CLOSED ERRATA | QA Contact: | Joy Pu <ypu> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 8.6 | CC: | arajan, dornelas, jnovy, pthomas, tsweeney, umohnani, ypu | |
| Target Milestone: | rc | Keywords: | Triaged | |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | buildah-1.26.4-1.el8 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2129766 2129767 (view as bug list) | Environment: | ||
| Last Closed: | 2022-11-08 09:16:27 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2129766, 2129767 | |||
|
Description
Simon Reber
2022-06-29 11:36:54 UTC
Can reproduce with buildah-1.26.2-1.module+el8.7.0+15895+a6753917.x86_64. And test with buildah-1.26.4-1.module+el8.7.0+16236+504c84c8.x86_64 it works as expected: # buildah build . STEP 1/2: FROM registry.fedoraproject.org/fedora:36 Trying to pull registry.fedoraproject.org/fedora:36... Getting image source signatures Copying blob 62946078034b done Copying config 2ecb6df959 done Writing manifest to image destination Storing signatures STEP 2/2: ADD https://mirror.init7.net/fedora/fedora/linux/releases/36/Server/x86_64/iso/Fedora-Server-netinst-x86_64-36-1.5.foo / error building at STEP "ADD https://mirror.init7.net/fedora/fedora/linux/releases/36/Server/x86_64/iso/Fedora-Server-netinst-x86_64-36-1.5.foo /": error reading "https://mirror.init7.net/fedora/fedora/linux/releases/36/Server/x86_64/iso/Fedora-Server-netinst-x86_64-36-1.5.foo": invalid response status 404 So set the Tested flag. Test with buildah-1.27.0-2.module+el8.7.0+16493+89f82ab8.x86_64, and the command can report 404 error message as expected. # buildah build . STEP 1/2: FROM registry.fedoraproject.org/fedora:36 Trying to pull registry.fedoraproject.org/fedora:36... Getting image source signatures Copying blob 62946078034b done Copying config 2ecb6df959 done Writing manifest to image destination Storing signatures STEP 2/2: ADD https://mirror.init7.net/fedora/fedora/linux/releases/36/Server/x86_64/iso/Fedora-Server-netinst-x86_64-36-1.5.foo / error building at STEP "ADD https://mirror.init7.net/fedora/fedora/linux/releases/36/Server/x86_64/iso/Fedora-Server-netinst-x86_64-36-1.5.foo /": error reading "https://mirror.init7.net/fedora/fedora/linux/releases/36/Server/x86_64/iso/Fedora-Server-netinst-x86_64-36-1.5.foo": invalid response status 404 So set this to verified. 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 (Moderate: 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:7457 |