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

"profile list" shows paused clusters as "Running" #8920

Closed
tstromberg opened this issue Aug 5, 2020 · 4 comments · Fixed by #8978
Closed

"profile list" shows paused clusters as "Running" #8920

tstromberg opened this issue Aug 5, 2020 · 4 comments · Fixed by #8978
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

Comments

@tstromberg
Copy link
Contributor

With a paused cluster, run "minikube profile list":

|----------|-----------|------------|--------------|------|--------------|---------|
| Profile  | VM Driver |  Runtime   |      IP      | Port |   Version    | Status  |
|----------|-----------|------------|--------------|------|--------------|---------|
| crio     | docker    | crio       | 172.17.0.3   | 8443 | v1.18.3      | Running |
| minikube | docker    | containerd | 172.17.0.4   | 8443 | v1.18.3      | Running |
| v119     | hyperkit  | docker     | 192.168.64.3 | 8443 | v1.19.0-rc.4 | Running |
|----------|-----------|------------|--------------|------|--------------|---------|

All 3 of these clusters are paused. For comparison, here's the JSON output showing the cluster as paused:

% minikube status -p v119 -o json --layout=cluster | jq                                                                                                                                         {
  "Name": "v119",
  "StatusCode": 418,
  "StatusName": "Paused",
  "Step": "Done",
  "StepDetail": "⏯️  Paused 14 containers in: kube-system, kubernetes-dashboard, storage-gluster, istio-operator",
  "BinaryVersion": "v1.12.2",
  "Components": {
    "kubeconfig": {
      "Name": "kubeconfig",
      "StatusCode": 200,
      "StatusName": ""
    }
  },
  "Nodes": [
    {
      "Name": "v119",
      "StatusCode": 200,
      "StatusName": "OK",
      "Components": {
        "apiserver": {
          "Name": "apiserver",
          "StatusCode": 418,
          "StatusName": "Paused"
        },
        "kubelet": {
          "Name": "kubelet",
          "StatusCode": 405,
          "StatusName": "Stopped"
        }
      }
    }
  ]
}

I believe the root cause of this is that profile list shows the host state rather than the apiserver staet.

@tstromberg tstromberg added july-chill 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 and removed july-chill labels Aug 5, 2020
@taciomcosta
Copy link
Contributor

taciomcosta commented Aug 11, 2020

Hi!
Could you assign this one to me? @tstromberg

@tstromberg
Copy link
Contributor Author

I'll try! I'm not sure if it will work without a PR though:

/assign @taciomcosta

@tstromberg
Copy link
Contributor Author

Thanks for taking this on, @taciomcosta !

@taciomcosta
Copy link
Contributor

PR opened.
Let me know for any improvements! :)

@priyawadhwa priyawadhwa added the kind/support Categorizes issue or PR as a support question. label Aug 12, 2020
@medyagh medyagh added kind/bug Categorizes issue or PR as related to a bug. and removed kind/support Categorizes issue or PR as a support question. labels Sep 16, 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.

4 participants