https://rancher.com/ logo
#rancher-desktop
Title
# rancher-desktop
a

average-engine-5938

10/10/2022, 12:54 PM
Hi Team I am getting this error in Rancher startup in Windows 10 any help is appreciated Error: wsl.exe exited with code 4294967295 for the command below
wsl.exe --import rancher-desktop C:\Users\Anurag.Raghavan\AppData\Local\rancher-desktop\distro C:\Users\Anurag.Raghavan\AppData\Local\Programs\Rancher Desktop\resources\resources\win32\distro-0.26.tar --version 2
w

wide-mechanic-33041

10/11/2022, 3:07 PM
i feel like thats a generic WSL error. do you have WSL running on your machine already?
a

average-engine-5938

10/11/2022, 4:34 PM
@wide-mechanic-33041 No. But I had docker running previosuly which I have removed . Also somehow I installed WSL manually and then I am into next error which says its not able to identify docker daemon
w

wide-mechanic-33041

10/11/2022, 5:18 PM
probably old bits left over. what does
docker context ls
show?
nerdctl doesn’t have the same model so that may not be applicable
but if you are using docker/moby than make sure to run
docker context use rancher-desktop
a

average-engine-5938

10/12/2022, 5:14 AM
@wide-mechanic-33041 when I run docker context ls below is the output C:\Users\Anurag.Raghavan>docker context ls NAME DESCRIPTION DOCKER ENDPOINT KUBERNETES ENDPOINT ORCHESTRATOR default * Current DOCKER_HOST based configuration npipe:////./pipe/docker_engine swarm desktop-linux npipe:////./pipe/dockerDesktopLinuxEngine
also when I try docker context use rancher-desktop it says C:\Users\Anurag.Raghavan>docker context use rancher-desktop context "rancher-desktop" does not exist
w

wide-mechanic-33041

10/12/2022, 11:51 AM
are you set to nerdctl or docker/moby in your RD prefs?
a

average-engine-5938

10/12/2022, 11:53 AM
@wide-mechanic-33041 @broad-hamburger-22672 also this is the OS version not sure if thats the issue OS V 19044.2006 win 10 enterprise
w

wide-mechanic-33041

10/12/2022, 11:54 AM
in your Rancher Desktop preferences (the gear) in Container Runtime are you set to containerd or dockerd?
a

average-engine-5938

10/12/2022, 12:06 PM
dockerd
w

wide-mechanic-33041

10/12/2022, 12:07 PM
seems soemthing didn’t go right with the install if you don’t have a context for RD. I would do the factory reset. probably due to the WSL install issue
b

broad-hamburger-22672

10/12/2022, 12:51 PM
Hi @wide-mechanic-33041, The issue is observed in my system, sidharth had messaged on my behalf till i get on with slack. So coming back to the issue. Factory reset is done. doesnt help . I had actually removed windows feature WSL from windows feature list in add remove programs. to see if fresh addition of WSL will resolve this issue. Rancher desktop gets installed and it gets the WSL added in background. But still this doesnt resolve the basic issue "PS C:\Windows\system32> wsl -l -v Windows Subsystem for Linux has no installed distributions. Distributions can be installed by visiting the Microsoft Store: https://aka.ms/wslstore" There is no docker process running, even though i selected dockerd int he rancher config
w

wide-mechanic-33041

10/12/2022, 12:52 PM
so first off you need to get WSL working. Have you tried to install a standard Store version of Ubuntu or something?
b

broad-hamburger-22672

10/12/2022, 12:53 PM
Yes Ubuntu distro does get installed successfully and i could see the distro running with version 2 .
w

wide-mechanic-33041

10/12/2022, 12:53 PM
and i would try to uninstall RD and scrub all the install directories before reinstalling after making sure WSL is up and running
b

broad-hamburger-22672

10/12/2022, 12:54 PM
you mean while the ubuntu distro is installed and running ?
w

wide-mechanic-33041

10/12/2022, 12:54 PM
no the ubuntu distro working is just to make sure WSL is functional
RD uses its own alpine distro that is registered as part of the install
b

broad-hamburger-22672

10/12/2022, 12:55 PM
had tried that too with and without the distro ...doesnt help after installation ..it continues to show no association with rancher desktop distro
any link for that alpine distro ...i will try to install it separately and see if that works
w

wide-mechanic-33041

10/12/2022, 12:55 PM
another distro installed doesn’t do anything for RD, but if the other distro doesn’t work than well RD likely wouldn’t work
i would try and manually delete the folders for RD after the uninstall and see if reinstall fresh works any better
b

broad-hamburger-22672

10/12/2022, 12:56 PM
hmm sure will give that another shot ...will update here the outcome .
w

wide-mechanic-33041

10/12/2022, 12:57 PM
its in the orange text in the original post if you need it
b

broad-hamburger-22672

10/12/2022, 3:02 PM
Alright tried this too ....didnt workout either ....ended with the same exit code 4294967295 in rancher
w

wide-mechanic-33041

10/12/2022, 3:42 PM
so odd… ubuntu as a dist using v2 is working fine, but the launch of rancher is failing.
b

broad-hamburger-22672

10/12/2022, 5:22 PM
Yup unable to figure out a way out or pin point the issue
k

kind-iron-72902

10/12/2022, 11:43 PM
Hi, Sidarth, I generally like to try to push these problems into a corner, isolate them, and try to get some clues. What happens if you start up a powershell or command terminal and simply run that
wsl.exe --import...
command? Could you capture the output, edit out any PII, and post it here (assuming it's not too lengthy)? Does the
0.26.tar
file exist in the specified location?
a

average-engine-5938

10/13/2022, 6:36 AM
@wide-mechanic-33041 @kind-iron-72902 thanks alot for the helps extended . Finally Rancher up . and containers also up . But now I am facing issue in terms of disk space . So for my app I am using LAMP stack and I need to import bigger data set but facing issues like the import process never completes . Any insights on how to increase the disk space (like how we did resource allocation in docker hyperv) or are there any constraints as such ?
b

broad-hamburger-22672

10/13/2022, 6:38 AM
Ok the issue got resolved. the solution was a combination of steps made 1. There was compression enabled on the drive, which is a blocker from rancher deploying is distro packages . This enabled the rancher desktop distro packages to be available in wsl 2. I had to enable kubenetes from the config and select containerd . 3. The above once set was reverted back to kubernetes disabled and dockerd selected. 4. Now on the docker commands seems functional with git bash
k

kind-iron-72902

10/13/2022, 4:16 PM
Are "Sidharth" and "Anurag R" talking about the same problem?
b

broad-hamburger-22672

10/13/2022, 6:36 PM
Yes .. 🙂 ....Sidharth had posted the issue on my behalf till i could download Slack client (There were some admin privileges issue for me to use it)
Sidharths last posted issue regarding space is different though, guess as of now faced by him
622 Views