-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
feature: minikube should not crash if service or namespace doesn't exist. #5836
Comments
ah ! thanks for reporting it ! I see that we have a nicely worded error message however it is not acceptable that we Crash ! we should exit without crashing with a nice message that the service doesnt exist. I also noticed when the service doesn't exist it is painfully slow and takes a lot of time to get back to you. I bet this might be a Retry Logic, that we could make it less time consuming. the Fix should also tell the users, to see list of all services use this command:
|
/assign @rajula96reddy |
@rajula96reddy are you still working on it ? |
@medyagh Yeah! I am working on it and I am gonna finish this soon. Probably today or tomorrow. I am really sorry, I got stuck with some stuff and couldn't finish it earlier. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I am running minikube version v1.5.2.
I discovered that if I specify an undefined "namespace" with the namespace option on the service command an error is reported but there is also a message that says "mini9kube crashed".
The exact command to reproduce the issue:
minikube service newservice -n unknown --url
The full output of the command that failed:
$ minikube service newservice -n unknown --url
💣 Error opening service: Service newservice was not found in "unknown" namespace. You may select another namespace by using 'minikube service newservice -n : Temporary Error: Error getting service newservice: services "newservice" not found
😿 Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
👉 https://github.com/kubernetes/minikube/issues/new/choose
The output of the
minikube logs
command:minikube.log
The operating system version:
Linux bj-XPS-13-9360 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: