oc compliance fetch-raw hangs with pull image failure
Issue
-
Certain registries are whitelisted in the cluster, but not the registry.access.redhat.com
-
"oc compliance fetch-raw" command hangs/fails with the event message as below.
5m7s Warning Failed pod/raw-result-extractor-fdxg9 Failed to pull image "registry.access.redhat.com/ubi8/ubi:latest": rpc error: code = Unknown desc = copying system image from manifest list: Source image rejected: Running image docker://registry.access.redhat.com/ubi8/ubi:latest is rejected by policy.
Environment
- Redhat OpenShift Container Platform 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.