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

Bug 1931756

Summary: Stop pushing logging 4.6 metadata to 4.7 index image
Product: OpenShift Container Platform Reporter: Anping Li <anli>
Component: LoggingAssignee: Vimal Kumar <vimalkum>
Status: CLOSED ERRATA QA Contact: Anping Li <anli>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.6CC: aos-bugs, jcantril, vimalkum
Target Milestone: ---   
Target Release: 4.6.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: logging-core
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-16 23:12:49 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 Anping Li 2021-02-23 06:33:22 UTC
Description of problem:
The Logging bundle are pushed into 4.7 index image registry.redhat.io/redhat/redhat-operator-index:v4.7.

Accounting to https://docs.engineering.redhat.com/display/CFC/Delivery. we should use com.redhat.openshift.versions: "=v4.6" in cluster-logging and elasticsearch-operators bundle.Dockerfile


Version-Release number of selected component (if applicable):
4.6.z

How reproducible:
Always

Steps to Reproduce:
A. Install OCP 4.7, check the cluster-logging/elasticsearch-operator channel in Operatorhub.
B. Check the package in SQLite db.
oc image extract registry.stage.redhat.io/redhat/redhat-operator-index:v4.7 --path /:tmp
sqlite3 tmp/database/index.db
sqlite> select * from channel where package_name="elasticsearch-operator";
sqlite> select * from channel where package_name="cluster-logging";


Actual results:
Cluster-logging 4.6 in redhat-operator-index:v4.7
Elasticsearch-operator 4.6 in redhat-operator-index:v4.7

Expected results:
1. stop pushing logging 4.6 metadata to redhat-operator-index:v4.7.
2. deprecate 4.6 in production following 
Accounting to https://docs.engineering.redhat.com/display/CFC/Delivery -> Process for deprecating a bundle



Additional info:

Comment 3 Anping Li 2021-03-03 01:27:24 UTC
Vimal, shall we set the label com.redhat.openshift.versions="=v4.6" https://github.com/openshift/cluster-logging-operator/blob/release-4.6/bundle.Dockerfile#L14?  Or Ask the Art team to add similar label in https://github.com/openshift/ocp-build-data/tree/openshift-4.6

Comment 4 Vimal Kumar 2021-03-03 05:38:59 UTC
Anping, the bundle.Dockerfile is not being used in downstream. So we need to ask ART to make this change.

Comment 5 Anping Li 2021-03-03 09:26:05 UTC
File a ticket https://issues.redhat.com/browse/ART-2730

Comment 9 errata-xmlrpc 2021-03-16 23:12:49 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.6.21 extras 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-2021:0752