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

CodeReady Workspaces is not started and displayed with error logs on OCP 4.10 when DevWorkspace enabled (tech preview channel)

XMLWordPrintable

    • False
    • False
    • Hide
      = {prod-short} with {devworkspace} may fail to start on {ocp} 4.10

      Currently, {prod-short} with {devworkspace} might fail to start on {ocp} 4.10. There is currently no workaround for this issue.
      Show
      = {prod-short} with {devworkspace} may fail to start on {ocp} 4.10 Currently, {prod-short} with {devworkspace} might fail to start on {ocp} 4.10. There is currently no workaround for this issue.
    • Hide

      Prerequisite: Install the crw 2.14.100 operator from operatorhub, tech preview w/ devworkspace enabled

      Create the workload with below steps
      1.Login as Developer using added htpasswd credential. Click on Add item and select
      Go into the topology view
      2. Click +Add
      3. Click From Git
      4. In the Git Repo URL field, enter https://github.com/edeandrea/summit-lab-spring-music.git
      5. Expand Show Advanced Git Options
      6. In the Git Reference field, enter pipeline
      7. In the Resources section, select Deployment Config
      8. In the Advanced Options section, click the word Labels and enter the label app.openshift.io/runtime=spring and hit enter
      9. Click Create
      10. After build complete, click on the code ready workspaces icon

      Actual results:
      code ready workspaces is not started and displayed with error logs

      Failed to run the workspace: "Plugins installation process failed. Error: Unrecoverable event occurred: 'FailedMount', 'MountVolume.SetUp failed for volume "ssshkeyconfigvolume" : object "user1-codeready"/"workspaceh05yzl2aipmyd2j8.sshconfigmap" not registered', 'workspaceh05yzl2aipmyd2j8.che-plugin-broker'"

      Expected results:
      code ready workspaces should be displayed

      Show
      Prerequisite: Install the crw 2.14.100 operator from operatorhub, tech preview w/ devworkspace enabled Create the workload with below steps 1.Login as Developer using added htpasswd credential. Click on Add item and select Go into the topology view 2. Click +Add 3. Click From Git 4. In the Git Repo URL field, enter https://github.com/edeandrea/summit-lab-spring-music.git 5. Expand Show Advanced Git Options 6. In the Git Reference field, enter pipeline 7. In the Resources section, select Deployment Config 8. In the Advanced Options section, click the word Labels and enter the label app.openshift.io/runtime=spring and hit enter 9. Click Create 10. After build complete, click on the code ready workspaces icon Actual results: code ready workspaces is not started and displayed with error logs Failed to run the workspace: "Plugins installation process failed. Error: Unrecoverable event occurred: 'FailedMount', 'MountVolume.SetUp failed for volume "ssshkeyconfigvolume" : object "user1-codeready"/"workspaceh05yzl2aipmyd2j8.sshconfigmap" not registered', 'workspaceh05yzl2aipmyd2j8.che-plugin-broker'" Expected results: code ready workspaces should be displayed

      Select the code ready workspaces operator icon of a workload in topology page and workspace is not getting loaded instead failed with error.

      [Test Environment] Cluster version : Code ready workspaces operator [2.14.0/2.13.0]is installed in OCP cluster version: 4.10.0-0.nightly-2022-01-17-023213

      Installed operator: tech preview (2.13.101, 2.14.100) – not the GA version from latest branch.

      Additional Info:
      Verified with both crw 2.13 and crw 2.14 operator versions on OCP 4.10 cluster, error is displayed on starting workspace

      For 2.14 installation, follow the steps: https://docs.google.com/document/d/1LIFweQV-t0nhNPjXYiJp7h93M7zDtFwCcRq-EqdfdHY/edit?pli=1#heading=h.hu9080ifwvit

        1. screenshot-1.png
          screenshot-1.png
          189 kB
        2. screenshot-2.png
          screenshot-2.png
          41 kB
        3. screenshot-3.png
          screenshot-3.png
          76 kB

              ibuziuk@redhat.com Ilya Buziuk
              bmakam@redhat.com Balaji Makam (Inactive)
              Fabrice Flore-Thébault Fabrice Flore-Thébault
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: