k8s-rdma-device-plugin icon indicating copy to clipboard operation
k8s-rdma-device-plugin copied to clipboard

No devices found

Open wangrong2012 opened this issue 4 years ago • 2 comments

[root@SCSP00596 k8s-rdma-device-plugin]# ./bin/k8s-rdma-device-plugin -master ens2f0
I0520 10:03:24.135872   30847 main.go:31] Fetching devices.
I0520 10:03:24.137327   30847 main.go:39] No devices found.

Then, I add some logs in the code, print the info linke that:

GetDevices... ens2f0
ibvDevList:  [{rxe0 uverbs0 /sys/class/infiniband_verbs/uverbs0 /sys/class/infiniband/rxe0}] <nil>
netDevList:  [enp129s1] <nil>
rdma resourceFile: /sys/class/infiniband/rxe0/device/resource
netdev resourceFile: /sys/class/net/enp129s1/device/resource

So, why the bytes of 'resource' compare failed ?

wangrong2012 avatar May 20 '20 02:05 wangrong2012

this plugin just only support Mellanox nic ?

wangrong2012 avatar May 20 '20 08:05 wangrong2012

Yes,only mellanox nic supported currently.

hustcat avatar Jul 13 '20 10:07 hustcat