-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
None
-
False
-
-
False
-
XCMSTRAT-589 - [Internal Preview] OCM console can connect to regional OCM instances to manage cluster lifecycle
-
-
Description of the Problem
A user doesn't have an edit access (ready only access i.e. cluster viewer access) to a cluster and tried to rerun the network validation from the overview page causes the type error and broken the overview page.
TypeError: e is undefined s ErrorDetailsDisplay.tsx:22 bi chrome-root.791599912ba3ba48.js:2 Sl chrome-root.791599912ba3ba48.js:2 vs chrome-root.791599912ba3ba48.js:2 ys chrome-root.791599912ba3ba48.js:2 bs chrome-root.791599912ba3ba48.js:2 os chrome-root.791599912ba3ba48.js:2 ls chrome-root.791599912ba3ba48.js:2 za chrome-root.791599912ba3ba48.js:2 Es chrome-root.791599912ba3ba48.js:2 Es chrome-root.791599912ba3ba48.js:2 as chrome-root.791599912ba3ba48.js:2 _ chrome-root.791599912ba3ba48.js:2 N chrome-root.791599912ba3ba48.js:2 console.js:36:19 l console.js:36 fc chrome-root.791599912ba3ba48.js:2 callback chrome-root.791599912ba3ba48.js:2 Go chrome-root.791599912ba3ba48.js:2 wl chrome-root.791599912ba3ba48.js:2 vl chrome-root.791599912ba3ba48.js:2 vl chrome-root.791599912ba3ba48.js:2 gl chrome-root.791599912ba3ba48.js:2 Es chrome-root.791599912ba3ba48.js:2 Es chrome-root.791599912ba3ba48.js:2 ls chrome-root.791599912ba3ba48.js:2 za chrome-root.791599912ba3ba48.js:2 Es chrome-root.791599912ba3ba48.js:2 Es chrome-root.791599912ba3ba48.js:2 as chrome-root.791599912ba3ba48.js:2 _ chrome-root.791599912ba3ba48.js:2 N chrome-root.791599912ba3ba48.js:2
See the recordings Screen Recording 2025-01-07 at 1.03.57 PM.mov
Note: This is not happening with production hence suspecting due to change related to multiregion definition.
How reproducible:
Always
Steps to Reproduce:
- Open OCM UI staging and login with a org member role.
- Open a read only cluster that reported the network validation errors.
(To enable read only access for a cluster, Login as cluster owner in staging and on selected cluster, Grant OCM role access as "Cluster viewer" for the selected user. In this case it is org member). - Click the link "Rerun network validation" from User action required banner in Overview page.
- See the behavior.
Actual results:
"Rerun network validation" action broken overview with type error and suspecting issue with handling permissions in newly updated multiregion definition code.
Expected results:
"Rerun network validation" action should bring inline notification from overview that indicates the permission error( as seen in production). There shouldn't be any type error in the overview page.
- blocks
-
OCMUI-2524 Make the multiRegion version of cluster details the default version
- Review