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

ccoctl invoked using the wrong command

XMLWordPrintable

    • Low
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      The documentation instructs to test the ccoctl installation using the command 'ccoctl --help'. However, the executable will not be named 'ccoctl' after extraction; it could be 'ccoctl.rhel9' or 'ccoctl.rhel8'. Furthermore, there is no guarantee that this file is in the $PATH. To run it, a relative name like './ccoctl.rhel9' should be used."

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

          

      How reproducible:

          Always

      Steps to Reproduce:

          1. Follow docs at: https://docs.openshift.com/container-platform/4.16/installing/installing_ibm_cloud_public/configuring-iam-ibm-cloud.html#configuring-iam-ibm-cloud
          2. When you run command "$ oc image extract $CCO_IMAGE \
        --file="/usr/bin/ccoctl.<rhel_version>" \
        -a ~/.pull-secret" you extract the "ccoctl.rhel_version" file in the directory where the command is executed.
           3. Then you run "ccoctl --help"

      Actual results:

          bash: ccoctl: command not found...
      

      Expected results:

          ccoctl should be executed

      Additional info:

          

            rhn-support-bdaly Brendan Daly
            rhn-support-minnocen Marco Innocenti
            Gaoyun Pei Gaoyun Pei
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: