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

Air-gap installation fails on updating metas for pluginregistry

XMLWordPrintable

      Deployin CRW in air gapped environment fails on pluginregistry trying to do --in-place sed for meta.yaml files.
      It cannot create temporary file, which sed requires for --in-place replacements.

      This is the error message:

      Checking meta /var/www/html/v3/plugins/che-incubator/cpptools/0.1/meta.yaml
          Updating image registry to image-registry.openshift-image-registry.svc:5000
      sed: couldn't open temporary file /var/www/html/v3/plugins/che-incubator/cpptools/0.1/sedtACkaV: Permission denied
      

      Looking at file permissions in /var/www/html/v3/ shows, that group doesn't have write rights, which may be the problem.

      Note: The same mechanism works in devfile registry. Inspecting devfile registry image shows, that directories in /var/www/html have drwxrwxr-x rights (pluginregistry has just drwxr-xr-x

              amisevsk Angel Misevski (Inactive)
              rhopp@redhat.com Radim Hopp
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: