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

TuneD/NTO on ppc64le does not properly honor CPU arch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.19.z
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • ppc64le
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      
      

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

      Any OpenShift Container Platform with Node Tuning Operator running on IBM Power 4.14 and higher
      

      How reproducible:

      Everytime
      

      Steps to Reproduce:

      1. Create a Power Cluster
      
      2. Export kubeconfig
      
      export KUBECONFIG=/path-to-kubeconfig
      
      3. Run 
      
      bin/extended-platform-tests run-test "[sig-tuning-node] PSAP should Longduration-NonPreRelease-Author:liqcui-Medium-51495-NTO PAO Shipped into NTO with basic function verification.[Disruptive] [Serial][Slow]."
      
      4. Look at the TuneD Pod
      
      

      Actual results:

      TuneD never comes up.
      Logs show:
      
      2025-09-03 00:20:53,190 ERROR    tuned.daemon.controller: Failed to reload TuneD: Cannot load profile(s) 'openshift-node-performance-pao-baseprofile': Cannot find profile 'openshift-node-performance---pao-baseprofile' in '['/var/lib/ocp-tuned/profiles', '/usr/lib/tuned', '/usr/lib/tuned/profiles']'.
      

      It appears to be an architectural dependency.

      The profile does some basic includes that do not include ppc64le.
      ```
      include=openshift-node,cpu-partitioning${f:regex_search_ternary:${f:exec:uname:-r}:rt:,openshift-node-performance-rt-pao-baseprofile:};
      openshift-node-performance-${f:lscpu_check:Vendor ID\:\s*GenuineIntel:intel:Vendor ID\:\s*AuthenticAMD:amd:Architecture\:\s*aarch64:arm}-${f:lscpu_check:Architecture\:\s*x86_64:x86:Architecture\:\s*aarch64:aarch64}-pao-baseprofile
      ```

      Expected results:

      Successful pass
      

      Additional info:

      
      

              pbastide_rh Paul Bastide
              pbastide_rh Paul Bastide
              None
              None
              Sajauddin Mohammad Sajauddin Mohammad
              None
              Red Hat Bugzilla Authorized
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: