dstack icon indicating copy to clipboard operation
dstack copied to clipboard

[Bug]: The Runpod provider infinitely restarts the pod if the docker args script is incorrect

Open TheBits opened this issue 2 months ago • 8 comments

Steps to reproduce

  • Make intentional error in the docker args script. For example, add the command exit 1 or kurl "https://dstack.ai" to the script
  • Run dstack run with any configuratuion

Actual behaviour

  1. The pod in the runpad provider starts restarting endlessly. This can be seen in the provider's runpad web interface.
  2. dstack server is stuck a task in the provisioning state
  3. dstack server does not respond to the dstack stop command (!)

Expected behaviour

It is necessary to terminate pod after the first unsuccessful attempt to start the pod

dstack version

0.18.0

Server logs

No response

Additional information

No response

TheBits avatar Apr 16 '24 07:04 TheBits