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

Workspace which used ubi9-minimal, ubi9-init, ubi9 as a tool container failed to start on waiting for JetBrains desktop editor to start

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Release Notes
    • Hide
      = Workspaces created with ubi9-based samples as a tool container fail to start with JetBrains IntelliJ IDEA (desktop)

      There's currently a known issue with starting workspaces created with ubi9-based samples (ubi9-minimal, ubi-init, and ubi9) in the desktop version of JetBrains IntelliJ IDEA. The IDE does not load, causing the start of the workspace to fail after a period of time. Currently, there is no workaround available.
      Show
      = Workspaces created with ubi9-based samples as a tool container fail to start with JetBrains IntelliJ IDEA (desktop) There's currently a known issue with starting workspaces created with ubi9-based samples (ubi9-minimal, ubi-init, and ubi9) in the desktop version of JetBrains IntelliJ IDEA. The IDE does not load, causing the start of the workspace to fail after a period of time. Currently, there is no workaround available.
    • Known Issue
    • Done

      Description of problem:

      Workaround

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Install Dev Spaces 3.19.0.RC-23 on OCP 4.17
      2. Go to User Dashboard > Create Workspace
      3. Select JetBrains Intellij IDEA Ultimate editor
      4. Create workspace using Git repo https://github.com/crw-qe/ubi9-based-sample-public/tree/ubi9-minimal

      Actual results:

      Workspace failed on waiting for JetBrains Intellij IDEA Ultimate desktop editor to start:

      DevFile.yaml:

      schemaVersion: 2.2.2
      metadata:
        name: ubi9-minimal-demo
      components:
        - name: tools
          container:
            image: registry.access.redhat.com/ubi9-minimal
            args: ['tail', '-f', '/dev/null']
            endpoints:
              - exposure: public
                name: nodejs
                protocol: http
                targetPort: 3000
            memoryLimit: 2Gi
            memoryRequest: 256Mi
            mountSources: true
          attributes:
            controller.devfile.io/merge-contribution: true
      

      DevWorkspace: devworkspace-ubi9-minimal-demo-1.yaml
      DevWorkspaceTemplate: devworkspacetemplate-che-idea-server-ubi9-minimal-demo-1.yaml

      There were no error messages in workspace container logs:
      workspace2e86fb11f1474ac4-655bfc5469-9t6z8-che-gateway.log
      workspace2e86fb11f1474ac4-655bfc5469-9t6z8-editor-injector.log
      workspace2e86fb11f1474ac4-655bfc5469-9t6z8-project-clone.log

      Expected results:

      Workspace started successfully.

      Reproducibility (Always/Intermittent/Only Once):

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

      • OS: Windows 10
      • JetBrains Intellij IDEA Ultimate 2024.3.4
      • JetBrains Gateway 2024.3.3
      • OpenShift Dev Spaces plugin 0.0.7

      The same error happened with next container images:

      • registry.access.redhat.com/ubi9
      • registry.access.redhat.com/ubi9-init

      Workspace with quay.io/devfile/universal-developer-image:ubi9-latest image (git repo https://github.com/crw-qe/quarkus-api-example-public.git) started successfully in JetBrains Intellij IDEA Ultimate desktop editor.

      Workspace with quay.io/devfile/universal-developer-image:ubi8-latest image (git https://github.com/crw-qe/quarkus-api-example-public/blob/ubi8-latest/devfile.yaml) started successfully in JetBrains Intellij IDEA Ultimate desktop editor.

       *

              azatsary Artem Zatsarynnyi
              dnochevn Dmytro Nochevnov
              Dmytro Nochevnov Dmytro Nochevnov
              Jana Vrbkova Jana Vrbkova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: