-
Notifications
You must be signed in to change notification settings - Fork 318
The rancher-desktop cannot start with WSL 2.5.4 (Pre-release) #8455
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
Comments
@esikgabi Thanks for reporting this. However, I tried reproducing the issue on both Windows 10 and Windows 11, and I was unable to replicate it. In both cases, Rancher Desktop installed and started without any issues. To further verify, I was able to successfully pull an image and run the container. Below are the version numbers that were used during my testing: Windows 11:
Windows 10:
|
After further investigating this without being able to reproduce the issue, I suspect that the error "creating tap device eth0 failed: no such file or directory" originates from here, which ultimately references the Are you able to share your Windows build number (via Additionally, could you try accessing the WSL distro by running |
Same issue, with /dev/net/tun appearing to be missing (build 26100) |
Hi @Nino-K , Thank you for trying to reproduce it.
|
Hi All, After I've added the
config option to the /etc/wsl.conf of the rancher-desktop, the /dev/net/tun was available, and the rancher-desktop could start.
It can be a workaround till this option is added to the original config: |
Appears to be an issues in WSL that they will fix in the next pre-release: |
Thank you for the link @jetvp! Since this bug is only in a pre-release of WSL and will be fixed before the actual release, there is nothing left for Rancher Desktop to do about it, so I'm going to close this issue. |
Uh oh!
There was an error while loading. Please reload this page.
Actual Behavior
I've updated my WSL version to the latest 2.5.4 (Pre-released) version.
Since the WSL upgrade, the rancher-desktop cannot start.
Some interesting parts from my logs
vm-switch.log
rancher-desktop-guestagent.log
network-setup.log
background.log
wsl.log
Steps to Reproduce
Upgrade your WSL version to this: https://github.com/microsoft/WSL/releases/tag/2.5.4
Use the default settings of WSL.
Result
Rancher Desktop start is failing.
Expected Behavior
Rancher Desktop can start.
Additional Information
Based on the following log entry:
creating tap device eth0 failed: no such file or directory,
it is possible the problem is network-related.Maybe connected to the following WSL change:
Remove support bridged networking
Rancher Desktop Version
1.18.2
Rancher Desktop K8s Version
1.31.6
Which container engine are you using?
moby (docker cli)
What operating system are you using?
Windows
Operating System / Build Version
Windows 11 Pro 24H2 (OS build: 26100.3476)
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
None
Windows User Only
WSL: 2.5.4
SentinelOne Agent
MetaDefender (Opswat)
The text was updated successfully, but these errors were encountered: