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

Unintended 'Network Error' message appears in the Dashboard after Internal Registry is disabled

XMLWordPrintable

    • False
    • None
    • False
    • User Experience

      Description of problem:

      When the Internal Devfile Registry is disabled by:

      $ oc edit checlusters.org.eclipse.che devspaces -n openshift-devspaces
      apiVersion: org.eclipse.che/v2
      kind: CheCluster
      metadata:
        name: devspaces
        namespace: openshift-devspaces
        ...
      spec:
        components:
          ...
          devfileRegistry:
            disableInternalRegistry: true
        ...

      then the IDE Dashboard shows a popup error message that must always be confirmed: 

      Failed to fetch devfiles metadata from registry URL: https://che-devfile-registry.prod-preview.openshift.io/, reason: Error: Network Error

      Steps to Reproduce

      1. Edit the CheCluster/devspaces and set disableInternalRegistry: true
      2. Try to open the DevSpaces Dashboard and create a workspace from a repository.
      3. The error message is always visible and must be confirmed.

      Additional info: When the Internal Registry is disabled, the error message should not be printed and if any similar message is printed/visible, it is essential to click the cross button (top right), it would be nice to remove any additional error message by clicking on it anywhere in the bubble..

      Actual results:

      An error message is displayed and must be confirmed by a click.

      Expected results:
      No error message is displayed when Internal Registry is disabled.

      Additional info:


      **

      Documentation:

      Red Hat OpenShift Dev Spaces, Administration Guide -> 3. Configuring OpenShift Dev Spaces -> 3.1.3. CheCluster Custom Resource fields reference -> Table 3.6. Configuration settings related to the Devfile registry component used by the OpenShift Dev Spaces installation

       

            ibuziuk@redhat.com Ilya Buziuk
            rhn-support-rludva Radomir Ludva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: