che
che copied to clipboard
Fail fast if a workspace fails to start due to quota (currently fails for timeout)
Describe the bug
No error is shown if a workspace fails to start due to quota errors
Che version
7.51@latest
Steps to reproduce
- Create 30 + workspaces
- Apply quota for replica sets below 30
- Start a workspace
- ERROR: Workspace hangs during startup / no error is shown
Expected behavior
The error is shown on the UD level during startup
Runtime
OpenShift
Screenshots

Installation method
OperatorHub
Environment
Amazon
Eclipse Che Logs
`
Failed to create new replica set "workspacegsmd9ylxtbc7bsr8-fb7b586bc": replicasets.apps "workspacegsmd9ylxtbc7bsr8-fb7b586bc" is forbidden: exceeded quota: for-test-username-replicas, requested: count/replicasets.apps=1, used: count/replicasets.apps=30, limited: count/replicasets.apps=30
### Additional context
Probably we should add the event to unrecoverable on the DevWorspace controller end