The latest versions of oc-mirror do not rebuild the Catalog in RHOCP 4
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.15 and above
Issue
- oc-mirror latest versions do not rebuild the Catalog post mirroring.
oc-mirror list operators --catalogshows all operator list against custom Catalog.
Resolution
- Previously oc-mirror
v2and oc-mirrorv1from 4.15 and above was not rebuilding the CatalogSource index-image due to the problem with OPM binaries (FIPS etc) This content is not included.OCPBUGS-31536. - With This content is not included.RFE-5688 this feature is back in oc-mirror This content is not included.latest versions.
Root Cause
- This change was due to the problem with OPM binaries (FIPS etc) This content is not included.OCPBUGS-31536.
Diagnostic Steps
- Post mirroring with selected operators oc-mirror is listing all the operators instead of listing only mirrored operators.
$ oc-mirror list operators --catalog=<index-image>
SBR
Product(s)
Components
Category
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.