Dashboard page is blank if DevWorkspace is missing controller.devfile.io/creator label #22899
Labels
area/dashboard
kind/bug
Outline of a bug - must adhere to the bug report template.
severity/P1
Has a major impact to usage or development of the system.
Describe the bug
Under normal circumstances, when a workspace is started, the devworkspace that is applied to the cluster will be modified by devworkspace-webhook-server's mutating webhook, so that the
controller.devfile.io/creator
label is applied to the devworkspace object.However, recently we've been experiencing issues with OLM where the webhook breaks during an update of Che/DevSpaces and DWO. As part of the recovery/cleanup process, there is a need to delete the
controller.devfile.io
MutatingWebhookConfiguration on the cluster.If the
controller.devfile.io
MutatingWebhookConfiguration is deleted and the user dashboard is open, creating a workspace will result in the dashboard page going blank.Che version
7.82
Steps to reproduce
MutatingWebhookConfiguration
namedcontroller.devfile.io
:oc delete mutatingwebhookconfigurations controller.devfile.io
Expected behavior
The user dashboard should be able to handle cases where the devworkspace object does not have the
controller.devfile.io/creator
and mark the workspace as having an error (perhaps put it into the failed UI state?).If a devworkspace is missing this label, it needs to be deleted and re-created (while the mutating webhook exists) so that the mutating webhook will apply the
controller.devfile.io/creator
label.Runtime
OpenShift
Screenshots
No response
Installation method
OperatorHub
Environment
Linux
Eclipse Che Logs
Additional context
No response
The text was updated successfully, but these errors were encountered: