dstackai / dstack

dstack is a lightweight, open-source alternative to Kubernetes & Slurm, simplifying AI container orchestration with multi-cloud & on-prem support. It natively supports NVIDIA, AMD, & TPU.
https://dstack.ai/docs
Mozilla Public License 2.0
1.58k stars 155 forks source link

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

Open jvstme opened 2 months ago

jvstme commented 2 months 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 month ago

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

github-actions[bot] commented 1 month ago

This issue was closed because it has been inactive for 14 days since being marked as stale. Please reopen the issue if it is still relevant.

github-actions[bot] commented 2 days ago

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