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 shows paused cluster as running #9352

Closed
j-windsor opened this issue Sep 29, 2020 · 2 comments · Fixed by #9383
Closed

Minikube status shows paused cluster as running #9352

j-windsor opened this issue Sep 29, 2020 · 2 comments · Fixed by #9383
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. 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
Milestone

Comments

@j-windsor
Copy link

Steps to reproduce the issue:

  1. Pause the cluster.
  2. run the following commands in the following versions.
➜  Downloads ./minikube12-2 status --layout cluster --output json 
{"Name":"minikube","StatusCode":418,"StatusName":"Paused","BinaryVersion":"v1.12.2","Components":{"kubeconfig":{"Name":"kubeconfig","StatusCode":200,"StatusName":""}},"Nodes":[{"Name":"minikube","StatusCode":200,"StatusName":"OK","Components":{"apiserver":{"Name":"apiserver","StatusCode":418,"StatusName":"Paused"},"kubelet":{"Name":"kubelet","StatusCode":405,"StatusName":"Stopped"}}}]}     
➜  Downloads ./minikube13-1 status --layout cluster --output json 
{"Name":"minikube","StatusCode":200,"StatusName":"OK","BinaryVersion":"v1.13.1","Components":{"kubeconfig":{"Name":"kubeconfig","StatusCode":200,"StatusName":""}},"Nodes":[{"Name":"minikube","StatusCode":200,"StatusName":"OK","Components":{"apiserver":{"Name":"apiserver","StatusCode":418,"StatusName":"Paused"},"kubelet":{"Name":"kubelet","StatusCode":405,"StatusName":"Stopped"}}}]}

As you can see, the most recent version does not correctly output the status as paused.

@j-windsor
Copy link
Author

Might be related to this commit: 1783cc2

@priyawadhwa any ideas?

@priyawadhwa priyawadhwa self-assigned this Sep 29, 2020
@tstromberg tstromberg added kind/bug Categorizes issue or PR as related to a bug. ux/embedded Embedded UX blockers labels Sep 30, 2020
@tstromberg
Copy link
Contributor

tstromberg commented Oct 2, 2020

I was able to duplicate this at HEAD:

./out/minikube pause
./out/minikube status -o json --layout=cluster | jq

The StatusCode should be 419 / StatusName should be Paused.

@tstromberg tstromberg added this to the v1.14.0 milestone Oct 2, 2020
@tstromberg tstromberg added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. 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
Development

Successfully merging a pull request may close this issue.

3 participants