Bug 1766339 - Fix Metering image mirroring scripts for testing staging/pre-production OLM content
Summary: Fix Metering image mirroring scripts for testing staging/pre-production OLM c...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Metering Operator
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.3.0
Assignee: tflannag
QA Contact: Peter Ruan
URL:
Whiteboard:
Depends On:
Blocks: 1766341
TreeView+ depends on / blocked
 
Reported: 2019-10-28 19:02 UTC by Chance Zibolski
Modified: 2020-01-23 11:09 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1766341 (view as bug list)
Environment:
Last Closed: 2020-01-23 11:09:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github operator-framework operator-metering pull 986 0 'None' 'closed' 'hack: Fix mirroring to work for digests' 2019-11-25 23:23:39 UTC
Red Hat Product Errata RHBA-2020:0062 0 None None None 2020-01-23 11:09:58 UTC

Description Chance Zibolski 2019-10-28 19:02:21 UTC
Description of problem: OSBS now publishes to quay instead of brew-pulp, and flattens the namespaces into the repository name, and uses image digests instead of tags. We have mirroring scripts written to fetch the ClusterServiceVersion for the metering-ocp OLM package and extracts the images we need to use that needs updating for QE to test 4.3 and 4.2 OLM OCP content.


Version-Release number of selected component (if applicable): 4.3.0


How reproducible: Always


Steps to Reproduce:
1. Run mirroring scripts
2. Get failure on invalid tags

Actual results: Metering ./hack/mirror-ose-images-into-cluster.sh do not work


Expected results: ./hack/mirror-ose-images-into-cluster.sh works for mirroring content in quay


Additional info:

Comment 1 Chance Zibolski 2019-10-28 19:03:25 UTC
This was previously fixed in https://github.com/operator-framework/operator-metering/pull/986

Comment 3 Peter Ruan 2019-11-01 20:44:53 UTC
VERIFIED with 4.2.0-0.nightly-2019-11-01-115323 following instructions described in https://github.com/operator-framework/operator-metering/blob/master/Documentation/dev/testing-olm-ocp-install.md

Comment 6 errata-xmlrpc 2020-01-23 11:09:38 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, 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:0062


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