-
Notifications
You must be signed in to change notification settings - Fork 296
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
Waiting on Kubernetes API on startup #7989
Comments
logs.zip |
That means it's stuck because the code is failing around rancher-desktop/pkg/rancher-desktop/backend/wsl.ts Lines 943 to 949 in 2fab96e
So the issue seems to be that we're unexpectedly not seeing (Having a different distribution with a local dockerd should be no issue; I have that too, just with openSUSE. Also, thanks for uploading the logs!) |
Thanks for clarifying. I don't know the exact mapping for the network interfaces in WSL. Are they directly referring to the actual network interfaces on the host system, or is there some internal mapping in the WSL layer to avoid issues with this? I am using a dock, so my PC has two ethernet ports, the native "Ethernet" is not in use, while the one on the dock "Ethernet 2" is. If this is also mapped into WSL, perhaps this answers the question. I can try to plug the network cable directly into my laptop to see if this resolves the issue for now. |
No immediate difference in the behaviour, still seems to be looping. However it seems that it now continues from the check mentioned before but is still looping back, perhaps due to a failure in the next steps? I have uploaded new logs below. |
The WSL networks should be unrelated to your host networks. There's #6665 (which should hopefully be fixed in 1.17), but I'm not sure that's related to this issue. Looks like your new logs are a lot more complex, which does make me wonder if you have |
You are exactly right. I have had to setup mirrored networking mode in the past to get wsl to work properly with the proxy/vpn setup that I use in my work. I did not realize that this would have an effect on new distributions as well. But I would believe that rancher would experience similar networking issues in my daily setup where I would need to access company repositories, etc. Would this still be resolved by supporting other network adapter names. Or is mirrored networking mode not supported on purpose? |
Actual Behavior
New installation won't finish starting up. Stuck on "Waiting on Kubernetes API"
Steps to Reproduce
Install Rancher Desktop
Start Rancher Desktop
Result
Stuck on this state without any further progress. Restarting the application. Uninstall/reinstall does not resolve the issue.
Expected Behavior
Install + Start should properly finish setup and give a working installation.
Additional Information
I have previous to installing Rancher desktop already used WSL with Ubuntu 24.04 with a docker installation. I would think that this should have no effect on Rancher. But perhaps it might be relevant to mention?
Rancher Desktop Version
1.16.0
Rancher Desktop K8s Version
1.30.6
Which container engine are you using?
moby (docker cli)
What operating system are you using?
Windows
Operating System / Build Version
Windows 11 Enterprise 23H2
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
None
Windows User Only
Appgade SDP and Ivanti Secure Client. Used for work environment. I have tried disabling both without any change.
The text was updated successfully, but these errors were encountered: