hustcat / sriov-cni

SR-IOV CNI plugin
Apache License 2.0
231 stars 49 forks source link

ip allocation problem when used with CNI-Genie #34

Open cyrixxus opened 6 years ago

cyrixxus commented 6 years ago

Hello, I'm trying to use sriov cni with huawei CNI-Genie as second interface. I enabled 8 VFs, all is ok from Linux. But when I create a pod using sriov, kubelet has errors about mac, IP

for mac, I set manually a mac for each VF. -> Why it's not done inside sriov binary?

Then, kubelet shows the following error: "CNI Genie error at addNetwork: request IP can not be empty" When I look at fixipam code, again no IP is created, it tries to get it from ipam config (in the CNI file in /etc/CNI/net.d?), but how to have different IPs ? Thanks, Cyril

teijinyer commented 5 years ago

I also have this issue , I don't know where ip comes from