Skip to content
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

Upgrade from v1.9 to v1.14: waiting for component=kube-apiserver: timed out waiting for the condition #4202

Closed
suhasjog opened this issue May 3, 2019 · 3 comments
Labels
co/apiserver Issues relating to apiserver configuration (--extra-config) ev/apiserver-timeout timeout talking to the apiserver kind/bug Categorizes issue or PR as related to a bug.

Comments

@suhasjog
Copy link

suhasjog commented May 3, 2019

The exact command to reproduce the issue:

The full output of the command that failed:

The output of the minikube logs command:

The operating system version:

@suhasjog
Copy link
Author

suhasjog commented May 3, 2019

in ~ at ☸️ minikube
  minikube start
😄 minikube v1.0.1 on darwin (amd64)
👍 minikube will upgrade the local cluster from Kubernetes 1.9.0 to 1.14.1
💿 Downloading Minikube ISO ...
142.88 MB / 142.88 MB [============================================] 100.00% 0s
🤹 Downloading Kubernetes v1.14.1 images in the background ...
💡 Tip: Use 'minikube start -p ' to create a new cluster, or 'minikube delete' to delete this one.
🏃 Re-using the currently running virtualbox VM for "minikube" ...
⌛ Waiting for SSH access ...
📶 "minikube" IP address is 192.168.99.101
🐳 Configuring Docker as the container runtime ...
🐳 Version of container runtime is 17.09.0-ce
⌛ Waiting for image downloads to complete ...
✨ Preparing Kubernetes environment ...
💾 Downloading kubeadm v1.14.1
💾 Downloading kubelet v1.14.1
🚜 Pulling images required by Kubernetes v1.14.1 ...
🔄 Relaunching Kubernetes v1.14.1 using kubeadm ...
⌛ Waiting for pods: apiserver

💣 Error restarting cluster: wait: waiting for component=kube-apiserver: timed out waiting for the condition

😿 Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
👉 https://github.com/kubernetes/minikube/issues/new
❌ Problems detected in "kube-addon-manager":
error: nKubernetes addon ensure completed ao objects t 2019-05-03T20:21:18+00:00 ==

in ~ at ☸️ minikube took 10m 49s

@suhasjog
Copy link
Author

suhasjog commented May 3, 2019

crash.log

@tstromberg tstromberg changed the title Sorry that minikube crashed. If this was unexpected, we would love to hear from you Darwin: waiting for component=kube-apiserver: timed out waiting for the condition May 3, 2019
@tstromberg
Copy link
Contributor

Thanks for the bug report! I'm betting this is related to there being a drastic version upgrade from your old VM:

minikube will upgrade the local cluster from Kubernetes 1.9.0 to 1.14.1

and this log entry:

May 03 20:28:54 minikube kubelet[25261]: E0503 20:28:54.217791   25261 server.go:711] Starting health server failed: listen tcp 127.0.0.1:10248: bind: address already in use
May 03 20:28:54 minikube systemd[1]: kubelet.service: Main process exited, code=exited, status=255/n/a
May 03 20:28:54 minikube systemd[1]: kubelet.service: Unit entered failed state.
May 03 20:28:54 minikube systemd[1]: kubelet.service: Failed with result 'exit-code'.

I suggest runnning minikube delete. The new cluster should setup just fine.

@tstromberg tstromberg added kind/support Categorizes issue or PR as a support question. co/apiserver Issues relating to apiserver configuration (--extra-config) ev/apiserver-timeout timeout talking to the apiserver labels May 14, 2019
@tstromberg tstromberg changed the title Darwin: waiting for component=kube-apiserver: timed out waiting for the condition Upgrade from v1.9 to v1.14: waiting for component=kube-apiserver: timed out waiting for the condition May 14, 2019
@tstromberg tstromberg added kind/bug Categorizes issue or PR as related to a bug. and removed kind/support Categorizes issue or PR as a support question. labels May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/apiserver Issues relating to apiserver configuration (--extra-config) ev/apiserver-timeout timeout talking to the apiserver kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants