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

Cannot enable addons if minikube instance is not running #5510

Closed
woodcockjosh opened this issue Oct 1, 2019 · 3 comments · Fixed by #5565
Closed

Cannot enable addons if minikube instance is not running #5510

woodcockjosh opened this issue Oct 1, 2019 · 3 comments · Fixed by #5565
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/bug Categorizes issue or PR as related to a bug. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.

Comments

@woodcockjosh
Copy link
Contributor

The exact command to reproduce the issue:

minikube addons enable ingress

The full output of the command that failed:


💣 minikube is not running, so the service cannot be accessed

The output of the minikube logs command:

💣 api load: filestore "minikube": Docker machine "minikube" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.

😿 Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
👉 https://github.com/kubernetes/minikube/issues/new/choose

The operating system version:
Mac OS 10.14.6

Maybe this is part of the minikube design but since addons are not tied to any 1 particular machine why does a machine have to be running in order to enable an addon? At least I think the error message should say something like In order to enable an addon at least 1 machine must be running however I think this should be fixed so that addons can be enabled without having a machine running.

@medyagh
Copy link
Member

medyagh commented Oct 1, 2019

Thanks for creating this issue,
the lease we could provide a better solution message ( please start minikube before enabling addons)

@medyagh medyagh added kind/bug Categorizes issue or PR as related to a bug. needs-solution-message Issues where where offering a solution for an error would be helpful labels Oct 1, 2019
@medyagh
Copy link
Member

medyagh commented Oct 1, 2019

long term would be nice to allow enabling addons even if it is stopped

@medyagh medyagh added priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. labels Oct 1, 2019
@woodcockjosh
Copy link
Contributor Author

wahoo!

@tstromberg tstromberg removed the needs-solution-message Issues where where offering a solution for an error would be helpful label Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/bug Categorizes issue or PR as related to a bug. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants