-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wait for cloud-init on dstack-gateway before attempting any operations #1220
Comments
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.
The text was updated successfully, but these errors were encountered: