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

Creation failed for performance profile with unsupported hugepages size in ARM

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.18.z, 4.19
    • Node Tuning Operator
    • None
    • None
    • CNF Compute Sprint 267
    • 1
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      Description of problem:

      Applying a performance profile with unsupported hugepages size, (In this example 512) fails to create the performanceprofile and it becomes degraded.

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

          

      How reproducible:

      Always

      Steps to Reproduce:

      1. Label one of the worker nodes with worker-cnf
      2. Create an mcp for worker-cnf
      3. Apply this performanceprofile
      
      apiVersion: performance.openshift.io/v2
      kind: PerformanceProfile
      metadata:
        name: performance
      spec:
        cpu:
          isolated: 1-3,4-6
          reserved: 0,7
        hugepages:
          defaultHugepagesSize: 512M
          pages:
          - count: 1
            node: 0
            size: 512M
          - count: 128
            node: 1
            size: 2M
        machineConfigPoolSelector:
          machineconfiguration.openshift.io/role: worker-cnf
        net:
          userLevelNetworking: true
        nodeSelector:
          node-role.kubernetes.io/worker-cnf: ''
        kernelPageSize: 64k
        numa:
          topologyPolicy: single-numa-node
        realTimeKernel:
          enabled: false
        workloadHints:
          highPowerConsumption: true
          perPodPowerManagement: false
          realTime: true
      
      
       
      Status:
        Conditions:
          Last Heartbeat Time:   2025-02-04T10:14:52Z
          Last Transition Time:  2025-02-04T10:14:52Z
          Status:                False
          Type:                  Available
          Last Heartbeat Time:   2025-02-04T10:14:52Z
          Last Transition Time:  2025-02-04T10:14:52Z
          Status:                False
          Type:                  Upgradeable
          Last Heartbeat Time:   2025-02-04T10:14:52Z
          Last Transition Time:  2025-02-04T10:14:52Z
          Status:                False
          Type:                  Progressing
          Last Heartbeat Time:   2025-02-04T10:14:52Z
          Last Transition Time:  2025-02-04T10:14:52Z
          Message:               can not convert size "512M" to kilobytes
          Reason:                ComponentCreationFailed
          Status:                True
          Type:                  Degraded
        Runtime Class:           performance-performance
        Tuned:                   openshift-cluster-node-tuning-operator/openshift-node-performance-performance
      Events:
        Type     Reason           Age                 From                            Message
        ----     ------           ----                ----                            -------
        Warning  Creation failed  11m (x19 over 33m)  performance-profile-controller  Failed to create all components: can not convert size "512M" to kilobytes

      Actual results:

          

      Expected results:

          

      Additional info:

          

              rh-ee-rbaturov Ronny Baturov
              rh-ee-rshemtov Roy Shemtov
              Roy Shemtov Roy Shemtov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: