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

VM: Error restarting cluster: waiting for apiserver: apiserver process never appeared #5905

Closed
zzzhy opened this issue Nov 13, 2019 · 4 comments
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@zzzhy
Copy link

zzzhy commented Nov 13, 2019

The exact command to reproduce the issue:
minikube start --cache-images --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers --cpus 4 --memory 12680

The full output of the command that failed:


💣 Error restarting cluster: waiting for apiserver: apiserver process never appeared
Problems detected in kube-addon-manager ["792bb2ae3606"]:
error: error pruning namespaced object /v1, Kind=Service: Get https://localhost:8443/api/v1/namespaces/kube-system/services?labelSelector=kubernetes.io%2Fcluster-service%21%3Dtrue%2Caddonmanager.kubernetes.io%2Fmode%3DReconcile: dial tcp 127.0.0.1:8443: connect: connection refused

The output of the minikube logs command:

😄 minikube v1.5.2 on Darwin 10.15.1
✅ Using image repository registry.cn-hangzhou.aliyuncs.com/google_containers
💡 Tip: Use 'minikube start -p ' to create a new cluster, or 'minikube delete' to delete this one.
🏃 Using the running virtualbox "minikube" VM ...
⌛ Waiting for the host to be provisioned ...
🐳 Preparing Kubernetes v1.16.2 on Docker '18.09.9' ...
🔄 Relaunching Kubernetes using kubeadm ...

💣 Error restarting cluster: waiting for apiserver: apiserver process never appeared

😿 Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
👉 https://github.com/kubernetes/minikube/issues/new/choose
❌ Problems detected in kube-addon-manager ["792bb2ae3606"]:
error: error pruning namespaced object /v1, Kind=Service: Get https://localhost:8443/api/v1/namespaces/kube-system/services?labelSelector=kubernetes.io%2Fcluster-service%21%3Dtrue%2Caddonmanager.kubernetes.io%2Fmode%3DReconcile: dial tcp 127.0.0.1:8443: connect: connection refused

The operating system version:
Mac Catalina 10.15.1 (19B88)

@zzzhy
Copy link
Author

zzzhy commented Nov 13, 2019

when recreate minikube vm, it turns out working fine !

@priyawadhwa
Copy link

hey @zzzhy, thanks for opening this! looks like the apiserver didn't come up. I'll go ahead and close this issue since it seems restart solved your issue.

@priyawadhwa priyawadhwa added the kind/support Categorizes issue or PR as a support question. label Nov 13, 2019
@tstromberg
Copy link
Contributor

tstromberg commented Nov 15, 2019

Possibly related PR: #5916

If it happens again, please share the output of minikube logs. Thanks!

@tstromberg tstromberg changed the title minikube wont ready with command 'minikube start' not-none: Error restarting cluster: waiting for apiserver: apiserver process never appeared Dec 16, 2019
@tstromberg
Copy link
Contributor

tstromberg commented Dec 16, 2019

I believe we fixed this with #5916 - the fix is included with minikube v1.6.

If you run into this issue and are not specifically using the 'none' driver, please try with the latest release of minikube, and add a comment saying /reopen if it's still an issue.

If you are using --vm-driver=none, it's likely something entirely different, so please open a new issue.

@tstromberg tstromberg changed the title not-none: Error restarting cluster: waiting for apiserver: apiserver process never appeared VM: Error restarting cluster: waiting for apiserver: apiserver process never appeared Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

3 participants