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

machine-exec component isn't running in IDEA-based DevWorkspace

XMLWordPrintable

    • False
    • None
    • False
    • Moderate

      Infra:

      OCP: 4.11.8

      Dev Spaces (version 3.2) and IntelliJ IDEA.

       

      Description:

      The following are issues reported with IntelliJ IDEA:

      1. Commands do not work - it fails with "connection refused" error. Please check the attached "command-failure.png" file for more details.
      2. The project has no SDK/JDK setup. (Refer "project-jdk-missing.png" image for more information). The expected behavior is that the default JDK (the one on the PATH) will be set.
      3. The IDEA runs in an idea-rhel8 container. If you open a new terminal, it also runs in the idea-rhel8 container. The expected behavior is that "tools" container will be created to run the terminal. The trouble with the idea-rhel8 container is that it is not set up to function well with java, see: 
      bash-4.4$ java -version bash: java: command not found bash-4.4$ echo $PATH /home/user/.java/current/bin:/home/user/node_modules/.bin/:/home/user/.npm-global/bin/:/opt/app-root/src/.npm-global/bin/:/opt/apache-maven/bin:/opt/gradle/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin bash-4.4$ ls -la /home/user/.java/current/bin ls: cannot access '/home/user/.java/current/bin': No such file or directory 

      Issue #3 looks similar to the one described in JIRA but this time it's specific to IntelliJ IDEA

      4. The screen flickers and some menus are disappearing For more details check the video.

        1. command-failure.png
          command-failure.png
          456 kB
        2. devfile (1).yaml
          2 kB
        3. idea-flick.m4v
          5.52 MB
        4. image-2022-11-08-17-09-12-893.png
          image-2022-11-08-17-09-12-893.png
          131 kB
        5. image-2022-11-08-17-10-18-934.png
          image-2022-11-08-17-10-18-934.png
          387 kB
        6. image-2022-11-14-14-14-49-624.png
          image-2022-11-14-14-14-49-624.png
          55 kB
        7. jq_yq_not_found.png
          jq_yq_not_found.png
          174 kB
        8. jq.png
          jq.png
          54 kB
        9. machine-exec-3.2-vs-3.3-vs-3.4.png
          machine-exec-3.2-vs-3.3-vs-3.4.png
          516 kB
        10. machine-exec-3.2-vs-3.4.png
          machine-exec-3.2-vs-3.4.png
          292 kB
        11. machine-exec-3.3.png
          machine-exec-3.3.png
          588 kB
        12. machine-exec-error.png
          machine-exec-error.png
          63 kB
        13. notification.png
          notification.png
          7 kB
        14. project-jdk-missing.png
          project-jdk-missing.png
          112 kB
        15. Screenshot 2022-11-12 at 09.18.12.png
          Screenshot 2022-11-12 at 09.18.12.png
          292 kB

              rnikiten Roman Nikitenko
              rhn-support-dtambat Darshan Tambat
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: