Uploaded image for project: 'Service Binding'
  1. Service Binding
  2. APPSVC-1192

"Error loading Catalog item" will be shown after user create a fake Helm Chart repository

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Helm
    • None
    • False
    • None
    • False

      Description of problem:

      An error message "Error loadin CatalogItem: failed loading catalog data" will shown on page after user create helm chart repository through the link on Helm Charts page

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

      4.12.0-0.nightly-2022-08-31-101631, 4.11

      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:

      5,6. An Error message "Error Loadin Catalog items: failed loading catalog data" would be shown on page
      Error as below can be catched up on the Console of Browser
      
      GET https://console-openshift-console.apps.qe-ui412-0901.qe.devcluster.openshift.com/api/helm/charts/index.yaml?namespace=default 504 (Gateway Time-out)
      (anonymous) @ main-chunk-1d72c24808f8a0a83d8f.min.js:1
      (anonymous) @ main-chunk-1d72c24808f8a0a83d8f.min.js:1
      u @ main-chunk-1d72c24808f8a0a83d8f.min.js:1
      f @ main-chunk-1d72c24808f8a0a83d8f.min.js:1
      (anonymous) @ main-chunk-1d72c24808f8a0a83d8f.min.js:1
      (anonymous) @ main-chunk-1d72c24808f8a0a83d8f.min.js:1
      s @ main-chunk-1d72c24808f8a0a83d8f.min.js:1
      c @ main-chunk-1d72c24808f8a0a83d8f.min.js:1
      (anonymous) @ helmCatalog-chunk-62659312d9e5ca2e330e.min.js:1
      jc @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      t.unstable_runWithPriority @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171973
      Hi @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      Ec @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      pc @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      (anonymous) @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      t.unstable_runWithPriority @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171973
      Hi @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      Vi @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      qi @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      sc @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      Oa @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      (anonymous) @ main-chunk-1d72c24808f8a0a83d8f.min.js:1
      (anonymous) @ main-chunk-1d72c24808f8a0a83d8f.min.js:1
      Promise.then (async)
      (anonymous) @ main-chunk-1d72c24808f8a0a83d8f.min.js:1
      jc @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      t.unstable_runWithPriority @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171973
      Hi @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      Ec @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      pc @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      (anonymous) @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      t.unstable_runWithPriority @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171973
      Hi @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      Vi @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      qi @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      sc @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      Oa @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      (anonymous) @ main-chunk-1d72c24808f8a0a83d8f.min.js:1
      Promise.then (async)
      (anonymous) @ main-chunk-1d72c24808f8a0a83d8f.min.js:1
      jc @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      t.unstable_runWithPriority @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171973
      Hi @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      Ec @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      pc @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      (anonymous) @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      t.unstable_runWithPriority @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171973
      Hi @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      Vi @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      qi @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      sc @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      enqueueSetState @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      m.setState @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171627
      (anonymous) @ main-chunk-1d72c24808f8a0a83d8f.min.js:1
      Promise.then (async)
      loadComponent @ main-chunk-1d72c24808f8a0a83d8f.min.js:1
      componentDidMount @ main-chunk-1d72c24808f8a0a83d8f.min.js:1
      ps @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      Oc @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      t.unstable_runWithPriority @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171973
      Hi @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      Ac @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      pc @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      (anonymous) @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      t.unstable_runWithPriority @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171973
      Hi @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      Vi @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      qi @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      De @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660
      Yt @ vendors~main-chunk-f380fda2c9d963b471ac.min.js:171660

      Expected results:

      The Helm Charts page can be loaded normally or page can notice user the PHCR has wrong data needs to check 

      Additional info:

      Attached ErrorSnapshot for more information

              Unassigned Unassigned
              kmamgain@redhat.com Kartikey Mamgain (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: