Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
4.13.0
-
-
-
Important
-
No
-
NHE Sprint 239, CNF Network Sprint 242, CNF Network Sprint 245, CNF Network Sprint 251, CNF Network Sprint 252
-
5
-
False
-
-
8/30: fix is still in progress - green
Description
Description of problem:
You can not create 2 sriovNetworkNodePolicies for the same NIC if you use pfNames as a nicSelector " VF index range in ens1f0 is overlapped with existing policy exclude-topology-true-x710" But you can create it if you use rootDevices as a nicSelector
Version-Release number of selected component (if applicable):
4.13.0 sriov-network-operator.v4.13.0-202305171454
How reproducible:
100%
Steps to Reproduce:
sh-4.4# ethtool -i ens1f0 driver: i40e version: 5.14.0-284.13.1.el9_2.x86_64 firmware-version: 8.40 0x8000b1fb 20.5.13 expansion-rom-version: bus-info: 0000:3b:00.0
spec: deviceType: netdevice excludeTopology: true isRdma: false nicSelector: rootDevices: - 0000:3b:00.0 nodeSelector: node-role.kubernetes.io/worker: "" numVfs: 3 priority: 99 resourceName: resoruceExcludeTopologyFalseX710
spec: deviceType: netdevice excludeTopology: false isRdma: false nicSelector: rootDevices: - 0000:3b:00.0 nodeSelector: kubernetes.io/hostname: helix09.lab.eng.tlv2.redhat.com numVfs: 1 priority: 99 resourceName: resoruceExcludeTopology2
oc get sriovnetworknodepolicies.sriovnetwork.openshift.io -A NAMESPACE NAME AGE openshift-sriov-network-operator default 2d17h openshift-sriov-network-operator exclude-topology-2 69m openshift-sriov-network-operator exclude-topology-true-x710 151m
$ oc get pod NAME READY STATUS RESTARTS AGE nginx2 1/1 Running 0 17s nginxfalse-3 0/1 ContainerStatusUnknown 0 47s Warning
OutOfopenshift.io/resoruceExcludeTopologyFalseX710 19s kubelet Node didn't have enough resource: openshift.io/resoruceExcludeTopologyFalseX710, requested: 1, used: 0, capacity: 0
Actual results:
Policies created
Expected results:
VF index range in ens1f0 is overlapped with existing policy exclude-topology-true-x710
Additional info: