You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Microk8 for cluster setup, experiencing " error adding container to network "work-network": failed to find bridge ovs-br1" issue, ovs-br1 have been created on all nodes as below:
Kubernetes Distribution: Microk8s
Error Log
Events:
Normal AddedInterface 51s multus Add eth0 [10.1.231.211/32]
Warning FailedCreatePodSandBox 51s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "a2ffab9564353e1e97c6049d027ac72f01290ff4db1ccd07e0bfd87acd12d9e5": [default/multus-deployment-55c7b5f4fb-2gth5:work-network]: error adding container to network "work-network": failed to find bridge ovs-br1
You Multus DS has suspiciously high number of restarts 2610. Could you check its logs to see what is the cause of that? I wonder if it may be connected.
Looking at you NetworkAttachmentDefinition, I see that you refer bridge ovs-br1 while resourceName annotation requests br1. This suggests that resource injector is not running on your setup, nor you used explicit resource request on the Pod. This should not be causing the problem. I'm raising this just so you know that you may have issues with scheduling in case the bridge is not available on all nodes. See the second example in https://github.com/k8snetworkplumbingwg/ovs-cni#overview.
Could you please share your Node status? kubectl get node -o yaml, specifically the part with reported resources. I wonder if OVS marker reports the bridge as available.
Also, OVS CNI expects the OVS DB socket to be available in /var/run/openvswitch/db.sock. Is that the case on your nodes?
Using Microk8 for cluster setup, experiencing " error adding container to network "work-network": failed to find bridge ovs-br1" issue, ovs-br1 have been created on all nodes as below:
Kubernetes Distribution: Microk8s
Error Log
ovs-cni installed
OvS Bridge
Network Definition
Pod Deployment
Any help is really appreciate!
The text was updated successfully, but these errors were encountered: