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:
- links to
(1 links to)