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

[GCP] Allow stopping VM with local SSD #2587

Merged
merged 2 commits into from
Sep 20, 2023
Merged

Conversation

Michaelvll
Copy link
Collaborator

@Michaelvll Michaelvll commented Sep 20, 2023

Fixes #2586

Tested (run the relevant ones):

  • Code formatting: bash format.sh
  • Any manual or new tests for this PR (please specify below)
    • sky launch -c test-gcp-stop --gpus A100-80GB:1 --cloud gcp; sky stop test-gcp-stop -y; sky start test-gcp-stop -y; sky autostop -y test-gcp-stop -i 0; sky status -r test-gcp-stop; sky down -y test-gcp-stop
    • sky launch -c test-normal-gcp --cloud gcp --cpus 2; sky stop test-normal-gcp -y; sky start test-normal-gcp -y; sky autostop -y test-normal-gcp -i 0; sky status -r test-normal-gcp; sky down -y test-normal-gcp
    • master: sky stop takes 1:30; this branch: sky stop takes 1:33.
  • All smoke tests: pytest tests/test_smoke.py
  • Relevant individual smoke tests: pytest tests/test_smoke.py::test_fill_in_the_name
  • Backward compatibility tests: bash tests/backward_comaptibility_tests.sh

Copy link
Collaborator

@cblmemo cblmemo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tested and it works great! LGTM 🫡 Left one nit for comments

sky/provision/gcp/instance_utils.py Show resolved Hide resolved
@Michaelvll Michaelvll merged commit 68a4be7 into master Sep 20, 2023
18 checks passed
@Michaelvll Michaelvll deleted the gcp-discard-local-ssd-option branch September 20, 2023 07:35
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

Successfully merging this pull request may close these issues.

[GCP] Fail to stop VM with local SSD
2 participants