<p>When i run</p>

<pre><code>oc import-image centos:7 --confirm true
</code></pre>

<p>I am getting</p>

<pre><code>The import completed with errors.

Name:                   centos
Namespace:              pd-kube-ci
Created:                Less than a second ago
Labels:                 &lt;none&gt;
Annotations:            openshift.io/image.dockerRepositoryCheck=2018-12-27T21:00:26Z
Docker Pull Spec:       docker-registry.default.svc:5000/pd-kube-ci/centos
Image Lookup:           local=false
Unique Images:          0
Tags:                   1

7
  tagged from centos:7

  ! error: Import failed (InternalError): Internal error occurred: Get https://registry-1.docker.io/v2/: proxyconnect tcp: EOF
      Less than a second ago

error: tag 7 failed: Internal error occurred: Get https://registry-1.docker.io/v2/: proxyconnect tcp: EOF
</code></pre>

<p>For the life of me, i cannot find the source of <code>proxyconnect tcp: EOF</code>.  Its not found anywhere in the OpenShift/Kubernetes source.  Google knows next to nothing about that.</p>

<p>I have also verified that i can <code>docker pull centos</code> from each node (including master and infra nodes).  Its only when openshift tries to pull that image.</p>

<p>Any ideas?</p>

Lucas
<p>Turns out it was a mis-configuration in our <code>openshift_https_proxy</code> ansible var.  Specifically we had:</p>

<pre><code>openshift_https_proxy=https://proxy.mycompany.com:8443
</code></pre>

<p>And we should have had</p>

<pre><code>openshift_https_proxy=http://proxy.mycompany.com:8443
</code></pre>

<p>To fix this, we had to edit <code>/etc/origin/master/master.env</code> on the masters and <code>/etc/sysconfig/docker</code> on all nodes, then restart per the <a href="https://docs.okd.io/3.11/install_config/http_proxies.html" rel="nofollow noreferrer">Working with HTTP Proxies</a> documentation.</p>
