Description
Bug description
When a workspace fails to start due to supervisor
exiting with an error (e.g. failing to setup the gitpod
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
- Start workspace with a custom base image that doesn't have the
gitpod
user (e.g.hashicorp/terraform:1.2.9
) supervisor
fails to add thegitpod
user and exits- Workspace transitions to stopping -> stopped states without showing an error
Workspace 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 missing gitpod
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
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done