-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to create bridge cni0 #168
Comments
During tests I think I had similar problems. VXLAN and BRIDGE_NETFILTER enabled / loaded? |
@kygx-legend My guess is that your kernel does not support bridges. A good sanity test is "does Docker run on this host fine?" If docker won't work there's a good chance your kernel doesn't have the bits needed for k3s. |
@pwFoo Thanks! But how to check if they are enabled? Both @ibuildthecloud I have the same guess as yours. Then I tried on another node where the docker is runnable. But the agent is still not running and keeps logging as:
|
@kygx-legend Are you still having these issues? What distribution are you using? One thought I had after overcoming something similar to this was that you might need to add kernel boot options. I stumbled across this while trying address my own CNI driver issues due to the fact that I did not have I created https://bugs.gentoo.org/show_bug.cgi?id=690054 for a check to be added |
@kondor6c Thanks for your reply! We're using CentOS 7. We may look into the kernel if so. Is the kernel required to be above any version? |
CentOS 7 should absolutely have that, and I don't believe you would be encountering any version issue. What package of |
I got a similar error on RPi3 / Raspbian trying to use a bridge from CNI. Did anyone get anywhere with this? |
Found something here: containernetworking/plugins#370 (comment) Reverting to CNI plugins v0.7.5 fixed. Will investigate further. |
Closing due to age. |
After running
sudo k3s server &
in a master node andsudo k3s agent --server https://master:6443 --token {}
in a worker node, I got the error as below:Any idea to solve this problem? Thank you!
The text was updated successfully, but these errors were encountered: