Chapter 21. Troubleshooting OpenShift Dev Spaces administration
Diagnose and resolve common OpenShift Dev Spaces administration issues including workspace startup failures, OAuth configuration errors, and Dev Workspace Operator problems.
21.1. Workspace startup failure error messages Copy linkLink copied to clipboard!
Diagnose and resolve common workspace startup failures based on error symptoms and root causes. The OpenShift Dev Spaces dashboard and the Dev Workspace Operator emit error messages that indicate pod scheduling, image pull, DevWorkspace, and resource quota issues.
21.1.1. Pod scheduling errors Copy linkLink copied to clipboard!
| 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 |
21.1.2. Image pull errors Copy linkLink copied to clipboard!
| 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 OpenShift Dev Spaces. |
21.1.3. DevWorkspace errors Copy linkLink copied to clipboard!
| Error message | Resolution |
|---|---|
|
|
The workspace did not reach the |
|
| The Dev Workspace Operator webhook rejected the DevWorkspace. Verify that the Dev Workspace Operator is running and that CRDs are up to date. |
|
| An infrastructure-level error prevented workspace creation. Check the Dev Workspace Operator logs for details. |
21.1.4. Resource quota errors Copy linkLink copied to clipboard!
| 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 |
21.2. Troubleshooting OAuth configuration Copy linkLink copied to clipboard!
Diagnose and resolve common OAuth configuration issues that prevent Git provider authentication from workspaces. Errors include incorrect credentials, mismatched callback URLs, missing Secrets, and expired tokens.
21.2.1. OAuth application errors Copy linkLink copied to clipboard!
| Symptom | Resolution |
|---|---|
|
Users see | The OAuth application credentials are incorrect. Verify the client ID and client secret in the OpenShift Secret. Recreate the Secret if needed. |
|
Users see |
The OAuth callback URL configured in the Git provider application does not match the OpenShift Dev Spaces callback URL. The callback URL must be |
| Users are not prompted to authorize the OAuth application. |
The OAuth OpenShift Secret is not in the |
| OAuth works for some users but not others. | The Git provider OAuth application restricts access to specific organizations or groups. Expand the application permissions to include all required organizations. |
21.2.2. Token refresh errors Copy linkLink copied to clipboard!
| Symptom | Resolution |
|---|---|
|
Users see | The OAuth token has expired and cannot be refreshed. The user must revoke the token on the Git provider and re-authorize. |
|
Git push fails with |
The OAuth token scope is insufficient for push operations. Verify that the OAuth application requests the |
Revised on 2026-07-14 13:19:13 UTC