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

[enterprise-4.14] Issue in file scalability_and_performance/cnf-low-latency-tuning.adoc

    XMLWordPrintable

Details

    • No
    • 0.5
    • T&PS 2024 #3
    • 1
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • 2024-03-25: Merge review.

    Description

      Description of problem:
      Using the PerformanceProfile mentioned in the documentation:

      apiVersion: performance.openshift.io/v2
      kind: PerformanceProfile
      metadata:
        name: manual
      spec:
        cpu:
          isolated: 3-51,54-103
          reserved: 0-2,52-54
        net:
          userLevelNetworking: true
          devices:
          - interfaceName: "eth0"
          - interfaceName: "eth1"
          - vendorID: "0x1af4"   # <<<------
          - deviceID: "0x1000"   # <<<------
         nodeSelector:
          node-role.kubernetes.io/worker-cnf: ""

      This will result in the following error:

       

      The PerformanceProfile 'manual' is invalid: spec.net.devices: Invalid value: []v2.Device{InterfaceName:(*string)(nil), VendorID:(*string)(0xc000069e550), DeviceID:(*string)(nil)}, v2.Device{InterfaceName:(*string)(nil), VendorID:(*string)(nil), DeviceID:(*string)(0xc00069e5d0)}}: device model ID can not be used without specifying the device vendor ID.

      The configuration that works:

       

      apiVersion: performance.openshift.io/v2
      kind: PerformanceProfile
      metadata:
        name: manual-fix
      spec:
        cpu:
          isolated: 3-51,54-103
          reserved: 0-2,52-54
        net:
          userLevelNetworking: true
          devices:
          - interfaceName: "eth0"
          - interfaceName: "eth1"
          - vendorID: "0x1af4"   # <<<------
            deviceID: "0x1000"   # <<<------
         nodeSelector:
          node-role.kubernetes.io/worker-cnf: "" 

       

       

       

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

          

      How reproducible:

      100%    

      Steps to Reproduce:

          1. Using the PerformanceProfile `manual`
          2.
          3.
          

      Actual results:

          Expecting that the PerformanceProfile to be applied

      Expected results:

          

      Additional info:

          

      Attachments

        Activity

          People

            rhn-support-rohennes Ronan Hennessy
            midu@redhat.com Mihai IDU
            Mallapadi Niranjan Mallapadi Niranjan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: