-
Notifications
You must be signed in to change notification settings - Fork 285
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
Error starting kubernetes - waiting for services #1772
Comments
Could you attach The log we do include is, unfortunately, a red herring here; the actual error was shown in the screen shot:
I suspect this may be because of flavio/kuberlr#22 — in which case we need to use a newer kuberlr. Thanks! |
Thank you @mook-as! Please see attached background.log |
Hmm, that just has:
That should just mean you can't fetch updates; it shouldn't have any effect on Does any of the other logs have anything relevant? |
I have the same issue. I'm using VPN Cisco and working behind the company proxy. When I disconnect from my VPN it works. |
I have the similar issue in Rancher Desktop 1.1.1 with VPN Cisco (4.8.03036)....Unable to connect to the (Kubernetes) server: Service Unavailable. Can you please help me on this? |
Hi, Running into similar issue here. We're using dockerd in order to be able to use docker CLI. I used wsl-vpnkit in order to make network connection work under VPN and it seems okay, I am able to download stuff from the internet from a Linux prompt. I set up the proxy connection by adding the appropriate env vars (https_proxy, HTTPS_PROXY) in /etc/rc.conf, as it follows:
Rancher desktop starts but is waiting for Kubernetes.
After a while (more than 5 min), I get this error in the Rancher Desktop GUI:
Kubectl command is unable to connect to the kube cluster on Rancher desktop:
|
Hi! I'm experiencing the same problem - somehow rancher/kubectl tries to connect to the kubernetes cluster daemon using the proxy - you have to put the IP of WSL into the NO_PROXY variable. Kind of a problem: this ip changes often - so I would like to find out which ip subnet wsl is choosing from, and that you can put in here. Help for that appreciated ;) For your problem, you can at least work around putting the wsl ip in your NO_PROXY variable (and check that after each restart that it hasnt changed) Currently I'm not quite sure if it's the same problem going on here, since the error reads:
|
Actual Behavior
###Kubernetes Error
Error starting Kubernetes
Error: C:\Users\17422\AppData\Local\Programs\Rancher Desktop\resources\resources\win32\bin\kubectl.exe exited with code 255
Context:
Waiting for services
Some recent logfile lines:
2022-03-09T19:54:37.955Z: Running command wsl --distribution rancher-desktop --exec busybox cp /mnt/c/Users/17422/AppData/Local/Temp/1/rd-k3s-dnR9yg/k3s /etc/conf.d/k3s...
2022-03-09T19:54:38.664Z: Running command wsl --distribution rancher-desktop --exec busybox chmod 644 /etc/conf.d/k3s...
2022-03-09T19:54:39.372Z: Running command wsl --distribution rancher-desktop --exec /sbin/rc-update --update...
2022-03-09T19:54:40.041Z: Running command wsl --distribution rancher-desktop --exec /usr/local/bin/wsl-service k3s start...
2022-03-09T19:54:54.695Z: Running command wsl --distribution rancher-desktop --exec cat /proc/net/route...
2022-03-09T19:54:56.279Z: Running command wsl --distribution rancher-desktop --exec cat /proc/net/fib_trie...
2022-03-09T19:55:18.939Z: Running command wsl --distribution rancher-desktop --exec /bin/sh -c if test -r /etc/rancher/k3s/k3s.yaml; then echo yes; else echo no; fi...
2022-03-09T19:55:19.998Z: Running command wsl --distribution rancher-desktop --exec wslpath -a -u C:\Users\17422\AppData\Local\Programs\Rancher Desktop\resources\resources\linux\wsl-helper...
2022-03-09T19:55:21.182Z: Running command wsl --distribution rancher-desktop --exec /mnt/c/Users/17422/AppData/Local/Programs/Rancher Desktop/resources/resources/linux/wsl-helper k3s kubeconfig...
Steps to Reproduce
Download Rancher Desktop version 1.1.1
Install Rancher Desktop
Choose option to start/run Rancher Desktop at end of installation.
Result
Please see attached image of error and description of error above under ###Actual Behavior
Expected Behavior
Rancher desktop up and running.
Additional Information
Please see attached screenshot
Rancher Desktop Version
1.1.1
Rancher Desktop K8s Version
1.20.15
Which container runtime are you using?
containerd (nerdctl)
What operating system are you using?
Windows
Operating System / Build Version
Windows 10 Enterprise 64bit Build:20h2 (19042)
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
No response
Windows User Only
On VPN - company.
McAfee and Sentinalone endpoint security.
Working behind company proxy here - I've asked our engineering team to add all of the below endpoints to proxy auth bypass rule. Got below info from here - #1598
https://update.k3s.io/v1-release/channels (to get the preferred k3s versions)
https://api.github.com/repos/k3s-io/k3s/releases (to get all possible k3s versions)
https://github.com/k3s-io/k3s/releases/download/* (actual K3s artifacts)
https://objects.githubusercontent.com/ (redirect of the above)
https://desktop.version.rancher.io/v1/checkupgrade (upgrade checks)
The text was updated successfully, but these errors were encountered: