-
Notifications
You must be signed in to change notification settings - Fork 294
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, Stuck on Initializing Rancher Desktop, Cause by cannot read .kube/config #7997
Comments
Ah, is it correct that .kube/config file is not present, and after factory reset and first run, not creating .kube/config automately? |
The cannot read Would you be able to attach your complete logs to the issue so we can look at it? Ideally enable debug logging before quitting Rancher Desktop and restarting it, so that we get extra logging that might be relevant. Thanks! |
Umm, these logs are not switched on debug logging, but these logs were created by reproducing the error at that time. logs-1 - not set %KUBECONFIG%, no .kube/config logs-2 - set %KUBECONFIG% to %USERPROFILE%.kube\config, no .kube/config |
Oh, I see a: That sounds like it's the same thing as #7824 — failure to create the Kubernetes config was causing the rest to fail unexpectedly. I also notice that different parts of the code is behaving differently… I see references to |
Oh, there was someone else with a similar problem as me! And, My case, U:.kube is no write-able on that pc. (Although Admin rights) So I think it would be nice to allow the user to specify .kube\config location on the GUI frontend. |
Actual Behavior
Recently I faced - stuck on initializing Rancher Desktop step (graph at GUI Bottom-Right).
And I found why it presented.
Steps to Reproduce
Result
in %localappdata%\rancher-desktop\logs\background.log , showing error - cannot read .kube/config - and not run wsl-helper for listen docker.sock
and I can see graph (initializing Rancher Desktop) forever and forever
Expected Behavior
Although .kube\config not readable, must run wsl-helper for using docker
can see graph (initializing Rancher Desktop) is disappeared
Additional Information
No response
Rancher Desktop Version
1.16 (latest)
Rancher Desktop K8s Version
not installed
Which container engine are you using?
moby (docker cli)
What operating system are you using?
Windows
Operating System / Build Version
Windows 10 Enterprise
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
None
Windows User Only
VPN Proxied, not equal %userprofile% and %home%, not set %kubeconfig%, Admin Restricted
The text was updated successfully, but these errors were encountered: