-
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
ip6tables unknown option --set-xmark #11175
Comments
It's a kernel Issue, I was having the same issue for the past few days, came across this tailscale/tailscale#13863 where tailscale vpn are having the same issue, booting with an older kernel than 6.11.4 fixed it for me. Backported kernels may also suffer so may need to test other kernels to get it working, remove the one that's not working and prevent it updating until K3S updated the way they rely on ip6tables or a newer kernel is pushed. (Looks like it's a reported bug in the kernel repo) |
Direct link to fix for the kernel bug: https://lore.kernel.org/all/[email protected]/ I doubt any projects are going to stop using xmark due to this; you'll need to upgrade or downgrade to an unaffected kernel version. Closing this since it's not something we can fix in k3s, but feel free to keep discussing here. |
Thanks, it was a pretty obvious solution to downgrade the kernel, huh? 🙈 |
I have one more question. Is it possible that this issue is specific to IPv6? I've been wondering why my home server, which runs a kernel 6.11.4-101.fc39.x86_64 without IPv6, doesn't experience this problem. k3s starts just fine on that server. |
Suffering from the same issue on Fedora
I can't find in the documentation how to run a cluster without ipv6. I only found this. I have disabled ipv6 on my system: $ cat /etc/sysctl.d/70-disable-ipv6.conf
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.lo.disable_ipv6=1
net.ipv6.conf.all.disable_ipv6=1 $ sudo ip a | grep inet6
<no output> I would very much appreciate it if you could share how to disable ipv6 in k3s |
I would probably just downgrade the kernel. |
As far as I know, you can only choose between IPv4, IPv4+IPv6 (DualStack), and IPv6-only when you initially set up the cluster. My home server was deployed before k3s offered IPv6 support. Downgrading the kernel would probably be the simplest solution to this issue. https://docs.k3s.io/networking/basic-network-options#dual-stack-ipv4--ipv6-networking |
I ran into this issue yesterday when creating a dualstack k3s cluster on openSUSE MicroOS running kernel I was also able to reproduce it on kernel The issue still occurs on EDIT: Downgrading to |
Fedora CoreOS 41.20241027.3.0 (6.11.5-300.fc41.x86_64) is effected too, rollback to Fedora CoreOS 40.20241019.3.0 (6.11.3-200.fc40.x86_64) helps |
Fedora CoreOS 41.20241109.3.0 (6.11.6-300.fc41.x86_64) has it fixed |
After a recent OS Update of my Fedora 40 Servers, K3S does not start anymore.
I tried to start k3s with
--prefer-bundled-bin
, without success.Environmental Info:
K3s Version:
k3s version v1.30.5+k3s1 (9b58670)
go version go1.22.6
Node(s) CPU architecture, OS, and Version:
Linux 6.11.4-201.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Oct 20 15:04:22 UTC 2024 x86_64 GNU/Linux
Fedora Linux 40 (Server Edition)
nftables-1.0.9-3.fc40
iptables-1.8.10-7.fc40
Cluster Configuration:
Single Node.
Describe the bug:
K3S failed to start with
ip6tables v1.8.9 (legacy): unknown option "--set-xmark"
.From the logs:
Steps To Reproduce:
curl -sfL https://get.k3s.io | sh -s - [--prefer-bundled-bin]
Additional context / logs:
The text was updated successfully, but these errors were encountered: