Open jvstme opened 6 months ago
After #1236 we give gateway more than enough time to install and setup. If it takes more time for some reason, then we should fix the underlying problem. This issue only addresses the error messages, so I'd state it as minor.
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. Please reopen the issue if it is still relevant.
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. Please reopen the issue if it is still relevant.
This issue is stale because it has been open for 30 days with no activity.
@jvstme is this issue still valid?
@peterschmidt85, yes
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. Please reopen the issue if it is still relevant.
Current
After connecting to dstack-gateway via SSH, dstack-server will attempt updating the gateway with
update.sh
or configuring it by calling the/api/config
endpoint. However, dstack-gateway's installation and setup with cloud-init may be unfinished by that moment yet. This would lead to unclear dstack-server errors likeor
Proposed
cloud-init status
and report an error to the user if cloud-init was not successfulcloud-init status
and report an error to the user if the timeout is reachedThis should improve the user experience, facilitate troubleshooting, prevent bugs.