Bug 2065883 - /etc/yum.repos.d/ubi.repo file is missing in registry.redhat.io/openshift4/ose-cli:v4.8.0-202203050155.p0.g2b2aa2b.assembly.stream
Summary: /etc/yum.repos.d/ubi.repo file is missing in registry.redhat.io/openshift4/os...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Release
Version: 4.8
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.10.z
Assignee: Joep van Delft
QA Contact: zhou ying
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-19 02:57 UTC by Hradayesh Shukla
Modified: 2022-05-02 18:39 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-02 18:38:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2022:1601 0 None None None 2022-05-02 18:39:10 UTC

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


Note You need to log in before you can comment on or make changes to this bug.