Closed DerekJi closed 2 years ago
As you already said, this is a limitation of WSL2 and not of Rancher Desktop itself. We do need to detect this, and present an understandable error though.
I haven't tested it, but it may be possible to just uncompress the %LOCALAPPDATA%\rancher-desktop\distro
folder:
You can do this in the "Advanced" property settings of the folder:
Make sure that both compression and encryption are de-selected:
That would still allow you to keep the rest of your disk compressed.
We need to document the limitation of Windows 10 disk encryption with WSL (thus Rancher Desktop).
Closing this bug report; the enhancement to detect and report the issue during installation will be tracked in #2439.
@DerekJi You previously confirmed that disabling compression just on the folder worked, but it looks like the comment is gone now. Did you delete it because it didn't work after all, or did Github drop this by itself?
Actual Behavior
After compressed the C drive on Windows 10, Rancher Desktop cannot be launched and stops at the step "Waiting for Kubernetes API" for ever.
Steps to Reproduce
Initial Installation
Windows Update
Restart Rancher Desktop
It stops at the step "Waiting for Kubernetes API" for ever. π
Result
Rancher Desktop stops at "Waiting for Kubernetes API" for ever, with no error messages.
Expected Behavior
Additional Information
What I've Found
I checked the logs, but didn't understand what k3s was complaining:
Tried to select different versions of Kubernetes, but no luck.
Tried to uninstall and reinstall Rancher Desktop 1.2, 1.3, 1.4. No luck.
Then, tried "Factory Reset", and found it failed at
it said something like
Unticked the checkbox "Compress this drive to save disk space" and OK
Then it works.
Summary
I understand it's not Rancher's fault, but it would be great if it could show proper error messages somewhere (UI or logs).
Rancher Desktop Version
1.4.1
Rancher Desktop K8s Version
1.23.6
Which container runtime are you using?
moby (docker cli)
What operating system are you using?
Windows
Operating System / Build Version
Windows 10 Pro, 20H2
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
No response
Windows User Only
FortiClient VPN