Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-206

Workspace is not starting, when k8s StorageClass has volumeBindingMode=WaitForFirstConsumer

XMLWordPrintable

      When default StorageClass is configured to have volumeBindingMode set to WaitForFirstConsumer, workspaces do not start. I guess that's because che is waiting for PVC to be in "Bound" state before creating workspace (or mkdir) pod. But this is not happening with this volumeBindingMode and the PVC is stuck in "Pending" state with message "waiting for first consumer to be created before binding" until the workspace startup fails.

      Reproduction Steps
      Create default StorageClass with WaitForFirstConsumer volumeBindingMode (more info here)
      Try to start workspace
      Workspace startup fails with message:

      Error: Failed to run the workspace: "Waiting for persistent volume claim 'claim-che-workspace' reached timeout"

      More info: https://github.com/eclipse/che/issues/12889

              skabashn Sergii Kabashniuk
              psrna Pavol Srna
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: