In OpenShift 4 disconnected, the "oc adm node-image create" fails to use the mirror registry

Solution Verified - Updated -

Issue

  • In a disconnected environment with OCP 4.17, the creation of an ISO to extend the cluster fails with the error:

    $ oc adm node-image create -v=10
    I0514 11:35:15.374331    2215 loader.go:395] Config loaded from file:  /core/install-dir/auth/kubeconfig
    ...
    I0514 11:35:18.588592    2215 workqueue.go:143] about to send work queue error: unable to read image quay.io/openshift-release-dev/ocp-release@sha256:7b39e1a5a98fa5bda517f3a1800c4bc96838fdc8318036d1b0cc519fa3534690: Get "https://quay.io/v2/": dial tcp 52.1.155.172:443: connect: connection refused
    error: unable to read image quay.io/openshift-release-dev/ocp-release@sha256:7b39e1a5a98fa5bda517f3a1800c4bc96838fdc8318036d1b0cc519fa3534690: Get "https://quay.io/v2/": dial tcp 52.1.155.172:443: connect: connection refused
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • Version 4.17.z / Tested with version 4.17.12

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content