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

CMA must gather fails due to missing oc binary

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 4.19.0
    • Pod Autoscaler
    • None
    • Critical
    • Yes
    • 3
    • AUTOSCALE - Sprint 268, AUTOSCALE - Sprint 267
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

         1

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

          

      How reproducible:

          100%

      Steps to Reproduce:

      Polarion test case OCP-62570     

      Actual results:

          [asahay@asahay-thinkpadt14sgen2i cmasanity]$ cd must-gather.local.6315415122815049113
      [asahay@asahay-thinkpadt14sgen2i must-gather.local.6315415122815049113]$ cd registry-redhat-io-custom-metrics-autoscaler-custom-metrics-autoscaler-rhel9-operator-sha256-6c4625254ed017c03283fd094d9c1e5758a30c20f4645d0546824398905bc9dc/
      [asahay@asahay-thinkpadt14sgen2i registry-redhat-io-custom-metrics-autoscaler-custom-metrics-autoscaler-rhel9-operator-sha256-6c4625254ed017c03283fd094d9c1e5758a30c20f4645d0546824398905bc9dc]$ ls
      gather-debug.log  version
      [asahay@asahay-thinkpadt14sgen2i registry-redhat-io-custom-metrics-autoscaler-custom-metrics-autoscaler-rhel9-operator-sha256-6c4625254ed017c03283fd094d9c1e5758a30c20f4645d0546824398905bc9dc]$ cat version
      openshift-custom-metrics-autoscaler-operator
      
      [asahay@asahay-thinkpadt14sgen2i registry-redhat-io-custom-metrics-autoscaler-custom-metrics-autoscaler-rhel9-operator-sha256-6c4625254ed017c03283fd094d9c1e5758a30c20f4645d0546824398905bc9dc]$ cat gather-debug.log
      2024-12-12 12:52:40 Collecting resources for custom-metrics-autoscaler
      2024-12-12 12:52:40 Inspecting kedacontroller
      /usr/bin/gather: line 64: oc: command not found
      2024-12-12 12:52:40 Finish inspecting kedacontroller
      2024-12-12 12:52:40 Inspecting scaledjob
      /usr/bin/gather: line 64: oc: command not found
      2024-12-12 12:52:40 Finish inspecting scaledjob
      2024-12-12 12:52:40 Inspecting scaledobject
      /usr/bin/gather: line 64: oc: command not found
      2024-12-12 12:52:40 Finish inspecting scaledobject
      2024-12-12 12:52:40 Inspecting triggerauthentication
      /usr/bin/gather: line 64: oc: command not found
      2024-12-12 12:52:40 Finish inspecting triggerauthentication
      2024-12-12 12:52:40 Inspecting clustertriggerauthentication
      /usr/bin/gather: line 64: oc: command not found
      2024-12-12 12:52:40 Finish inspecting clustertriggerauthentication
      2024-12-12 12:52:40 Inspecting ns/openshift-keda
      /usr/bin/gather: line 64: oc: command not found
      2024-12-12 12:52:40 Finish inspecting ns/openshift-keda
      2024-12-12 12:52:40 Collection completed for custom-metrics-autoscaler

      Expected results:

          

      Additional info:

          

              joelsmith.redhat Joel Smith
              joelsmith.redhat Joel Smith
              Paul Rozehnal Paul Rozehnal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: