-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
No error shown when workspace fails to start due to supervisor error #14293
Comments
@akosyakov would you like Team IDE to own this one,or, is it one of those scenarios where maybe you'd prefer Team Workspace contribute to Supervisor? cc: @Furisto @utam0k @WVerlaek |
@kylos101 if it is urgent for the workspace team because of PVC go ahead and create a PR 🙏 |
👋 @akosyakov not urgent because of PVC (even when using object storage, the user gets an error message that is not helpful, so both failure modes are roughly the same). If I were to ask IDE team to do, could you estimate when you may be able to ingest as part of groundwork? That will help us know if we should do or not. |
Updated expected behavior to include a link if the |
We will consider it next Monday. |
Note that PR will solve a different issue that what's described here (it will fix a small bug in |
Doh! Thank you, @WVerlaek . Does this mean we still need help from IDE team? I ask because it's still in their inbox, and @akosyakov shared they were going to pick it up next week. |
Perfect, thanks for clarifying @WVerlaek ! 💪 @akosyakov please let @WVerlaek know if you bump into any trouble or need help testing. |
Hi @mustard-mh , I tested #14650 with https://gitlab.com/kylos101/prebuild-experiment/-/blob/kylos101/customer-image/.gitpod.yml#L1, which should cause an error due to the Is that possible to change? Here is what I see now when trying to start a workspace from this branch: @WVerlaek what sort of error message were you expecting to see? The workspace I tested with is https://kylos101-prebuildexperi-3ui0u5wx2ib.ws-us75.gitpod.io/. |
cc: @akosyakov reopened, and added back to inbox |
@kylos101 in that specific example (a |
Maybe on workspace startup failure, if it's an alpine-based image we can somehow show that it's not something we support currently? |
@WVerlaek Can you create that as a separate issue for |
@WVerlaek whoops, thank you! For this issue, could you update the description? For example, @mustard-mh what happens if you try using a custom image that is not alpine based? For example, is the error |
If you use custom image that is not alpine based, it will success, because even you don't have gitpod user, supervisor will create it, but it still can failed by some reason, e.g We will continue improve this error message in following PR |
Bug description
When a workspace fails to start due to
supervisor
exiting with an error (e.g. failing to setup thegitpod
user in a custom image), the workspace immediately transitions to stopping and stopped, but doesn't show any error to the user:Related: #12978 (comment) (has some more context as well)
Steps to reproduce
gitpod
user (e.g.hashicorp/terraform:1.2.9
)supervisor
fails to add thegitpod
user and exitsWorkspace affected
No response
Expected behavior
An error is shown to users if a workspace fails to start due to
supervisor
exiting with an error. If the error is for a missinggitpod
user, the error message sent to the user should include a link to our docs on custom base images.Example repository
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: