Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-25434

[2169224] Virtualization Overview crashed after weekend cluster shutdown: "Oh no! Something went wrong"

XMLWordPrintable

    • Medium
    • None

      Description of problem:

      It's the second time this happened for me, and both times on a Monday.
      Looking at the error it rang a bell:

      Description:
      undefined is not an object (evaluating 'acc[getPrevDay(pointDay)]['end'] = idx - 1')

      The above seems to be trying to get statistics for a Day the cluster was powered off?

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

      How reproducible:

      • Every Monday if the cluster is down during the weekend.

      Steps to Reproduce:
      1. Shutdown cluster on Friday after work
      2. Start on Monday morning
      3. Go to Virtualization -> Overview Page

      Actual results:

      • Page will not lead

      Expected results:

      • Page loads

      Additional info:

      Component trace:
      Copy to clipboard
      MetricChart@https://console-openshift-console.apps.shift.toca.local/api/plugins/kubevirt-plugin/exposed-ClusterOverviewPage-chunk.js:5960:127
      div
      span
      div
      GridItem@https://console-openshift-console.apps.shift.toca.local/static/vendor-patternfly-core-chunk-c75a9aad8214faea8b03.min.js:1:172599
      div
      Grid@https://console-openshift-console.apps.shift.toca.local/static/vendor-patternfly-core-chunk-c75a9aad8214faea8b03.min.js:5:310093
      article
      Card@https://console-openshift-console.apps.shift.toca.local/static/vendor-patternfly-core-chunk-c75a9aad8214faea8b03.min.js:5:52604
      ChartCard@https://console-openshift-console.apps.shift.toca.local/api/plugins/kubevirt-plugin/exposed-ClusterOverviewPage-chunk.js:5868:95
      div
      GridItem@https://console-openshift-console.apps.shift.toca.local/static/vendor-patternfly-core-chunk-c75a9aad8214faea8b03.min.js:1:172599
      div
      Grid@https://console-openshift-console.apps.shift.toca.local/static/vendor-patternfly-core-chunk-c75a9aad8214faea8b03.min.js:5:310093
      div
      ChartsCard
      div
      @https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:312774
      OverviewTab
      i@https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:469913
      t@https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:21:58047
      t@https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:21:60092
      Suspense
      div
      @https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:855141
      @https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:858242
      HorizontalNavFacade@https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:21:60646
      ClusterOverviewPage@https://console-openshift-console.apps.shift.toca.local/api/plugins/kubevirt-plugin/exposed-ClusterOverviewPage-chunk.js:3316:119
      t@https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:21:58047
      I@https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:1499127
      t@https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:21:60092
      Suspense
      i@https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:469913
      section
      PageSection@https://console-openshift-console.apps.shift.toca.local/static/vendor-patternfly-core-chunk-c75a9aad8214faea8b03.min.js:5:459980
      div
      div
      @https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:1499373
      div
      div
      DrawerMain@https://console-openshift-console.apps.shift.toca.local/static/vendor-patternfly-core-chunk-c75a9aad8214faea8b03.min.js:5:318207
      DrawerContent@https://console-openshift-console.apps.shift.toca.local/static/vendor-patternfly-core-chunk-c75a9aad8214faea8b03.min.js:1:14301
      div
      Drawer@https://console-openshift-console.apps.shift.toca.local/static/vendor-patternfly-core-chunk-c75a9aad8214faea8b03.min.js:5:285426
      NotificationDrawer@https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:1157034
      @https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:476802
      S@https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:93:80887
      main
      div
      Page@https://console-openshift-console.apps.shift.toca.local/static/vendor-patternfly-core-chunk-c75a9aad8214faea8b03.min.js:5:47210
      div
      div
      DrawerContentBody@https://console-openshift-console.apps.shift.toca.local/static/vendor-patternfly-core-chunk-c75a9aad8214faea8b03.min.js:1:155078
      div
      div
      DrawerMain@https://console-openshift-console.apps.shift.toca.local/static/vendor-patternfly-core-chunk-c75a9aad8214faea8b03.min.js:5:318207
      DrawerContent@https://console-openshift-console.apps.shift.toca.local/static/vendor-patternfly-core-chunk-c75a9aad8214faea8b03.min.js:1:14301
      div
      Drawer@https://console-openshift-console.apps.shift.toca.local/static/vendor-patternfly-core-chunk-c75a9aad8214faea8b03.min.js:5:285426
      On@https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:36:185055
      @https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:859161
      @https://console-openshift-console.apps.shift.toca.local/static/quick-start-chunk-b1d3ca0d8c571e2cc732.min.js:1:1262
      s@https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:236891
      @https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:1570254
      Z@https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:1587992
      st@https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:36:145304
      Z@https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:1587992
      Z@https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:1587992
      Z@https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:1587992
      ModalProvider@https://console-openshift-console.apps.shift.toca.local/api/plugins/kubevirt-plugin/exposed-modalProvider-chunk.js:46:47
      Z@https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:1587992
      i@https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:816258
      @https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:1564680
      @https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:1562067
      @https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:1564478
      ee@https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:1588087
      @https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:1590862
      withI18nextTranslation(Unknown)@https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:36:125398
      t@https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:21:58047
      t@https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:21:60092
      t@https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:21:54651
      ne@https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:1591173
      @https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:790893
      @https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:1062170
      s@https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:612766
      @https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:141:244867
      Suspense

      Stack trace:
      Copy to clipboard
      @https://console-openshift-console.apps.shift.toca.local/api/plugins/kubevirt-plugin/exposed-ClusterOverviewPage-chunk.js:6215:34
      reduce@[native code]
      getDayMidpoints@https://console-openshift-console.apps.shift.toca.local/api/plugins/kubevirt-plugin/exposed-ClusterOverviewPage-chunk.js:6227:75
      useXAxisTicks@https://console-openshift-console.apps.shift.toca.local/api/plugins/kubevirt-plugin/exposed-ClusterOverviewPage-chunk.js:6109:66
      MetricChart@https://console-openshift-console.apps.shift.toca.local/api/plugins/kubevirt-plugin/exposed-ClusterOverviewPage-chunk.js:5962:113
      na@https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:254:58880
      Hs@https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:254:111317
      wc@https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:254:98329
      Cc@https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:254:98257
      _c@https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:254:98120
      pc@https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:254:95107
      pc@[native code]
      @https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:254:44775
      @https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:262:3769
      Vi@https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:254:44721
      qi@https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:254:44656
      sc@https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:254:92484
      Oa@https://console-openshift-console.apps.shift.toca.local/static/vendors~main-chunk-acfeaf58041962d138af.min.js:254:64177
      Oa@[native code]
      @https://console-openshift-console.apps.shift.toca.local/static/main-chunk-e113f3aa95bd94695cc0.min.js:1:393471
      promiseReactionJob@[native code]

              mschatzm@redhat.com Matan Schatzman
              rhn-support-gveitmic Germano Veit Michel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: