skypilot-org / skypilot

SkyPilot: Run AI and batch jobs on any infra (Kubernetes or 12+ clouds). Get unified execution, cost savings, and high GPU availability via a simple interface.
https://skypilot.readthedocs.io
Apache License 2.0
6.63k stars 485 forks source link

[Core] `down --purge` should work for cluster with identity mismatch #2646

Open Michaelvll opened 1 year ago

Michaelvll commented 1 year ago

A user encountered the following issue:

  1. Launch a spot controller with a root account
  2. Delete the old root account
  3. sky down -p sky-spot-controller-xxx

SkyPilot will complain that the spot controller were launched with another root account, and there is no easy way for the user to terminate the cluster, except for echo "DELETE FROM clusters WHERE name='<controller-name>'" | sqlite3 ~/.sky/state.db

github-actions[bot] commented 8 months ago

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 10 days.

github-actions[bot] commented 4 months ago

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 10 days.

github-actions[bot] commented 4 days ago

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 10 days.