Description of problem: - /etc/yum.repos.d/ubi.repo file is missing on the newer image tag "v4.8.0-202203050155.p0.g2b2aa2b.assembly.stream" of ose-cli (registry.redhat.io/openshift4/ose-cli) whereas present in older tag (registry.redhat.io/openshift4/ose-cli:v4.8.0-202202152218.p0.g2b2aa2b.assembly.stream) Version-Release number of selected component (if applicable): - Container image: registry.redhat.io/openshift4/ose-cli:v4.8.0-202203050155.p0.g2b2aa2b.assembly.stream How reproducible: 100% Steps to Reproduce: 1. Pull the image registry.redhat.io/openshift4/ose-cli:v4.8.0-202202152218.p0.g2b2aa2b.assembly.stream & we can find the repo file. $ podman run --rm registry.redhat.io/openshift4/ose-cli:v4.8.0-202202152218.p0.g2b2aa2b.assembly.stream ls -l /etc/yum.repos.d total 4 -rw-r--r-- 1 root root 2429 Oct 26 12:59 ubi.repo 2. Same file is absent in newer tag "registry.redhat.io/openshift4/ose-cli:v4.8.0-202203050155.p0.g2b2aa2b.assembly.stream" $ podman run --rm registry.redhat.io/openshift4/ose-cli:v4.8.0-202203050155.p0.g2b2aa2b.assembly.stream ls -l /etc/yum.repos.d total 0 Actual results: - ubi.repo file is missing in newer image, but present in previous one. Expected results: - file should be present allowing access to UBI images. Additional info: - Current workaround is to manually place the file using a Dockerfile.
Moving this over to release team who maintains our base images.
Checked the image from errata of ocp4.10.12, found the image and verified , the issue has fixed: podman run --rm registry.stage.redhat.io/openshift4/ose-cli:v4.10.0-202204211158.p0.g3e24949.assembly.stream ls -l /etc/yum.repos.d total 4 -rw-r--r--. 1 root root 2429 Apr 21 12:51 ubi.repo
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.10.12 bug fix 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/RHBA-2022:1601