Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Spot] Disallow
sky down
spot controller when in-progress spot jobs…
… exist (skypilot-org#1667) * Expose failure reason for spot jobs * Add failure reason for normal failure * Failure reason hint for sky logs sky-spot-controller * require failure reason for all * Fix the conftest * fix controller name * revert SKYPILOT_USER * Show controller processs logs with sky spot logs for better UX * revert usage user ID * do not overwrite failure reason for resource unavailable * format * lint * address comments * fix comment * Update docs/source/examples/spot-jobs.rst Co-authored-by: Zongheng Yang <[email protected]> * improve readability and refactoring * address comments * format * Add comment * address comments * format * Add failover history to the error rasied by _launch * Add comment * Update sky/spot/recovery_strategy.py Co-authored-by: Zongheng Yang <[email protected]> * refactor * Address comment * Update sky/spot/recovery_strategy.py Co-authored-by: Zongheng Yang <[email protected]> * format * format * fix exception name * Disallow termination of spot controller when spot job is running * Fix message * Fix message * address comments * Update sky/cli.py Co-authored-by: Zongheng Yang <[email protected]> * Fix UX * Update sky/cli.py Co-authored-by: Zongheng Yang <[email protected]> * change confirm str to `delete` --------- Co-authored-by: Zongheng Yang <[email protected]>
- Loading branch information