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

[dashboard] - restart workspace in debug mode after startup failure #16050

Closed
sparkoo opened this issue Feb 17, 2020 · 0 comments
Closed

[dashboard] - restart workspace in debug mode after startup failure #16050

sparkoo opened this issue Feb 17, 2020 · 0 comments
Assignees
Labels
area/dashboard kind/enhancement A feature request - must adhere to the feature request template. severity/P1 Has a major impact to usage or development of the system.

Comments

@sparkoo
Copy link
Member

sparkoo commented Feb 17, 2020

Is your enhancement related to a problem? Please describe.

In #15983, we will introduce workspace startup debug mode, which will watch logs of the workspace pod and send them to the dashboard together with startup events. We need dashboard UI support to use this feature.

Describe the solution you'd like

After the workspace startup fails, there is now option to restart the workspace. We would like to have there second button to restart the workspace in debug mode, so the user will see all the logs from startup.

If it is technically feasible, update the route <che-host>/dashboard/#/ide/<namespace>/<workspace> with additional debug parameter. The parameter on che-server probably will be debug-workspace-start=true (see PR #15988) so it can be the same, or something similar. Doing it like this would enable other clients, like chectl (#16119), to use it. If it is technically different task and should be done outside of the scope of this issue, please create a new issue for it ❤️

Don't forget to add docs to troubleshooting https://www.eclipse.org/che/docs/che-7/troubleshooting-for-che-end-users/

Describe alternatives you've considered

Make it configurable from workspace configuration (this will be probably another task anyway).

Additional context

#15983
epic: #15047

@sparkoo sparkoo added kind/enhancement A feature request - must adhere to the feature request template. area/dashboard labels Feb 17, 2020
@sparkoo sparkoo changed the title [dashboard] - make it possible to restart workspace in debug mode after startup failure [dashboard] - restart workspace in debug mode after startup failure Feb 17, 2020
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Feb 17, 2020
@ibuziuk ibuziuk added severity/P1 Has a major impact to usage or development of the system. team/controller and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Feb 17, 2020
@olexii4 olexii4 self-assigned this Feb 26, 2020
@olexii4 olexii4 added the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Mar 20, 2020
@olexii4 olexii4 closed this as completed Mar 20, 2020
@olexii4 olexii4 removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dashboard kind/enhancement A feature request - must adhere to the feature request template. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

4 participants