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

Cannot consume a factory based on devfile v2 after Che Operator(with DevWorkspace Che Operator)

    XMLWordPrintable

Details

    • False
    • False
    • Hide
      = Workspace creation fails after upgrading DevWorkspace

      Currently, after upgrading DevWorkspace 2.10.1 to 2.11, {prod-short} fails to create a workspace with the following error: *Getting workspace detail data failed. Failed to fetch the workspace _<workspace_name>_, reason: Could not get exposed endpoints for DevWorkspace: controller not ready to resolve the workspace routing*.

      .Workaround
      Execute the following commands:
      `oc delete chemanager -n devworkspace-che --wait`
      `oc delete namespace devworkspace-che`
      Show
      = Workspace creation fails after upgrading DevWorkspace Currently, after upgrading DevWorkspace 2.10.1 to 2.11, {prod-short} fails to create a workspace with the following error: *Getting workspace detail data failed. Failed to fetch the workspace _<workspace_name>_, reason: Could not get exposed endpoints for DevWorkspace: controller not ready to resolve the workspace routing*. .Workaround Execute the following commands: `oc delete chemanager -n devworkspace-che --wait` `oc delete namespace devworkspace-che`
    • Workaround Exists
    • Hide

      Execute next commands:
      oc delete chemanager -n devworkspace-che --wait
      oc delete namespace devworkspace-che

      Show
      Execute next commands: oc delete chemanager -n devworkspace-che --wait oc delete namespace devworkspace-che
    • Hide

      1. Prepare test cluster base on OpenShift v.4.6
      2. Install DW 2.10.1 by using "crwctl 2.10.1"
      3. Apply mirroring to brew registry (we can use dedicated job for this: )
      4. Patch subscription to 2.11 version:

      oc patch subscription codeready-subscription -p '"spec": { "source": "crw-2-11-osbs"}' --type merge -n devws-operator-dev-ws
      -----
      oc patch subscription codeready-subscription -p '"spec": {"startingCSV": "crwoperator.v2.11.0"}' --type merge -n devws-operator-dev-ws
      

      5. Apply factory using URL pattern like: your_host/dashboard/#https://gist.githubusercontent.com/l0rd/71a04dd0d8c8e921b16ba2690f7d5a47/raw/d520086e148c359b18c229328824dfefcf85e5ef/spring-petclinic-devfile-v2.0.0.yaml
      Expected result: factory should be consumed and related workspace with the project should be created
      Actual result: we have error like:

      Provisioning storage: Updated common PVC on cluster
      Could not get exposed endpoints for DevWorkspace: controller not ready to resolve the workspace routing
      
      Show
      1. Prepare test cluster base on OpenShift v.4.6 2. Install DW 2.10.1 by using "crwctl 2.10.1" 3. Apply mirroring to brew registry (we can use dedicated job for this: ) 4. Patch subscription to 2.11 version: oc patch subscription codeready-subscription -p ' "spec" : { "source" : "crw-2-11-osbs" }' --type merge -n devws-operator-dev-ws ----- oc patch subscription codeready-subscription -p ' "spec" : { "startingCSV" : "crwoperator.v2.11.0" }' --type merge -n devws-operator-dev-ws 5. Apply factory using URL pattern like: your_host/dashboard/# https://gist.githubusercontent.com/l0rd/71a04dd0d8c8e921b16ba2690f7d5a47/raw/d520086e148c359b18c229328824dfefcf85e5ef/spring-petclinic-devfile-v2.0.0.yaml Expected result: factory should be consumed and related workspace with the project should be created Actual result: we have error like: Provisioning storage: Updated common PVC on cluster Could not get exposed endpoints for DevWorkspace: controller not ready to resolve the workspace routing

    Description

      After upgrading of DW version from 2.10.1 to 2.11 DevWorkspace controller cannot resolve workspace routing

      Attachments

        Activity

          People

            skabashn Sergii Kabashniuk
            mmusiien Maksym Musienko
            Max Leonov Max Leonov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: