-
Bug
-
Resolution: Done-Errata
-
Undefined
-
4.15
-
None
-
No
-
False
-
On openshift baremetal cluster, which has cx-7 card on worker nodes. Install sriov operator, and check sriovnetworknodestatus, cx-7 ports are invisible.
Create sriovnetworknodepolicy with cx-7 port, it reports error as below.
# cat sriovpolicy.yaml apiVersion: sriovnetwork.openshift.io/v1 kind: SriovNetworkNodePolicy metadata: name: sriovpolicy namespace: openshift-sriov-network-operator spec: deviceType: netdevice needVhostNet: true nicSelector: pfNames: - ens2f1np1 nodeSelector: feature.node.kubernetes.io/sriov-capable: 'true' numVfs: 5 priority: 99 resourceName: sriovpolicy # oc create -f sriovpolicy.yaml Error from server (no supported NIC is selected by the nicSelector in CR sriovpolicy): error when creating "sriovpolicy.yaml": admission webhook "operator-webhook.sriovnetwork.openshift.io" denied the request: no supported NIC is selected by the nicSelector in CR sriovpolicy