Bug 2291132

Summary: [UI] Home => Overview page crashes when ceph osd crosses the near full ratio limits
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Prasad Desala <tdesala>
Component: management-consoleAssignee: Sanjal Katiyar <skatiyar>
Status: CLOSED ERRATA QA Contact: Prasad Desala <tdesala>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.16CC: hnallurv, nthomas, odf-bz-bot, skatiyar
Target Milestone: ---Keywords: Regression
Target Release: ODF 4.16.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.16.0-125 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-17 13:24:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Prasad Desala 2024-06-10 07:59:41 UTC
Description of problem (please be detailed as possible and provide log
snippests):
==================================================================================
Home => Overview page crashes when ceph osd crosses the near full ratio limits. 

TypeError
Description:
t is not a function

Component trace:

at https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/pipelines-plugin/code-refs/pipelinesComponent-chunk-955d4445b91668fde1dc.min.js:1:283205
    at m.memo.t.children.e.children.t.reduxes.e.reduxes.t.reduxes.every.reduxID (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:601181)
    at R (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:12:14964)
    at <anonymous> (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:602451)
    at R (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:12:14964)
    at <anonymous> (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/pipelines-plugin/code-refs/pipelinesComponent-chunk-955d4445b91668fde1dc.min.js:1:244103)
    at R (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:12:14964)
    at div
    at o (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:60:245215)
    at div
    at c (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:60:244493)
    at div
    at t.default (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:1380009)
    at div
    at c (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:1:136321)
    at https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/pipelines-plugin/code-refs/pipelinesComponent-chunk-955d4445b91668fde1dc.min.js:1:322663
    at R (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:12:14964)
    at div
    at d (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:1:139622)
    at div
    at d (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:6:7848)
    at div
    at d (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:1:139622)
    at div
    at d (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:6:7848)
    at div
    at t.default (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:1382465)
    at div
    at t.default (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:232373)
    at v (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/dashboards-chunk-ce3dae424cabc4d33e72.min.js:1:355)
    at i (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:331206)
    at _ (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:31:4920)
    at ne (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:31:10364)
    at Suspense
    at div
    at https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:725444
    at https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/dashboards-chunk-ce3dae424cabc4d33e72.min.js:1:16430
    at R (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:12:14964)
    at l (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:147493)
    at _ (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:31:4920)
    at ne (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:31:10364)
    at Suspense
    at i (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:331206)
    at section
    at m (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:6:123362)
    at div
    at div
    at t.a (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:1300531)
    at div
    at div
    at l (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:60:99892)
    at c (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:6:290411)
    at div
    at c (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:6:23308)
    at c (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:1076624)
    at https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:298795
    at R (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:12:14964)
    at main
    at div
    at b (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:60:260476)
    at div
    at div
    at l (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:6:355612)
    at div
    at div
    at l (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:60:99892)
    at c (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:6:290411)
    at div
    at c (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:6:23308)
    at An (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:1:126891)
    at t.default (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:746966)
    at t.default (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/quick-start-chunk-23618ee992212e1e456f.min.js:1:3355)
    at l (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:147493)
    at t.a (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:1378966)
    at te (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:1399916)
    at ft (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:1:87024)
    at te (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:1399916)
    at te (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:1399916)
    at o (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:700042)
    at t.a (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:1371240)
    at t.a (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:1368821)
    at ne (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:1400038)
    at ae (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:1402052)
    at _ (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:31:4920)
    at ne (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:31:10364)
    at _ (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:31:4920)
    at ne (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:31:10364)
    at te (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:31:9773)
    at G (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:12:11631)
    at t (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:12:24311)
    at re (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:1402314)
    at t.a (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:672791)
    at t.a (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:993600)
    at l (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/main-chunk-f92ae44c18a36e37d256.min.js:1:522992)
    at t.a (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-ca39f8ac8662aad9f5de.min.js:12:31092)
    at Suspense


Stack trace:

TypeError: t is not a function
    at parseCephHealthStatus (webpack-internal:///89189:51:26)
    at getCephHealthState (webpack-internal:///89189:70:12)
    at eval (webpack-internal:///89189:74:100)
    at Array.map (<anonymous>)
    at getCephsHealthState (webpack-internal:///89189:74:79)
    at Object.getStorageSystemHealthState [as healthHandler] (webpack-internal:///48257:41:93)
    at https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/pipelines-plugin/code-refs/pipelinesComponent-chunk-955d4445b91668fde1dc.min.js:1:283786
    at ra (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendors~main-chunk-8fe06a63525cf39ea08a.min.js:117:58879)
    at Fa (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendors~main-chunk-8fe06a63525cf39ea08a.min.js:117:68397)
    at Us (https://console-openshift-console.apps.tdesala-j6.qe.rh-ocs.com/static/vendors~main-chunk-8fe06a63525cf39ea08a.min.js:117:112289)



Version of all relevant components (if applicable):
OCP: 4.16.0-0.nightly-2024-06-06-064349
ODF: 4.16.0-120.stable


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?


Is there any workaround available to the best of your knowledge?
recover the cluster from ceph osd ratio limits by deleting some data

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
1

Can this issue reproducible?
Yes

Can this issue reproduce from the UI?
NA

If this is a regression, please provide more details to justify this:


Steps to Reproduce:
===================
1) Create a ODF cluster and start filling with data until the cluster reaches full ratios (85%)

Actual results:
===============
Home => Overview page crashes when the ceph osd crosses the near full ratio limits. 

Expected results:
=================
Home => Overview page should not crash when the ceph osd crosses the near full ratio limits.

Comment 3 Sanjal Katiyar 2024-06-10 08:08:57 UTC
proposing as a blocker, good to fix in 4.16.0 itself as it affects the UX... dashboard will break if Ceph is in warn/error state...

Comment 6 Sanjal Katiyar 2024-06-10 08:24:48 UTC
RDT not required as it was both introduced and fixed in 4.16.0 release itself...

Comment 10 errata-xmlrpc 2024-07-17 13:24:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Red Hat OpenShift Data Foundation 4.16.0 security, enhancement & bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2024:4591