-
Bug
-
Resolution: Duplicate
-
Normal
-
None
-
4.20.0
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
None
-
None
-
None
-
None
-
CLID Sprint 276, CLID Sprint 277
-
2
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
When running oc-mirror as root the operator index image that is created does not have the correct permissions for the Catalog workload to run in Openshift. There is no warning, error or indication from oc-mirror that running as root will lead to this.
Version-Release number of selected component (if applicable):
How reproducible:
100%
Steps to Reproduce:
1.Run oc-mirror v2 to disk as root 2.mirror from disk to target registry 3.Configure OLM to utilize mirror content as source
Actual results:
openshift-marketplace workloads for catalogs are not able to started due to permission errors when pulling the image. Pods never start and the Operator Hub is not functional. Specific error message is "failed to load or rebuild cache: failed to rebuild cache: stat .: permission denied"
Expected results:
oc-mirror checks that is is running as root and prevents the mirroring process from proceeding if it is with an error message or warning.
Additional info:
- is related to
-
CLID-428 Address feedback from NAPS Hackathon
-
- In Progress
-