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

Need to replace instances of "oc mirror" command with "oc-mirror" command

XMLWordPrintable

    • Important
    • None
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      The oc-mirror CLI plug-in from portal downloads oc-mirror.tar.gz which has "oc-mirror" binary file.
      
      As the command name is 'oc-mirror' which includes hyphen, the 'oc mirror help' will not work.
      --------------
      $ oc mirror help
      error: unknown command "mirror" for "oc"
      --------------
      
      
      --------------
      $ oc-mirror help | head -1
      Create and publish user-configured mirrors with a declarative configuration input.
      --------------

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

      4.11

      How reproducible:

       

      Steps to Reproduce:

      1] Section "3.4.5.1. Installing the oc-mirror OpenShift CLI plug-in" of below documentation,
      
      https://access.redhat.com/documentation/en-us/openshift_container_platform/4.11/html/installing/disconnected-installation-mirroring#oc-mirror-creating-image-set-config_installing-mirroring-disconnected
      
      
      2] 3.4.6. Creating the image set configuration
      
      https://access.redhat.com/documentation/en-us/openshift_container_platform/4.11/html/installing/disconnected-installation-mirroring#oc-mirror-creating-image-set-config_installing-mirroring-disconnected

      Actual results:

      plugin binary name is 'oc-mirror' so 'oc mirror' does not work.

      Expected results:

      There are multiple instances of 'oc mirror' command which should be replace with 'oc-mirror' command.

      Additional info:

      Even in 4.10 documentation, there are references of 'oc mirror' command.

              rhn-support-cbippley Courtney Bippley
              rhn-support-dgupte Dhananjay Gupte
              ying zhou ying zhou
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: