Skip to content
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

devworkspace fails to start when init container exited but the error is not helpful for end-users #442

Closed
benoitf opened this issue Jun 3, 2021 · 2 comments
Milestone

Comments

@benoitf
Copy link
Collaborator

benoitf commented Jun 3, 2021

Starting a devWorkspace, I've the error

NAMESPACE         NAME               DEVWORKSPACE ID             PHASE    INFO
opentlc-mgr-che   spring-petclinic   workspacec4b044cd3dfa4a26   Failed   Init Container project-clone has state CrashLoopBackOff

It would be nice to have a better error reporting for end-users

The root cause, after grabbing logs is:

2021/06/03 13:57:09 Read DevWorkspace at /devworkspace-metadata/flattened.devworkspace.yaml
2021/06/03 13:57:09 Cloning project spring-petclinic to spring-petclinic
2021/06/03 13:57:09 failed to clone project spring-petclinic: project checkoutFrom refers to non-existing remote

so it could be nice to have the error reported directly instead of seeing that a container is in CrashLoopBack state

@sleshchenko
Copy link
Member

sleshchenko commented Jun 3, 2021

Well, I would distinct three issues:

@sleshchenko sleshchenko changed the title devworkspace fails to start but the error is not helpful for end-users devworkspace fails to start when init container exited but the error is not helpful for end-users Jul 8, 2021
@sleshchenko
Copy link
Member

Closing this issue since two improvements are done and you won't face the same behavior.

@sleshchenko sleshchenko modified the milestones: v0.9.0, v0.10.0 Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants