k8s-rdma-sriov-dev-plugin: Daemonset logs says `Link not found`
I have followed the README to create configmap and daemonset, but it seems like the device plugin does not work correctly:
# kubectl logs xxxxx -n kube-system
2018/10/17 08:13:49 Reading /k8s-rdma-sriov-dev-plugin/config.json
2018/10/17 08:13:49 loaded config: {"mode":"sriov","pfNetdevices":["enp97s0f0","enp97s0f1","enp97s0f2","enp97s0f3"]}
2018/10/17 08:13:49 sriov device mode
Configuring SRIOV on ndev= enp97s0f0 9
max_vfs = 32
cur_vfs = 0
vf = &{10 virtfn10 false false}
Fail to config vfs for ndev = enp97s0f0
Fail to configure sriov; error = Link not found
Configuring SRIOV on ndev= enp97s0f1 9
max_vfs = 32
cur_vfs = 0
vf = &{10 virtfn10 false false}
Fail to config vfs for ndev = enp97s0f1
Fail to configure sriov; error = Link not found
Configuring SRIOV on ndev= enp97s0f2 9
max_vfs = 32
cur_vfs = 0
vf = &{10 virtfn10 false false}
Fail to config vfs for ndev = enp97s0f2
Fail to configure sriov; error = Link not found
Configuring SRIOV on ndev= enp97s0f3 9
max_vfs = 32
cur_vfs = 0
vf = &{10 virtfn10 false false}
Fail to config vfs for ndev = enp97s0f3
Fail to configure sriov; error = Link not found
Server Version: version.Info{Major:"1", Minor:"10+", GitVersion:"v1.10.7-3+18f677ae060806", GitCommit:"18f677ae0608064799c7e7f2bc2732d37f22efe3", GitTreeState:"clean", BuildDate:"2018-10-16T12:37:20Z", GoVersion:"go1.11.1", Compiler:"gc", Platform:"linux/amd64"}
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 24 (6 by maintainers)
@harryge00 @songole @moshe010 @mak-454 new fix is available at docker hub now. https://hub.docker.com/r/rdma/k8s-rdma-sriov-dev-plugin
Please delete the old container image and pull the new one for device plugin. Sometimes I have seen K8s is not able to pick up the new image and repeatedly fails. And in that case only option I found was to reconfigure, but may be fixed in latest k8s.