-
Notifications
You must be signed in to change notification settings - Fork 306
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
Failed to translate \\wsl.localhost\Ubuntu\tmp\working-dir #3267
Comments
I cannot repro this with Windows 10 Pro 10.0.19044 Build 19044 using RD 1.6.0. Could you please try the following things:
I see the following issue on wsl-vpnkit: sakai135/wsl-vpnkit#150. The error is very similar. @Nino-K I can't remember what the state of wsl-vpnkit is but I know I've heard the term around. Could this be causing this issue? Also @jynolen could you please provide the Rancher Desktop logs here? Bonus points for enabling debug mode before generating the logs. Thanks! |
I started having this issue as well on Windows 10 after performing an update to the latest WSL2 using I was running Ubuntu 20.04 LTS and I had the error. I upgraded to 22.04 for a different purpose and I am still having the problem. It doesn't seem to be dependant on the Ubuntu release. All other WSL functions seem to be working as expected. Here is the information about my Windows version:
In the wsl-vpnkit#150 link above, they mention trying the following command A few more things I tried which did not resolve the issue with attempting any of the
Which logs should I upload here? None of the logs get updated when I run Edit to add WSL version |
Here's an update: The error message was:
The Rancher-desktop debug logs indicated an error with k3s:
Since Rancher-desktop was working well prior to doing updating WSL from the Microsoft Store or doing a Unfortunately, I did not backup the previous logs before doing the factory reset. I won't be able to append those anymore. I will update as I find more. |
same nerdctl problem. error with Ubuntu, working with Windows. |
I'm also running into this error with Rancher Desktop 1.7.0, configured to use $ wsl --version
WSL version: 1.1.3.0
Kernel version: 5.15.90.1
WSLg version: 1.0.49
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.1265 Most likely the issue comes from The message doesn't appear if I change directory anywhere under $ (/home/acotten) nerdctl --version
<3>WSL (1737) ERROR: CreateProcessParseCommon:786: Failed to translate \\wsl.localhost\Ubuntu\home\acotten
nerdctl version 1.0.0 $ (/mnt/c) nerdctl --version
nerdctl version 1.0.0 Just to rule out a possible issue with
|
The stub actually calls $ wsl.exe --distribution rancher-desktop --exec id
<3>WSL (2298) ERROR: CreateProcessParseCommon:786: Failed to translate \\wsl.localhost\Ubuntu\home\acotten
uid=0(root) gid=0 groups=0,14(uucp),101(docker) I've seen people recommend passing the Other interesting discussions:
tl;dr WSL can't translate the Ubuntu /home path into a suitable path inside the |
This has been verified on Win10 Pro. |
Actual Behavior
An error message occurs when runing nerdctl command:
Steps to Reproduce
2. WSL2 Enable
3. Windows Version : 11 Pro Build 21H2 - 22000.1098
4. Ubuntu 22.04.1 LTS
Result
Display the error
<3>WSL (4250) ERROR: CreateProcessParseCommon:731: Failed to translate \\wsl.localhost\Ubuntu\tmp\working-dir
Expected Behavior
No Error
Additional Information
No response
Rancher Desktop Version
1.6.0
Rancher Desktop K8s Version
1.52.2
Which container engine are you using?
containerd (nerdctl)
What operating system are you using?
Windows
Operating System / Build Version
Windows Version : 11 Pro Build 21H2 - 22000.1098
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
No response
Windows User Only
None
The text was updated successfully, but these errors were encountered: