Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-10412

Getting error when trying to extract `openshift-install` in fully disconnected environment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.13.z, 4.12.z, 4.11.z, 4.10.z
    • None
    • Moderate
    • No
    • 1
    • OSDOCS Sprint 234
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      https://docs.openshift.com/container-platform/4.10/installing/disconnected_install/installing-mirroring-installation-images.html
       We have here the following statement: 
      
      To create the installation program that is based on the content that you mirrored, extract it and pin it to the release: If your mirror host does not have internet access, run the following command: 
      $ oc adm release extract -a ${LOCAL_SECRET_JSON} --command=openshift-install "${LOCAL_REGISTRY}/${LOCAL_REPOSITORY}:${OCP_RELEASE}" 
      
      If the local container registry is connected to the mirror host, run the following command:
      $ oc adm release extract -a ${LOCAL_SECRET_JSON} --command=openshift-install "${LOCAL_REGISTRY}/${LOCAL_REPOSITORY}:${OCP_RELEASE}-${ARCHITECTURE}"
      
      Which is partially valid.
      
      

      Version-Release number of selected component (if applicable):

      4.10+
      

      How reproducible:

       oc adm release extract \
        -a </path/to>/pull-secret.json \
        --command=openshift-install \
        <my-registry.example.com>:5000/ocp-release:4.12.0-x86_64
      error: unable to read image quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:1739c7cf0844140d041edce5e99654e9276ca9b2542ec00c4fd327495dbd6cf5: Get "https://quay.io/v2/": dial tcp: lookup quay.io on [::1]:53: read udp [::1]:45292->[::1]:53: read: connection refused

      Steps to Reproduce:

      refer to https://access.redhat.com/solutions/7003109 Diagnostic Steps
      

      Actual results:

      mirroring fails in fully disconnected env
      

      Expected results:

      documentation is also mentioning the right steps for fully disconnected envs 
      

      Additional info:

      see https://access.redhat.com/solutions/7003109
      

              rhn-support-stk Subhashini T K
              rhn-support-dmoessner Daniel Moessner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: