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

ODF Storage Topology page shows "TypeError: Cannot read properties of undefined (reading '0')"

XMLWordPrintable

    • Moderate
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      In the OpenShift Container Platform console, when navigating to the OpenShift Data Foundation page "Storage" => "Topology", the overview is showing the following error:
      
      ~~~
      TypeError: Cannot read properties of undefined (reading '0')
          at me (https://console.apps.example.com/api/plugins/odf-console/exposed-topology-chunk.js:1:35027)
          at https://console.apps.example.com/api/plugins/odf-console/exposed-topology-chunk.js:1:66747
          at Array.map (<anonymous>)
          at https://console.apps.example.com/api/plugins/odf-console/exposed-topology-chunk.js:1:66739
          at Array.reduce (<anonymous>)
          at https://console.apps.example.com/api/plugins/odf-console/exposed-topology-chunk.js:1:66670
          at https://console.apps.example.com/api/plugins/odf-console/exposed-topology-chunk.js:1:66846
          at Object.Sa [as useMemo] (https://console.apps.example.com/static/vendors~main-chunk-4b6445a3b3fc17bf0831.min.js:263:63583)
          at t.useMemo (https://console.apps.example.com/static/vendors~main-chunk-4b6445a3b3fc17bf0831.min.js:255:5743)
          at Jt (https://console.apps.example.com/api/plugins/odf-console/exposed-topology-chunk.js:1:66642)
      ~~~
      
      Force-reloading (Ctrl + F5) the page does not resolve the issue.

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

      OpenShift Container Platform 4.13.41
      odf-operator.v4.13.8-rhodf
      

      How reproducible:

      Only on customer cluster

      Steps to Reproduce:

      1. Install ODF Operator 4.13.8
      2. Set up ODF according to documentation
      3. Navigate to "Storage" => "Topology"
      

      Actual results:

      "Oh no! Something went wrong" is shown.
      Error is "TypeError: Cannot read properties of undefined (reading '0')"

      Expected results:

      No error, topology view is shown

      Additional info:

      HAR file is available in attached Support Case 03841904
      
      Stack Trace:
      
      ~~~
      TypeError: Cannot read properties of undefined (reading '0')
          at me (https://console.apps.example.com/api/plugins/odf-console/exposed-topology-chunk.js:1:35027)
          at https://console.apps.example.com/api/plugins/odf-console/exposed-topology-chunk.js:1:66747
          at Array.map (<anonymous>)
          at https://console.apps.example.com/api/plugins/odf-console/exposed-topology-chunk.js:1:66739
          at Array.reduce (<anonymous>)
          at https://console.apps.example.com/api/plugins/odf-console/exposed-topology-chunk.js:1:66670
          at https://console.apps.example.com/api/plugins/odf-console/exposed-topology-chunk.js:1:66846
          at Object.Sa [as useMemo] (https://console.apps.example.com/static/vendors~main-chunk-4b6445a3b3fc17bf0831.min.js:263:63583)
          at t.useMemo (https://console.apps.example.com/static/vendors~main-chunk-4b6445a3b3fc17bf0831.min.js:255:5743)
          at Jt (https://console.apps.example.com/api/plugins/odf-console/exposed-topology-chunk.js:1:66642)
      ~~~
      
      Component trace:
      
      ~~~
      at Jt (https://console.apps.example.com/api/plugins/odf-console/exposed-topology-chunk.js:1:66082)
          at ta (https://console.apps.example.com/api/plugins/odf-console/exposed-topology-chunk.js:1:68711)
          at i (https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:452052)
          at t (https://console.apps.example.com/static/vendors~main-chunk-4b6445a3b3fc17bf0831.min.js:21:67625)
          at t (https://console.apps.example.com/static/vendors~main-chunk-4b6445a3b3fc17bf0831.min.js:21:69670)
          at Suspense
          at div
          at https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:870349
          at https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:873392
          at n (https://console.apps.example.com/static/vendors~main-chunk-4b6445a3b3fc17bf0831.min.js:21:70230)
          at Ye (https://console.apps.example.com/api/plugins/odf-console/exposed-dashboard-chunk.js:1:77780)
          at t (https://console.apps.example.com/static/vendors~main-chunk-4b6445a3b3fc17bf0831.min.js:21:67625)
          at I (https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:1533554)
          at t (https://console.apps.example.com/static/vendors~main-chunk-4b6445a3b3fc17bf0831.min.js:21:69670)
          at Suspense
          at i (https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:452052)
          at section
          at m (https://console.apps.example.com/static/vendor-patternfly-core-chunk-cdcfdc55890623d5fc26.min.js:1:720427)
          at div
          at div
          at t.a (https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:1533801)
          at div
          at div
          at c (https://console.apps.example.com/static/vendor-patternfly-core-chunk-cdcfdc55890623d5fc26.min.js:1:545565)
          at d (https://console.apps.example.com/static/vendor-patternfly-core-chunk-cdcfdc55890623d5fc26.min.js:1:775077)
          at div
          at d (https://console.apps.example.com/static/vendor-patternfly-core-chunk-cdcfdc55890623d5fc26.min.js:1:458280)
          at l (https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:1175827)
          at https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:458912
          at S (https://console.apps.example.com/static/vendors~main-chunk-4b6445a3b3fc17bf0831.min.js:98:86864)
          at main
          at div
          at v (https://console.apps.example.com/static/vendor-patternfly-core-chunk-cdcfdc55890623d5fc26.min.js:1:264220)
          at div
          at div
          at c (https://console.apps.example.com/static/vendor-patternfly-core-chunk-cdcfdc55890623d5fc26.min.js:1:62178)
          at div
          at div
          at c (https://console.apps.example.com/static/vendor-patternfly-core-chunk-cdcfdc55890623d5fc26.min.js:1:545565)
          at d (https://console.apps.example.com/static/vendor-patternfly-core-chunk-cdcfdc55890623d5fc26.min.js:1:775077)
          at div
          at d (https://console.apps.example.com/static/vendor-patternfly-core-chunk-cdcfdc55890623d5fc26.min.js:1:458280)
          at Un (https://console.apps.example.com/static/vendors~main-chunk-4b6445a3b3fc17bf0831.min.js:36:183620)
          at t.default (https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:880042)
          at e.default (https://console.apps.example.com/static/quick-start-chunk-794085a235e14913bdf3.min.js:1:3540)
          at s (https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:239711)
          at t.a (https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:1610459)
          at ee (https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:1628636)
          at _t (https://console.apps.example.com/static/vendors~main-chunk-4b6445a3b3fc17bf0831.min.js:36:142374)
          at ee (https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:1628636)
          at ee (https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:1628636)
          at i (https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:830807)
          at t.a (https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:1604651)
          at t.a (https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:1604840)
          at t.a (https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:1602256)
          at te (https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:1628767)
          at https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:1631899
          at r (https://console.apps.example.com/static/vendors~main-chunk-4b6445a3b3fc17bf0831.min.js:36:121910)
          at t (https://console.apps.example.com/static/vendors~main-chunk-4b6445a3b3fc17bf0831.min.js:21:67625)
          at t (https://console.apps.example.com/static/vendors~main-chunk-4b6445a3b3fc17bf0831.min.js:21:69670)
          at t (https://console.apps.example.com/static/vendors~main-chunk-4b6445a3b3fc17bf0831.min.js:21:64230)
          at re (https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:1632210)
          at t.a (https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:804787)
          at t.a (https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:1079398)
          at s (https://console.apps.example.com/static/main-chunk-876b3080b765b87baa51.min.js:1:654118)
          at t.a (https://console.apps.example.com/static/vendors~main-chunk-4b6445a3b3fc17bf0831.min.js:150:195887)
          at Suspense
      ~~~

              badhikar@redhat.com Bipul Adhikari
              rhn-support-skrenger Simon Krenger
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: