che icon indicating copy to clipboard operation
che copied to clipboard

Fail fast if a workspace fails to start due to quota (currently fails for timeout)

Open ibuziuk opened this issue 3 years ago • 0 comments

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

  1. Create 30 + workspaces
  2. Apply quota for replica sets below 30
  3. Start a workspace
  4. ERROR: Workspace hangs during startup / no error is shown

Expected behavior

The error is shown on the UD level during startup

Runtime

OpenShift

Screenshots

image

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

ibuziuk avatar Jul 29 '22 11:07 ibuziuk