Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2065883

Summary: /etc/yum.repos.d/ubi.repo file is missing in registry.redhat.io/openshift4/ose-cli:v4.8.0-202203050155.p0.g2b2aa2b.assembly.stream
Product: OpenShift Container Platform Reporter: Hradayesh Shukla <hshukla>
Component: ReleaseAssignee: Joep van Delft <jdelft>
Status: CLOSED ERRATA QA Contact: zhou ying <yinzhou>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.8CC: aos-bugs, jdelft, lmeyer, mfojtik, mrobson, steven.barre
Target Milestone: ---   
Target Release: 4.10.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-02 18:38:50 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 Hradayesh Shukla 2022-03-19 02:57:59 UTC
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.

Comment 2 Maciej Szulik 2022-03-21 12:28:48 UTC
Moving this over to release team who maintains our base images.

Comment 10 zhou ying 2022-04-28 06:41:04 UTC
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

Comment 12 errata-xmlrpc 2022-05-02 18:38:50 UTC
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