Skip to content
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

Investigate if we can switch back to iptables-legacy on WSL with older kernels #6624

Closed
jandubois opened this issue Mar 15, 2024 · 1 comment · Fixed by #6625
Closed

Investigate if we can switch back to iptables-legacy on WSL with older kernels #6624

jandubois opened this issue Mar 15, 2024 · 1 comment · Fixed by #6625
Assignees
Labels
Milestone

Comments

@jandubois
Copy link
Member

in Rancher Desktop 1.13 we require a WSL kernel 5.15.0.0 or later because we use Alpine 3.19 which now uses nf_tables by default, which requires kernel support missing in earlier WSL kernels.

This can be an issue for users that don't have access to the Store, and also for users that intentionally want to run an older kernel because of unresolved hibernation issues with later kernels (see #6606).

Maybe it will be possible to adjust a couple of symlinks in a provisioning script during the boot phase (only when the kernel is too old), to switch back to iptables-legacy?

This would need to be verified with a full BATS test, and even then we should include a diagnostic that explains that this would be an unsupported configuration.

This fallback would also provide some safety in case the Rancher Desktop upgrade proceeds even though the kernel update failed for any reason. Right now this would result in a broken Rancher Desktop installation that could only be fixed by an Uninstall/Reinstall cycle, which would lose all existing local images and settings.

References:

@jandubois jandubois added this to the 1.13.1 milestone Mar 16, 2024
@jandubois jandubois linked a pull request Mar 16, 2024 that will close this issue
@jandubois
Copy link
Member Author

This has been addressed in the 1.13.1 release, which switches back to iptables-legacy when the kernel is too old.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants