dstack
dstack copied to clipboard
[UX] Do not terminate unreachable instances in SSH fleets
Steps to reproduce:
- Create an SSH fleet with one or more hosts
- Disable the connection between the
dstackserver and the hosts of the fleet - Wait for some time
- Restore the connection
Actual behaviour:
- Fleet instances become unreachable
- After some time (to be checked), the
dstackserver terminates instances (along with the jobs running if any)
Expected behaviour:
- Fleet instances remain unreachable while the connection is not working
- As soon as the connection is back, instances go back to
idle - The fleet is not deleted
Note:
- The job running on an unreachable instance should still be terminated it is now.