Diagnose workspace startup failures
Diagnose and resolve common workspace startup failures based on error symptoms and root causes. The Che dashboard and the DevWorkspace Operator emit error messages that indicate pod scheduling, image pull, DevWorkspace, and resource quota issues.
Pod scheduling errors
| Error message | Resolution |
|---|---|
|
The cluster does not have enough resources to schedule the workspace Pod. Free resources by stopping idle workspaces, or add nodes to the cluster. |
|
A PersistentVolumeClaim (PVC) cannot be bound. Verify that a StorageClass is configured and that the cluster has available persistent volumes. |
|
The workspace Pod has a |
Image pull errors
| Error message | Resolution |
|---|---|
|
The container runtime cannot pull the workspace image. Verify that the image exists, the image name is correct in the devfile, and that image pull secrets are configured if the image is in a private registry. |
|
The container runtime does not trust the TLS certificate of the container registry. Import the registry Certificate Authority (CA) certificate into Che. |
DevWorkspace errors
| Error message | Resolution |
|---|---|
|
The workspace did not reach the |
|
The DevWorkspace Operator webhook rejected the DevWorkspace. Verify that the DevWorkspace Operator is running and that CRDs are up to date. |
|
An infrastructure-level error prevented workspace creation. Check the DevWorkspace Operator logs for details. |
Resource quota errors
| Error message | Resolution |
|---|---|
|
The user namespace has a ResourceQuota that prevents creating the workspace Pod or PVC. Increase the quota or reduce the workspace resource requests in the devfile. |
|
The workspace container exceeded its memory limit and was terminated. Increase the memory limit in the devfile |