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

Add problem ID and exit code for "Ensure your system has enough CPUs. The minimum allowed is 2 CPUs" #9080

Closed
jtzwu opened this issue Aug 25, 2020 · 0 comments · Fixed by #9126
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. ux/embedded Embedded UX blockers

Comments

@jtzwu
Copy link
Contributor

jtzwu commented Aug 25, 2020

Steps to reproduce the issue:

  1. Run minikube start on a default Google Cloud Compute VM with 1 cpu with --output=json
  2. Get the error {"data":{"exitcode":"64","message":"Ensure your system has enough CPUs. The minimum allowed is 2 CPUs.\n"},"datacontenttype":"application/json","id":"507528d8-0e85-47bb-a2d1-08b41d868683","source":"https://minikube.sigs.k8s.io/","specversion":"1.0","type":"io.k8s.sigs.minikube.error"}

gcloud needs a machine readable error code that matches 1-to-1 with the message for this so it can understand what the error was without parsing the message.

@priyawadhwa priyawadhwa added kind/feature Categorizes issue or PR as related to a new feature. ux/embedded Embedded UX blockers labels Aug 25, 2020
@priyawadhwa priyawadhwa self-assigned this Aug 25, 2020
@tstromberg tstromberg self-assigned this Aug 25, 2020
@tstromberg tstromberg changed the title Add a numerical error code that matches 1-to-1 with the message in the json error Add problem ID and exit code for "Ensure your system has enough CPUs. The minimum allowed is 2 CPUs" Aug 26, 2020
@medyagh medyagh added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. ux/embedded Embedded UX blockers
Projects
None yet
4 participants