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 status --layout cluster --output json crashes #14142

Closed
kschaab opened this issue May 10, 2022 · 2 comments
Closed

minikube status --layout cluster --output json crashes #14142

kschaab opened this issue May 10, 2022 · 2 comments

Comments

@kschaab
Copy link
Contributor

kschaab commented May 10, 2022

What Happened?

minikube status --layout cluster --output json is returning exit code 7 and crashing by parsing a string into integer:

[5/10/2022, 4:15:18 PM] Running 'minikube status --layout cluster --output json -p minikube' (managed)
[5/10/2022, 4:15:18 PM] {"Name":"minikube","StatusCode":100,"StatusName":"Starting","Step":"Starting Node","StepDetail":"Download complete!","BinaryVersion":"v1.25.2","Components":{"kubeconfig":{"Name":"kubeconfig","StatusCode":405,"StatusName":"Stopped"}},"Nodes":[{"Name":"minikube","StatusCode":405,"StatusName":"Stopped","Components":{"apiserver":{"Name":"apiserver","StatusCode":405,"StatusName":"Stopped"},"kubelet":{"Name":"kubelet","StatusCode":405,"StatusName":"Stopped"}}}]}
[5/10/2022, 4:15:18 PM] 'minikube status --layout cluster --output json -p minikube' exited with code 7 took 75ms (managed)
[5/10/2022, 4:15:18 PM] E0510 16:15:18.312063   32318 status.go:602] exit code not found: strconv.Atoi: parsing "": invalid syntax

[5/10/2022, 4:15:18 PM] E0510 16:15:18.312095   32318 status.go:602] exit code not found: strconv.Atoi: parsing "": invalid syntax
E0510 16:15:18.312120   32318 status.go:602] exit code not found: strconv.Atoi: parsing "": invalid syntax

Attach the log file

Log file is too large for issue: https://gist.github.com/kschaab/f9d94c527ad5bbd5e84be948d009ff08

Operating System

macOS (Default)

Driver

HyperKit

@klaases
Copy link
Contributor

klaases commented Jun 28, 2022

Hi @kschaab, please update minikube to the latest version, v1.26.0.

Based on the fix provided in #14284, are you still experiencing this issue?

@klaases
Copy link
Contributor

klaases commented Jul 13, 2022

Hi @kschaab – is this issue still occurring? Are additional details available? If so, please feel free to re-open the issue by commenting with /reopen. This issue will be closed as additional information was unavailable and some time has passed.

Additional information that may be helpful:

  • Whether the issue occurs with the latest minikube release

  • The exact minikube start command line used

  • Attach the full output of minikube logs, run minikube logs --file=logs.txt to create a log file

Thank you for sharing your experience!

@klaases klaases closed this as completed Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants