Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-5997

[release-5.9] Logging must-gather errors out when running on a non-amd64 arch cluster

XMLWordPrintable

    • False
    • None
    • False
    • NEW
    • VERIFIED
    • Hide
      Before this update, the must-gather tool would error out when running on clusters with non-AMD64 architectures, such as ARM or PowerPC.
      With this changes the must-gather tool now dynamically detects the cluster's architecture at runtime, replacing the hardcoded paths and dependencies with architecture-agnostic alternatives. This allows the tool to run seamlessly on various platforms, including ARM and PowerPC.
      Show
      Before this update, the must-gather tool would error out when running on clusters with non-AMD64 architectures, such as ARM or PowerPC. With this changes the must-gather tool now dynamically detects the cluster's architecture at runtime, replacing the hardcoded paths and dependencies with architecture-agnostic alternatives. This allows the tool to run seamlessly on various platforms, including ARM and PowerPC.
    • Bug Fix
    • Log Collection - Sprint 257, Log Collection - Sprint 258

      Description of problem:

      Must-gather errors out when running on a cluster using non amd64 architectures.

      $ oc adm must-gather --image=$(oc -n openshift-logging get deployment.apps/cluster-logging-operator -o jsonpath='{.spec.template.spec.containers[?(@.name == "cluster-logging-operator")].image}')
      .....
      [must-gather-rlpqw] POD 2024-08-08T10:08:59.415173284Z must-gather logs are located at: '/must-gather/gather-debug.log'
      [must-gather-rlpqw] POD 2024-08-08T10:08:59.420015986Z /usr/bin/gather: line 34: /usr/bin/oc: cannot execute binary file: Exec format error
      [must-gather-rlpqw] POD 2024-08-08T10:08:59.421624647Z Adding namespace '' to cluster_resources list
      [must-gather-rlpqw] POD 2024-08-08T10:08:59.438464449Z /usr/bin/gather: line 34: /usr/bin/oc: cannot execute binary file: Exec format error
      [must-gather-rlpqw] POD 2024-08-08T10:08:59.440682672Z Adding namespace '' to cluster_resources list
      [must-gather-rlpqw] POD 2024-08-08T10:08:59.905463696Z /usr/bin/gather: line 103: /usr/bin/oc: cannot execute binary file: Exec format error
      [must-gather-rlpqw] POD 2024-08-08T10:08:59.909461547Z /usr/bin/gather: line 116: /usr/bin/oc: cannot execute binary file: Exec format error
      [must-gather-rlpqw] POD 2024-08-08T10:08:59.910709431Z /usr/bin/gather: line 117: /usr/bin/oc: cannot execute binary file: Exec format error
      [must-gather-rlpqw] POD 2024-08-08T10:08:59.913726794Z Waiting on subprocesses to finish execution.
      .....
      

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

      Logging 6.0, Logging 5.9 and lower versions possibly. Have not checked on version < 5.9

      How reproducible:

      Always

      Steps to Reproduce:

      1. Deploy CLO on a non-amd64 cluster
      2. Run must-gather command
      3. Check for Exec format error

      Actual results:

      must-gather should complete successfully.

      Expected results:

      must-gather errors out with binary issue.

      Additional info:

            vparfono Vitalii Parfonov
            rhn-support-kbharti Kabir Bharti
            Kabir Bharti Kabir Bharti
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: