Open flymark2010 opened 6 years ago
Hi @flymark2010, I see the output of ethtool -i eth0.
Driver is veth instead of mlx5.
It indicates that instead of sriov-cni some other cni provided the eth device. You might want to check if you have any other cni config file which is taking priority due to lexical ordering that you faced last time.
I'm sure that the calic cni is disable on that node, and there's only a sriov cni config file in path /etc/cni/net.d
. That's why I'm confused.
@flymark2010, veth is certainly not a mlx5 driver. So something went wrong there. you can try to unload veth driver at that host using rmmod veth and see that this interface goes away from the Pod.
Hi, I've met a problem and have no idea how to fix. I have several nodes deployed with rdma sriov device plugin and the sriov cni, and everythin goes ok and pods can communicate with others via the vhca device whether the pods are launched on the same node or not. But one day, one the node goes bad, new pod launched on it fails to require a vhca device(the pod is launched normally and in Running phase), but everything seems ok. I've checked the log as below:
checking the rdma/vhca resource on node:
When creating a new pod on the node, I get log from rdma sriov device plugin:
I use
test-sriov-pod.yaml
to create test pod, the pod can be lauched normally and in Running phase, but the network interface is not a vhca device and no vhca devices found withshow_gids
:show_gids
DEV PORT INDEX GID IPv4 VER DEV
n_gids_found=0
{ "name": "mynet", "type": "sriov", "if0": "ens5f0", "ipam": { "type": "host-local", "subnet": "10.55.206.0/24 "rangeStart": "10.55.206.11", "rangeEnd": "10.55.206.19", "routes": [ { "dst": "0.0.0.0/0" } ], "gateway": "10.55.206.1" } }