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

[airgap] workspace failed to start using JetBrains IntelliJ IDEA editor in airgap OCP cluster

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Release Notes
    • Hide
      = Workspaces using JetBrains IntelliJ IDEA editor fail to start in air-gapped environment

      There's currently a known issue affecting workspaces using JetBrains Intellij IDEA in an air-gapped environment. If you choose JetBrains IntelliJ IDEA as your editor and try starting a workspace, the workspace startup will fail. A workaround is available.

      .Workaround
      * Whitelist JetBrains editor binary CDN host `download-cdn.jetbrains.com`.
      Show
      = Workspaces using JetBrains IntelliJ IDEA editor fail to start in air-gapped environment There's currently a known issue affecting workspaces using JetBrains Intellij IDEA in an air-gapped environment. If you choose JetBrains IntelliJ IDEA as your editor and try starting a workspace, the workspace startup will fail. A workaround is available. .Workaround * Whitelist JetBrains editor binary CDN host `download-cdn.jetbrains.com`.
    • Known Issue
    • Rejected
    • Hide

      Whitelist JetBrains editor binary CDN host "download-cdn.jetbrains.com".

      Show
      Whitelist JetBrains editor binary CDN host "download-cdn.jetbrains.com".

      Description of problem:

      Workspace failed to start using JetBrains IntelliJ IDEA editor in airgap OCP.

      Workaround

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

      Steps to Reproduce

      1. install DEv Spaces 3.19.0 in airgapped OCP.
      2. Go to User Dashboard > Create Workspace page.
      3. Select JetBrains IntelliJ IDEA Ultimate editor.
      4. Try to create any sample workspace

      Actual results:

      Workspace failed to start:

      Logs from workspace pod > "editor-injector" container:

      Downloading IDE binaries...
      gzip: stdin: unexpected end of file
      tar: Child returned status 1
      tar: Error is not recoverable: exiting now
      Volume content:
      total 104776
      drwxrwsr-x. 3 root 1000770000 4096 Feb 26 17:26 .
      dr-xr-xr-x. 1 root root 139 Feb 26 17:26 ..
      -rwxr-xr-x. 1 1000770000 1000770000 3181 Feb 26 17:26 entrypoint-volume.sh
      -rw-r--r--. 1 1000770000 1000770000 289 Feb 26 17:26 idea.properties
      -rwxr-xr-x. 1 1000770000 1000770000 54148696 Feb 26 17:26 node-ubi8
      -rwxr-xr-x. 1 1000770000 1000770000 53123928 Feb 26 17:26 node-ubi9
      drwxr-sr-x. 5 1000770000 1000770000 4096 Feb 26 17:26 status-app
      

      Root cause: workspace is downloading JetBrains Editor binaries outside of OCP instance.

      Expected results:

      Workspace started successfully and opened using local JetBrains IntelliJ IDEA editor.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

      Definition of Done:

      Build Details:

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

      Related code
       

       *

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

                Created:
                Updated:
                Resolved: