OpenShift 'oc cluster up' command getting "Error inspecting image" or "Error pulling docker image" from 'registry.redhat.io'
Issue
When trying to run oc cluster up
command, even without any external firewall, iptables
or SELinux
internal rules preventing the connection, the output is one of the following error messages:
-
Error inspecting image from
registry.redhat.io/openshift3/ose-control-plane:v3.11
:# oc cluster up Getting a Docker client ... Checking if image registry.redhat.io/openshift3/ose-control-plane:v3.11 is available ... error: unexpected error inspecting image registry.redhat.io/openshift3/ose-control-plane:v3.11
-
Error pulling docker image from
registry.redhat.io/openshift3/ose-cli:v3.11
:# oc cluster up Getting a Docker client ... Checking if image registry.redhat.io/openshift3/ose-control-plane:v3.11 is available ... Pulling image registry.redhat.io/openshift3/ose-control-plane:v3.11 Pulled 1/5 layers, 20% complete Pulled 1/5 layers, 34% complete Pulled 2/5 layers, 48% complete Pulled 2/5 layers, 54% complete Pulled 2/5 layers, 61% complete Pulled 3/5 layers, 74% complete Pulled 3/5 layers, 79% complete Pulled 3/5 layers, 85% complete Pulled 3/5 layers, 91% complete Pulled 4/5 layers, 94% complete Pulled 4/5 layers, 98% complete Pulled 5/5 layers, 100% complete Extracting Image pull complete Pulling image registry.redhat.io/openshift3/ose-cli:v3.11 error: error pulling Docker image registry.redhat.io/openshift3/ose-cli:v3.11
Environment
- Red Hat OpenShift Container Platform (OCP) 3.11
- Red Hat Enterprise Linux 7.5, 7.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.