Users are unable to debug why a workspace is failing to start due to lack of accessible logs. #23404
Labels
area/devworkspace-operator
kind/bug
Outline of a bug - must adhere to the bug report template.
severity/P2
Has a minor but important impact to the usage or development of the system.
team/B
This team is responsible for the Web Terminal, the DevWorkspace Operator and the IDEs.
Describe the bug
When there is a bug in postStart command, that causes a workspace to fail to start, it impossible to retain the errors causing the workspace to help user troubleshoot/understand the root cause of the failure
Che version
7.95
Steps to reproduce
Run "Restart from local devfile" action and select the devfile.yaml created in the above step.
the workspace restats fails with the following error:
examining the logs on the main container "tools", there is no information that helps the developer understand why the workspace is failing.
The workspace deployment YAML shows the postStart command as follows. It is noted that stdout and stderr are being redirected to /tmp/poststart-stderr.txt, making it impossible to retain the errors causing the workspace to fail to start.
Expected behavior
Developers should be able to view the stdout and stderr of the postStart command that is failing. This would allow users to see the "I fail" output from the command above, facilitating easier debugging and resolution of the issue.
Runtime
OpenShift
Screenshots
No response
Installation method
OperatorHub
Environment
Linux, macOS
Eclipse Che Logs
Additional context
No response
The text was updated successfully, but these errors were encountered: