Open bbenshab opened 1 month ago
hi @bbenshab , please raise the issue in the upstream repository https://github.com/k8snetworkplumbingwg/sriov-network-operator/
so we can discuss it with the community. This repo is the openshift downstream fork. we use it for handling openshift releases code
sure - its now open at https://github.com/k8snetworkplumbingwg/sriov-network-operator/issues/795 also tagging @ashishkamra @zshi-redhat @egallen FYI
when setting:
linkType: IB
on aSriovNetworkNodePolicy
like in this example:the NIC gets filtered out as shown below openshift.io/port1= 0
the only workaround I found is to edit the config map:
oc edit configmap -n openshift-sriov-network-operator device-plugin-config
and then removing:
"linkTypes":["Infiniband"],
from:
however it get resets every 300 seconds.
apiVersion: k8s.cni.cncf.io/v1 kind: NetworkAttachmentDefinition metadata: annotations: k8s.v1.cni.cncf.io/resourceName: openshift.io/port1 name: network-port-1 namespace: default spec: config: "{\n \"cniVersion\": \"0.3.1\",\n \"name\": \"network-port-1\",\n\ \ \"type\": \"ib-sriov\",\n \"logLevel\": \"info\",\n \"ipam\": {\n \ \ \"type\": \"whereabouts\",\n \"range\": \"192.168.1.2/24\",\n \ \ \"exclude\": [\n \"192.168.1.1\",\n \"192.168.1.2\"\ ,\n \"192.168.1.254\",\n \"192.168.1.255\"\n ],\n\ \ \"routes\": [\n {\n \"dst\": \"192.168.1.0/24\"\ \n }\n ]\n }\n}"
apiVersion: sriovnetwork.openshift.io/v1 kind: SriovIBNetwork metadata: name: sriov-ib-network-port-1 namespace: openshift-sriov-network-operator spec: pfNames: