-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SR-IOV Network Operator 4.15.0-202410010035 | when setting linkType: IB the NIC get filtered out #795
Comments
hi @bbenshab. can you please attach sriov logs and resources? Since it is an openshift cluster, you can get them with:
Also, you stated this happens on 4.15.0, any chance you can reproduce this issue with the latest sriov-network-operator version? |
lets try to reproduce with sriov-network-operator from this repo. also it may be related to : #797 |
Hi @bbenshab any update? |
hey @SchSeba I'm sorry but I currently don't have an IB setup to recreate this issue, however it's easily reproducible when following the steps I mentioned above. |
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:
rdma: true
resourceName: port1
The text was updated successfully, but these errors were encountered: