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

Get-Started Devfiles have incorrect source location after the switch from multi-host to single-host exposure strategy

    XMLWordPrintable

Details

    • False
    • False
    • Hide
      = Attempts to clone a workspace from a *Quick Add* sample result in an error under the `single-host` strategy

      When using the `single-host` strategy for workspace exposure, attempting to clone a workspace from a *Quick Add* sample results in an error. There is currently no workaround for this issue.
      Show
      = Attempts to clone a workspace from a *Quick Add* sample result in an error under the `single-host` strategy When using the `single-host` strategy for workspace exposure, attempting to clone a workspace from a *Quick Add* sample results in an error. There is currently no workaround for this issue.
    • Documented as Known Issue

    Description

      As part of CRW-1639 CRW dogfooding instance has been switched from the multi-host to single host setup:

       
      `serverExposureStrategy: single-host`
       
      However, currently, it is not possible to clone workspace from the Get-Started samples, which results in the error:
       

       
      It seems that after the switch the devfile-registry is updated incorrectly and point to the wrong location of the projects:
       
      e.g.  https://codeready-codeready-workspaces-operator.apps.che-dev.x6e0.p1.openshiftapps.com/devfile-registry/devfiles/05_php-cake/devfile.yaml
       
      zip source points to non-existing location is - https://devfile-registry-codeready-workspaces-operator.apps.che-dev.x6e0.p1.openshiftapps.com/resources/cakephp-ex-cakephp-ex-master.zip 
       
      It looks like devfile-registry still tries to use single-host routes for obtaining samples. In reality, it should use smth. like https://codeready-codeready-workspaces-operator.apps.che-dev.x6e0.p1.openshiftapps.com/devfile-registry/resources/cakephp-ex-cakephp-ex-master.zip 

       

      The issue can be reproducible against the CRW running on the che-dev dogfooding instance - https://docs.google.com/document/d/1homYEl95uAhcawL-l7p95Zfz8TU6Gy_8P7eeJrPneRw/edit#heading=h.3jir94aoy6ls 
       

       

       

       

      However, 

      Attachments

        Activity

          People

            vsvydenk Valerii Svydenko
            ibuziuk@redhat.com Ilya Buziuk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: