Bug 2282243 - [RDR] DR monitoring dashboard crashes after enabling ACM observability
Summary: [RDR] DR monitoring dashboard crashes after enabling ACM observability
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: management-console
Version: 4.16
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ODF 4.16.0
Assignee: Sanjal Katiyar
QA Contact: Aman Agrawal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-21 19:14 UTC by Aman Agrawal
Modified: 2024-07-17 13:23 UTC (History)
3 users (show)

Fixed In Version: 4.16.0-108
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-07-17 13:23:25 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage odf-console pull 1401 0 None open Import 'useUserSettings' from stable sdk 2024-05-22 08:24:28 UTC
Github red-hat-storage odf-console pull 1402 0 None open Bug 2282243: [release-4.16] Import 'useUserSettings' from stable sdk 2024-05-22 09:50:19 UTC
Github red-hat-storage odf-console pull 1403 0 None open Bug 2282243: [release-4.16-compatibility] Import 'useUserSettings' from stable sdk 2024-05-22 09:50:15 UTC
Red Hat Product Errata RHSA-2024:4591 0 None None None 2024-07-17 13:23:28 UTC

Description Aman Agrawal 2024-05-21 19:14:27 UTC
Description of problem (please be detailed as possible and provide log
snippests):


Version of all relevant components (if applicable):

OCP 4.16.0-0.nightly-2024-05-19-083311
ACM 2.11.0-DOWNSTREAM-2024-05-20-16-57-05
MCE 2.6.0-102
ODF/MCO 4.16.0-102.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?


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


Can this issue reproducible?


Can this issue reproduce from the UI?


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


Steps to Reproduce:
1. Enable ACM observability on a RDR setup and login to ACM console on the hub cluster.
2. In All Clusters view, Navigate to Data Services --> Disaster recovery and ensure it's Overview page isn't crashing.
3.


Actual results: The page crashes with """Oh no! Something went wrong.""" error.

Oh no! Something went wrong.

Hide details
TypeError
Description:
(0 , dynamic_plugin_sdk_internal_singleton_.useUserSettings) is not a function or its return value is not iterable

Component trace:
at GettingStartedCard (webpack-internal:///7363:4396:75)
    at div
    at DRDashboard (webpack-internal:///7363:4963:74)
    at i (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:331137)
    at _ (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-2efe2a5a894a986f84e5.min.js:31:4920)
    at ne (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-2efe2a5a894a986f84e5.min.js:31:10364)
    at Suspense
    at div
    at https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:725358
    at R (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:728396)
    at DisasterRecovery (webpack-internal:///7363:5128:75)
    at x (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:1299648)
    at _ (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-2efe2a5a894a986f84e5.min.js:31:4920)
    at ne (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-2efe2a5a894a986f84e5.min.js:31:10364)
    at Suspense
    at i (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:331137)
    at section
    at m (https://console-openshift-console.apps.amagrawa-hub1-man.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.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:1300537)
    at div
    at div
    at l (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:60:99892)
    at c (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:6:290411)
    at div
    at c (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:6:23308)
    at c (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:1076630)
    at https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:298726
    at R (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-2efe2a5a894a986f84e5.min.js:12:14964)
    at main
    at div
    at b (https://console-openshift-console.apps.amagrawa-hub1-man.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.amagrawa-hub1-man.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.amagrawa-hub1-man.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:60:99892)
    at c (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:6:290411)
    at div
    at c (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:6:23308)
    at An (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:1:126891)
    at t.default (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:746880)
    at t.default (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/quick-start-chunk-23618ee992212e1e456f.min.js:1:3355)
    at l (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:147493)
    at t.a (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:1378972)
    at te (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:1399922)
    at ft (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendor-patternfly-5~main-chunk-066e5a575b714f223efd.min.js:1:87024)
    at te (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:1399922)
    at te (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:1399922)
    at t.LoadData (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/api/plugins/mce/exposed-contextProvider.ad476e2f.js:1:334)
    at Kn (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/api/plugins/mce/630.c2d0a958.js:205:6574938)
    at RecoilRoot (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/api/plugins/mce/630.c2d0a958.js:205:6576911)
    at t.PluginDataContextProvider (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/api/plugins/mce/exposed-contextProvider.ad476e2f.js:1:8300)
    at te (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:1399922)
    at o (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:699956)
    at t.a (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:1371246)
    at t.a (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:1368827)
    at ne (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:1400044)
    at ae (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:1402058)
    at _ (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-2efe2a5a894a986f84e5.min.js:31:4920)
    at ne (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-2efe2a5a894a986f84e5.min.js:31:10364)
    at _ (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-2efe2a5a894a986f84e5.min.js:31:4920)
    at ne (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-2efe2a5a894a986f84e5.min.js:31:10364)
    at te (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-2efe2a5a894a986f84e5.min.js:31:9773)
    at G (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-2efe2a5a894a986f84e5.min.js:12:11631)
    at t (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-2efe2a5a894a986f84e5.min.js:12:24311)
    at re (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:1402320)
    at t.a (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:672705)
    at t.a (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:993514)
    at l (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/main-chunk-6027964782beb11bd46a.min.js:1:522906)
    at t.a (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendor-plugins-shared~main-chunk-2efe2a5a894a986f84e5.min.js:12:31092)
    at Suspense
Stack trace:
TypeError: (0 , dynamic_plugin_sdk_internal_singleton_.useUserSettings) is not a function or its return value is not iterable
    at GettingStartedCard (webpack-internal:///7363:4397:133)
    at ra (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendors~main-chunk-5ac1165f62438304fd59.min.js:117:58879)
    at Us (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendors~main-chunk-5ac1165f62438304fd59.min.js:117:111315)
    at Su (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendors~main-chunk-5ac1165f62438304fd59.min.js:117:98327)
    at wu (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendors~main-chunk-5ac1165f62438304fd59.min.js:117:98255)
    at _u (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendors~main-chunk-5ac1165f62438304fd59.min.js:117:98118)
    at hu (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendors~main-chunk-5ac1165f62438304fd59.min.js:117:95105)
    at https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendors~main-chunk-5ac1165f62438304fd59.min.js:117:44774
    at t.unstable_runWithPriority (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendors~main-chunk-5ac1165f62438304fd59.min.js:125:3768)
    at Ui (https://console-openshift-console.apps.amagrawa-hub1-man.qe.rh-ocs.com/static/vendors~main-chunk-5ac1165f62438304fd59.min.js:117:44551)


Expected results: DR monitoring dashboard shouldn't crash after enabling ACM observability.


Additional info:

Comment 4 Sanjal Katiyar 2024-05-22 07:02:18 UTC
We use an utility ("useUserSettings") exported/exposed by OCP at runtime, looks like that has been removed from current package from where we are importing it. Investigating further...

Comment 5 Sanjal Katiyar 2024-05-22 07:15:34 UTC
Aman, is it possible to share the cluster ??

Comment 6 Sanjal Katiyar 2024-05-22 08:12:12 UTC
(In reply to Sanjal Katiyar from comment #5)
> Aman, is it possible to share the cluster ??

Never mind, not needed anymore.

Comment 7 Sanjal Katiyar 2024-05-22 08:26:21 UTC
Just FYI: once this bug is ON_QA use https://github.com/openshift/console/pull/13843#issuecomment-2115523691 or later (recent) OCP version for testing.

Comment 12 errata-xmlrpc 2024-07-17 13:23:25 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


Note You need to log in before you can comment on or make changes to this bug.