k8snetworkplumbingwg / sriov-network-device-plugin

SRIOV network device plugin for Kubernetes
Apache License 2.0
406 stars 177 forks source link

Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "099dd09dac017ce8479a1f5e9552fa15506efbd821122d17f763ccd13b7d2ab4": [default/virt-launcher-cbip-1-1-2bh8l:sriov-net4-cbip-1]: error adding container to network "sriov-net4-cbip-1": failed to set up pod interface "net8" from the device "sfp_5": failed to set netlink MAC address to 00:94:a1:ce:fe:0c: resource temporarily unavailable #559

Open mattavamsi2 opened 5 months ago

mattavamsi2 commented 5 months ago

Hi, We are trying to launch a VM with the intel based ice driver created VF, But we are getting this error upon launching VM using qemu. But all the resources are free to use. And I am not able to figure out what is happening with ice driver side also. I am attaching logs in this issue, If any one aware of this, Help us to understand more.

[root@appliance-1:Active] ~ # kubectl get pods -A
...
default       f5-resource-manager-9cgd6                 1/1     Running    0          4d14h
default       virt-launcher-cbip-1-1-2bh8l              0/1     Init:0/1   0          3d19h

[root@appliance-1:Active] ~ # kubectl get events
LAST SEEN   TYPE      REASON                   OBJECT                             MESSAGE
3s          Warning   FailedCreatePodSandBox   pod/virt-launcher-cbip-1-1-2bh8l   (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "8f08fe3e20cf48ae3893c6e9288e57ece3b3c98ce46ee7922f7232012d1206dd": [default/virt-launcher-cbip-1-1-2bh8l:sriov-net4-cbip-1]: error adding container to network "sriov-net4-cbip-1": failed to set up pod interface "net8" from the device "sfp_5": failed to set netlink MAC address to 00:94:a1:ce:fe:0c: resource temporarily unavailable

iavf version: 4.3.19 ice version: ice-1.7.16-1 sriov-dp version: v3.4.0

logs.txt

Thanks.

zeeke commented 5 months ago

Hi @mattavamsi2 , the problem is likely to be around the sriov-cni . Can you post the version of that component? If you're using the sriov-network-operator and SriovNetwork resource, can you set the .Spec.LogLevel field to debug ?

SchSeba commented 5 months ago

Hi @mattavamsi2 can you please provide the info here?

mattavamsi2 commented 5 months ago

Hi @zeeke and @SchSeba , I didn't get that info still. I will try to collect them and send it soon. Thanks.

SchSeba commented 2 months ago

Hi @mattavamsi2 any update or we can close this issue?