dstack
dstack copied to clipboard
[Bug]: Force remove of busy instance leaves instance running
dstack version
master
Python version
3.11
Host OS
macOS 13.4
Host Arch
ARM
What happened?
- Run a job.
- Stop the job.
- While the instance is busy, remove it with
--force. - The CLI says the instance is removed but it stays ready.
CLI logs
(venvt) ➜ my_dstack_public git:(master) ✗ dstack pool remove serious-bat-1-0 --
force
Pool name default-pool
Remove instance 'serious-bat-1-0'? [y/n]: y
Instance 'serious-bat-1-0' removed
(venvt) ➜ my_dstack_public git:(master) ✗ dstack pool ps
Pool name default-pool
INSTANCE BACKEND REGION RESOURCES SPOT PRICE STATUS CREATED
serious-b… gcp us-west4 2xCPU, yes $0.009104 ready 4 mins ago
8GB, 100GB
(disk)
Server logs
No response
Runner logs
No response
Additional Information
No response
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.