-
Notifications
You must be signed in to change notification settings - Fork 277
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
Initial setup stuck on 'Updating kubeconfig' (WSL) #7471
Comments
A workaround for me is to disable my VPN. Likely, the underlying issue is outside the scope of Rancher Desktop. However, it would be great to improve the error handling given that |
Could you enable debug logging and reproduce the problem, and then attach all of the logs to the bug? That would help track down issues. For technical detail: we set up a network namespace in WSL, so the |
Since working around the issue once, I am unable to reproduce it. Rancher Desktop seems to preserve some configuration across factory resets, reinstallations, and system reboots. How can I reset to a fresh installation? |
Odd; the only thing we may attempt to persist across factory resets are:
Neither should cause the issues you're seeing; so if we're keeping anything else, that would be a bug… |
I'm closing this bug since the issue seems not to be reproducible anymore |
Actual Behavior
The initial setup gets stuck at 'Updating kubeonfig'.
Steps to Reproduce
Open Rancher Desktop, choose K8s Version + engine as below.
Result
The initial setup gets stuck at 'Updating kubeonfig'.
Expected Behavior
The initial setup is succesfull.
Additional Information
No diagnostic errors.
I tried reinstalling Rancher Desktop.
rancher-desktop-guestagent.log
repeated message:kubernetes: failed to read kubeconfig [config-path=/etc/rancher/k3s/k3s.yaml][error=could not load Kubernetes client config from /etc/rancher/k3s/k3s.yaml: stat /etc/rancher/k3s/k3s.yaml: no such file or directory]
wsl-exec.log
repeated message:Running: wsl.exe --distribution rancher-desktop --exec /bin/sh -c if test -r /etc/rancher/k3s/k3s.yaml; then echo yes; else echo no; fi
k3s.log
repeated message:level=fatal msg="no default routes found in \"/proc/net/route\" or \"/proc/net/ipv6_route\""
. Potentially related issue Error "no default routes found" when using Air-gap installation k3s-io/k3s#1144. However, there is a default route on my machine.See also https://rancher-users.slack.com/archives/C0200L1N1MM/p1718399080544969
Rancher Desktop Version
1.15.1
Rancher Desktop K8s Version
1.30.4
Which container engine are you using?
containerd (nerdctl)
What operating system are you using?
Windows
Operating System / Build Version
Windows 10 Enterprise 19045
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
None
Windows User Only
Using VPN
The text was updated successfully, but these errors were encountered: