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

minikube start (v1.20.0) doesn't work on BigSur 11.3.1 #11417

Closed
nickgryg opened this issue May 15, 2021 · 4 comments
Closed

minikube start (v1.20.0) doesn't work on BigSur 11.3.1 #11417

nickgryg opened this issue May 15, 2021 · 4 comments
Labels
co/virtualbox kind/support Categorizes issue or PR as a support question. long-term-support Long-term support issues that can't be fixed in code os/macos triage/duplicate Indicates an issue is a duplicate of other open issue.

Comments

@nickgryg
Copy link

nickgryg commented May 15, 2021

~ (:|✔) minikube version
minikube version: v1.20.0
commit: c61663e

Steps to reproduce the issue:

  1. minikube config set driver virtualbox
  2. minikube start

Full output of minikube logs command:

minikube logs

lastStart.txt

Full output of failed command:

 ~ (:|✔) minikube start
😄  minikube v1.20.0 on Darwin 11.3.1
✨  Using the virtualbox driver based on user configuration
👍  Starting control plane node minikube in cluster minikube
🔥  Creating virtualbox VM (CPUs=2, Memory=4000MB, Disk=20000MB) ...
🐳  Preparing Kubernetes v1.20.2 on Docker 20.10.6 ...
    ▪ Generating certificates and keys ...
    ▪ Booting up control plane ...
    ▪ Configuring RBAC rules ...\ E0514 16:08:25.153302   46565 start.go:132] Unable to scale down deployment "coredns" in namespace "kube-system" to 1 replica: timed out waiting for the condition

🔎  Verifying Kubernetes components...
❗  Enabling 'default-storageclass' returned an error: running callbacks: [Error making standard the default storage class: Error listing StorageClasses: Unauthorized]
    ▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5
🌟  Enabled addons: storage-provisioner

❌  Exiting due to GUEST_START: wait 6m0s for node: wait for healthy API server: controlPlane never updated to v1.20.2

@medyagh
Copy link
Member

medyagh commented May 15, 2021

@nickgryg thanks for providing the full logs. I am curious why you chose virtual box over hyperkit or docker driver on MacOS?

And do you use it in a corp network?

@nickgryg
Copy link
Author

nickgryg commented May 15, 2021

Actually, I got the same error both on hyperkit and virtualbox. I just have more experience with virtualbox. That's why I prefer to use it.

 ~ (:|✔) minikube config unset driver
 ~ (:|✔) minikube start
😄  minikube v1.20.0 on Darwin 11.3.1
✨  Automatically selected the hyperkit driver. Other choices: virtualbox, ssh
👍  Starting control plane node minikube in cluster minikube
🔥  Creating hyperkit VM (CPUs=2, Memory=4000MB, Disk=20000MB) ...
🐳  Preparing Kubernetes v1.20.2 on Docker 20.10.6 ...
    ▪ Generating certificates and keys ...
    ▪ Booting up control plane ...
    ▪ Configuring RBAC rules .../ E0514 22:14:44.766881   47598 start.go:132] Unable to scale down deployment "coredns" in namespace "kube-system" to 1 replica: timed out waiting for the condition

🔎  Verifying Kubernetes components...
❗  Enabling 'default-storageclass' returned an error: running callbacks: [Error making standard the default storage class: Error listing StorageClasses: Unauthorized]
    ▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5
🌟  Enabled addons: storage-provisioner

❌  Exiting due to GUEST_START: wait 6m0s for node: wait for healthy API server: controlPlane never updated to v1.20.2

No, it's my personal laptop and just a home internet connection without any firewalls, proxies etc.

What I found so far that certificates are outdated despite of the fact that I created env just ten minutes ago.
Here it is a part of the api-server logs:

E0515 02:12:44.136815       1 authentication.go:53] Unable to authenticate the request due to an error: [x509: certificate has expired or is not yet valid: current time 2021-05-15T02:12:44Z is after 2020-04-03T22:37:35Z, verifying certificate SN=2, SKID=, AKID= failed: x509: certificate has expired or is not yet valid: current time 2021-05-15T02:12:44Z is after 2020-04-03T22:37:35Z]

@afbjorklund afbjorklund added co/virtualbox os/macos kind/support Categorizes issue or PR as a support question. labels May 16, 2021
@walker-tom
Copy link

I encountered the exact same problem with minikube v1.21.0 on Catalina 10.15.7 but with the docker driver.

Running minikube delete --all --purge, as suggested in #8844, and removing all existing docker images and containers solved this problem for me.

tejal29 added a commit to tejal29/minikube that referenced this issue Jul 8, 2021
Related to  kubernetes#11417

Add a suggestion for unhealthy control plane
@spowelljr spowelljr added the long-term-support Long-term support issues that can't be fixed in code label Jul 21, 2021
@spowelljr
Copy link
Member

This issue is a duplicate of #8765, since #8765 has been around longer and has more traffic I'm going to close this issue. Please feel free to follow along and contribute to #8765, thanks!

@spowelljr spowelljr added the triage/duplicate Indicates an issue is a duplicate of other open issue. label Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/virtualbox kind/support Categorizes issue or PR as a support question. long-term-support Long-term support issues that can't be fixed in code os/macos triage/duplicate Indicates an issue is a duplicate of other open issue.
Projects
None yet
Development

No branches or pull requests

5 participants