Failed to mirror OpenShift image repository when private registry is insecure
Issue
-
Unable to install or upgrade OpenShift Container Platform due to failure in mirroring the OpenShift image registry.
-
oc client
fails to mirror theOpenShift
image repository to use during cluster installation or upgrade indisconnected environment
with error:
error: unable to connect to X.X.X.X:5000/ocp4/openshift4: Get https://X.X.X.X:5000/v2/: http: server gave HTTP response to HTTPS client
- How to mirror images to an insecure registry?
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.X
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.