dstackai / dstack

dstack is an open-source alternative to Kubernetes, designed to simplify development, training, and deployment of AI across any cloud or on-prem. It supports NVIDIA, AMD, and TPU.
https://dstack.ai/docs
Mozilla Public License 2.0
1.4k stars 136 forks source link

[Bug]: No graceful shutdown when building Packer images #1656

Open jvstme opened 1 month ago

jvstme commented 1 month ago

Steps to reproduce

  1. Run the "Build docker & cloud images" GitHub Action. Uncheck "Build docker images" and "Build Nebius images", check "Staging build" and one of the clouds.
  2. Wait until the workflow creates a cloud instance as part of "Run packer" job.
  3. Cancel the workflow.

Actual behavior

Packer does not perform graceful shutdown, the cloud instance keeps running.

Expected behavior

Packer performs graceful shutdown, the cloud instance is terminated.

Additional information

See the Graceful job termination discussion and specifically the repo from this comment.

github-actions[bot] commented 1 week ago

This issue is stale because it has been open for 30 days with no activity.