You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I faced - stuck on initializing Rancher Desktop step (graph at GUI Bottom-Right).
And I found why it presented.
Steps to Reproduce
Delete %userprofile%/.kube/config or set %home% to not equal with %userprofile%
no set %kubeconfig% or delete it
Run Rancher Desktop (rdctl start)
See Graph (initializing Rancher Desktop) forever
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:
The cannot read .kube/config part is probably normal (because it doesn't exist yet, and it will ignore it and keep going). Most likely the error is elsewhere.
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!
Oh, I see a: 2024-12-23T16:56:19.636-0800: Integration sync: Error: Error: EPERM: operation not permitted, mkdir 'U:\.kube'
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 C:\Users\…\.kube at the start of the second log file (in background.log), but U:\.kube afterwards. That's the one where you override %KUBECONFIG%, so we should obey that everywhere (and not look at U:\ at all)…
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: