Bug 1858779
Summary: | Image operating system mismatch | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | peter ducai <pducai> | |
Component: | Build | Assignee: | Adam Kaplan <adam.kaplan> | |
Status: | CLOSED ERRATA | QA Contact: | wewang <wewang> | |
Severity: | urgent | Docs Contact: | ||
Priority: | urgent | |||
Version: | 4.4 | CC: | adam.kaplan, aos-bugs, gmontero, hgomes, ppostler, skuznets, wzheng | |
Target Milestone: | --- | |||
Target Release: | 4.6.0 | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Cause: Buildah erased image architecture and OS fields on images
Consequence: Common container tools will fail because the resulting images do not identify their architecture and OS.
Fix: Buildah does not overwrite the image and architecture unless there are explicit overrides.
Result: Resulting images always have architecture and OS fields, and the image mismatch warning does not appear.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1868388 (view as bug list) | Environment: | ||
Last Closed: | 2020-10-27 16:16:00 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: | 1868388, 1868401 |
Description
peter ducai
2020-07-20 11:49:13 UTC
This warning can be ignored - it is logged by the subsystem that selects an image from a manifest list, and does not impact the ability of builds to push images to the internal registry. The logging of this at a "warning" level a known issue, and has been addressed in a newer version of the library. Moving severity of this issue to "low". Moving the severity back to "high" - the empty arch/OS tags propagate to the image and imagestream tag, which prevents container scanning tools from working. This can be fixed by bumping the buildah version in openshift/builder to v1.15.1. For backports we should use buildah v1.14.11 once it is released. 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 (OpenShift Container Platform 4.6 GA Images), 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/RHBA-2020:4196 |