Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-1959

Missing helm chart warning when the helm chart index couldn't be fetch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • 4.12.0, 4.11.z
    • Dev Console
    • Low
    • None
    • ODC Sprint 226, ODC Sprint 229, ODC Sprint 230, ODC Sprint 231
    • 4
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:
      Follow up on OCPBUGS-803: In this ticket the backend adds a new annotation if one or more chart repositories couldn't be downloaded.

      This (new) error message is not yet displayed in the developer catalog.

      Version-Release number of selected component (if applicable):
      4.11 / 4.12

      How reproducible:
      Always

      Steps to Reproduce:

      1. Login OCP as administrator, change to "Developer" prespective
      2. Navigate to Helm page -> Helm Releases Tab, click the link "Install a Helm Chart from the developer catalog"
      3. Click the link "try to configure their own custom Helm Chart repository"
      4. Fill in the Form with value, and click create
        Name: test
        URL: http://test.test.com
      5. Check if Helm Charts page can be loaded successfully without any error message
      6. Navigate to Helm -> Helm Releases Tab -> Click the link and go to Helm Charts page again
      7. Check if the Hel Charts page can be loaded successfully without any error

      Actual results:

      1. Other helm charts should be displayed with the latest backend change
      2. But the user didn't notice that some helm charts are missing.

      Expected results:

      1. Other helm charts should be displayed.
      2. The user should see a warning that some helm charts are not displayed.

      Additional info:
      kmamgain@redhat.com initial PR was https://github.com/openshift/console/pull/12096 but we discussed that we update the annotation to something like this:

      annotations:
        console-warning: One or more Helm Chart repositories could not be fetched. (Missing charts from: A, B, C. Reason: ${err.Error()})
      

      The complete string is build in the backend. The console should show this warning always in developer catalog when it's defined (and not empty).

              dsantra12 Debsmita Santra
              cjerolim Christoph Jerolimov
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: