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

Documentation_issue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.13, 4.12, 4.11, 4.10, 4.14, 4.15
    • None
    • Important
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Failed to extract oc or openshift-install binaries via command oc adm release extract

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

          

      How reproducible:

          

      Steps to Reproduce:

          1. Open https://access.redhat.com/documentation/en-us/openshift_container_platform/4.15/html/installing/disconnected-installation-mirroring#installation-mirror-repository_installing-mirroring-installation-images
          2. Find item 4 "To create the installation program that is based on the content that you mirrored, extract it and pin it to the release:"     
          3. The command for "If your mirror host does not have internet access, run the following command:" item doesn't contain ${ARCHITECTURE} and there is an extra slash
      
      The correct command
      oc adm release extract -a ${LOCAL_SECRET_JSON} --icsp-file=<file> --command=openshift-install "${LOCAL_REGISTRY}/${LOCAL_REPOSITORY}:${OCP_RELEASE}-${ARCHITECTURE}"
           

      Actual results:

      1. "error: image "<REPOSITORY>/ocp4/openshift4:4.15.3" not found: manifest unknown: manifest unknown" for the missing ${ARCHITECTURE}
      2. "error: you may only specify a single image via --from or argument" because of the extra slash
      

       

      Expected results:

      Successfully extract openshift-install or oc binaries

      Additional info:

          

            ocp-docs-bot OCP DocsBot
            vbelouso@redhat.com Vladimir Belousov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: