-
Bug
-
Resolution: Duplicate
-
Critical
-
None
-
4.13.z, 4.12.z, 4.14.z
-
Quality / Stability / Reliability
-
False
-
-
None
-
Important
-
No
-
None
-
None
-
None
-
CLID Sprint 253
-
1
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
Issue related to the
https://issues.redhat.com/browse/OCPBUGS-12257
https://issues.redhat.com/browse/OCPBUGS-12236
The issue still persists even after the bug has been fixed.
When using 4.14 version of the oc-mirror the "redhat-operator-index" image is still not crashing with error:
```
time="2023-04-20T05:24:15Z" level=fatal msg="cache requires rebuild: cache reports digest as \"xxx\", but computed digest is \"yyy\""
```
The current workaround is to build the custom image and override the Entrypoint.
Same as reported in https://access.redhat.com/solutions/7006771
```
"Entrypoint": [
"/bin/opm"
],
"Cmd": [
"serve",
"/configs",
"--cache-dir=/cache" <<<<<<<<<< remove that part
],
```
I believe that the issue is in the "redhat-operator-index".
The image still uses the cache, but the "oc-mirror" doesn't use that.
Version-Release number of selected component (if applicable):
OpenShift Container Platform:
- 4.14
- 4.13
- 4.12
How reproducible:
Reproducible on customer environment.
Customer uses the latest 4.14 image for the "redhat-operator-index".
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
- depends on
-
OCPBUGS-31536 `oc mirror --config` command failed with exit status 1
-
- Closed
-
-
OCPBUGS-33575 [release-4.15] `oc mirror --config` command failed with exit status 1
-
- Closed
-
- is related to
-
OCPBUGS-12236 Catalogs rebuilt by oc-mirror are in crashloop : cache is invalid
-
- Closed
-
-
OCPBUGS-12257 Catalogs rebuilt by oc-mirror are in crashloop : cache is invalid
-
- Closed
-
- links to