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

persistUserHome breaks UDI tools in downstream image

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Release Notes
    • Hide
      = Enabling persistence of home directory breaks Universal Developer Image home directory, PATH, and environment variables

      Before this update, enabling the persistence of the home directory broke the Universal Developer image home directory, PATH, and environment variables. With this update, this issue is fixed.
      Show
      = Enabling persistence of home directory breaks Universal Developer Image home directory, PATH, and environment variables Before this update, enabling the persistence of the home directory broke the Universal Developer image home directory, PATH, and environment variables. With this update, this issue is fixed.
    • Bug Fix
    • Done
    • Hide

      Use the upstream UDI image (quay.io/devfile/universal-developer-image:ubi8-latest) instead of the downstream UDI image once https://github.com/devfile/developer-images/pull/115 is merged

      Show
      Use the upstream UDI image (quay.io/devfile/universal-developer-image:ubi8-latest) instead of the downstream UDI image once https://github.com/devfile/developer-images/pull/115 is merged

      Description of problem:

       https://github.com/eclipse/che/issues/22412 & https://github.com/devfile/developer-images/pull/115 were created for the upstream UDI image, but this work needs to be ported to the downstream UDI image (with some modifications: for example, we aren't using nvm or sdkman downstream).

       

      To summarize the issue, when devEnvironments.persistUserHome is set to true, the /home/user/ directory of the UDI image will be overwritten with the contents of the PVC. We currently are installing tools & configs in /home/user/, so many tools are no longer usable when this option is enabled.

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

      Steps to Reproduce

      1. Set devEnvironments.persistUserHome to true in the che cluster CR when using the downstream UDI image in a workspace
      2. Try running a tool such as mvn

       

      Actual results:

      The shell will report that the mvn command was not found.

      Expected results:

      Maven and other tools should run as expected.

      Reproducibility (Always/Intermittent/Only Once):{}

       

      Always

       

              nickboldt Nick Boldt
              aobuchow Andrew Obuchowicz (Inactive)
              Maksym Musienko Maksym Musienko
              Jana Vrbkova Jana Vrbkova
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: