dstack
dstack copied to clipboard
[Bug]: The Runpod provider infinitely restarts the pod if the docker args script is incorrect
Steps to reproduce
- Make intentional error in the
docker args
script. For example, add the commandexit 1
orkurl "https://dstack.ai"
to the script - Run
dstack run
with any configuratuion
Actual behaviour
- The pod in the runpad provider starts restarting endlessly. This can be seen in the provider's runpad web interface.
-
dstack server
is stuck a task in theprovisioning
state -
dstack server
does not respond to thedstack 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