-
Notifications
You must be signed in to change notification settings - Fork 10
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
CentOS 7.9 and Weave 2.9.0 #20
Comments
This is, I guess, the result of weave defaulting to the nftables backend for iptables in v2.9.0. CentOS 7.9 was still on the legacy backend, I think. Are you using weave with Docker or Kubernetes? |
We see similar issues with running Ubuntu 22.04 when changing to iptables-legacy. We are using weave with docker and when checking which iptables the weave container is pointing to it is /sbin/iptables -> xtables-nft-multi If it is some specific information you need then I can provide it. |
Could you post the weave container log? Near the start of output, it shows which mode it uses. In the legacy mode, it uses a symbolic link called iptables-legacy instead op iptables. |
weave log: See included file $ docker exec weave ls -l /sbin/iptables $ docker exec weave env For some reason my log doesn't include this message weave/prog/weave-kube/launch.sh Line 29 in 8397222
|
Multiple incompatibility issues have been found for weave 2.9.0 on CentOS 7.9. For now, you could downgrade to weave 2.8.10, by running:
on all nodes. |
Hi, I found a mistake on my test vm with the weave2.log |
I figured. Nevertheless, there are issues - the weave script handles the legacy iptables case correctly (without changing the iptables symlink in the container), but the weaveutil binary doesn't. I set up a small CentOS 7.9 cluster to test and discover this. To correct it, I have to change the entry points of the weave and weaveexec images, which implement the docker plug-in. Luckily, the kubernetes plug-in already allows switching, even does it automatically if need be. At this point, I am measuring the relative impacts of:
While that happens, could you please go back to using 2.8.10? That works fine on CentOS 7.9. I'll keep this issue open until the future direction is decided. |
Originally posted by @SeesawLiu in #15
The text was updated successfully, but these errors were encountered: