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

WSL2 1.2.0.0 and 1.2.5.0 do not work, 1.2.4.0 does #3180

Closed
BenTheElder opened this issue Apr 19, 2023 · 4 comments
Closed

WSL2 1.2.0.0 and 1.2.5.0 do not work, 1.2.4.0 does #3180

BenTheElder opened this issue Apr 19, 2023 · 4 comments
Labels
area/WSL2 Issues or PRs related to WSL2 kind/external upstream bugs

Comments

@BenTheElder
Copy link
Member

BenTheElder commented Apr 19, 2023

This issue is transient enough that I'm not sure if it warrants a permanent https://kind.sigs.k8s.io/docs/user/known-issues/ entry.

In the meantime I think pinning an issue will have better visibility.

TLDR: If you're using WSL2 and having issues, try updating to the latest pre-release wsl --update --pre-release as described here: #3165 (comment)

EDIT: See below for a better procedure to switch to 1.2.4.0 which is known-good #3180 (comment)

There's an issue with the WSL2 1.2.0.0 Kernel that is fixed in 1.2.4.0. You can check wsl --version.

Past context:

@BenTheElder BenTheElder added the kind/external upstream bugs label Apr 19, 2023
@BenTheElder BenTheElder changed the title WSL2 version 1.2.0 does not work with , 1.2.4 fixed WSL2 version 1.2.0 does not work, 1.2.4 fixed Apr 19, 2023
@BenTheElder BenTheElder pinned this issue Apr 19, 2023
@BenTheElder BenTheElder added the area/WSL2 Issues or PRs related to WSL2 label Apr 19, 2023
@BenTheElder BenTheElder changed the title WSL2 version 1.2.0 does not work, 1.2.4 fixed WSL2 1.2.0.0 does not work, 1.2.4.0 fixes Apr 19, 2023
@gbg-sany
Copy link

Want to add that 1.2.5.0 (the latest at the time of writing) not working.
command wsl.exe --update --pre-release will likely get you to version 1.2.5.0 at the moment.
instead this worked for me: microsoft/WSL#9508 (comment)
Basically run three commands on powershell, first two commands remove current wsl. The third command install the specific wsl (the post using 1.0.3.0 but we can use 1.2.4.0) version from current directory.
To get the 1.2.4.0 version wsl go to: https://github.com/microsoft/WSL/releases/tag/1.2.4 or download

@BenTheElder
Copy link
Member Author

Thanks! I've added a note to the original comment above to point to yours for how to update to 1.2.4.0 😅

@BenTheElder BenTheElder changed the title WSL2 1.2.0.0 does not work, 1.2.4.0 fixes WSL2 1.2.0.0 and 1.2.5.0 do not work, 1.2.4.0 does May 22, 2023
@y1rn
Copy link

y1rn commented Jul 17, 2023

I'm using wsl2 1.3.11 pre still fail to start up kind, Is there any temporary solution?

@BenTheElder
Copy link
Member Author

I think this particular issue has been resolved for a while now, so I'm going to close it.

If your'e still seeing issues, please file a new bug type issue and include the cluster logs etc (instructions in the issue template).

@BenTheElder BenTheElder unpinned this issue Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/WSL2 Issues or PRs related to WSL2 kind/external upstream bugs
Projects
None yet
Development

No branches or pull requests

3 participants