Description of problem: There are multiple 'Performance Profile' tabs displayed for 'Performance Addon Operator' and one of them shows 'TypeError'. Version-Release number of selected component (if applicable): 4.6 How reproducible: Always Steps to Reproduce: 1. Log in to web console of 4.6 cluster 2. Install 'Performance Addon Operator' 3. Observe 'Performance Profile' tabs in 'Performance Addon Operator' operator details. Actual results: Multiple 'Performance Profile' tab displayed, while 1 of the tab displays error Expected results: No error. Additional info: TypeError Description: Cannot read property 'map' of undefined Component Trace: in OperandList in div in div in div in ListPageWrapper_ in Unknown in Unknown in O in Unknown in O in div in Unknown in O in O in MultiListPage in Unknown in o in ListPage in Unknown in O in t in t in div in Data in StatusBox in div in Unknown in Unknown in Unknown in Unknown in O in Unknown in O in Unknown in o in DetailsPage in ClusterServiceVersionsDetailsPage in l in Unknown in O in t in t in div in div in section in PageSection in Unknown in O in div in div in DrawerMain in DrawerContent in div in Drawer in NotificationDrawer in Unknown in O in main in div in Page in div in DrawerContentBody in div in div in DrawerMain in DrawerContent in div in Drawer in Unknown in O in I in l in O in Unknown in O in t in t in t in t Stack trace: TypeError: Cannot read property 'map' of undefined at https://console-openshift-console.apps.ostest.test.metalkube.org/static/clusterserviceversion~operand~operator-hub~operator-hub-subscribe-chunk-223af7b45abe8f74e9e3.min.js:1:4081 at OperandList (https://console-openshift-console.apps.ostest.test.metalkube.org/static/clusterserviceversion~operand~operator-hub~operator-hub-subscribe-chunk-223af7b45abe8f74e9e3.min.js:1:4251) at No (https://console-openshift-console.apps.ostest.test.metalkube.org/static/vendors~main-chunk-1b55e541077a2927e5dc.min.js:160:55337) at pa (https://console-openshift-console.apps.ostest.test.metalkube.org/static/vendors~main-chunk-1b55e541077a2927e5dc.min.js:160:62378) at Ks (https://console-openshift-console.apps.ostest.test.metalkube.org/static/vendors~main-chunk-1b55e541077a2927e5dc.min.js:160:99519) at Bs (https://console-openshift-console.apps.ostest.test.metalkube.org/static/vendors~main-chunk-1b55e541077a2927e5dc.min.js:160:84008) at Fs (https://console-openshift-console.apps.ostest.test.metalkube.org/static/vendors~main-chunk-1b55e541077a2927e5dc.min.js:160:81035) at Ms (https://console-openshift-console.apps.ostest.test.metalkube.org/static/vendors~main-chunk-1b55e541077a2927e5dc.min.js:160:79608) at https://console-openshift-console.apps.ostest.test.metalkube.org/static/vendors~main-chunk-1b55e541077a2927e5dc.min.js:160:41759 at t.unstable_runWithPriority (https://console-openshift-console.apps.ostest.test.metalkube.org/static/vendors~main-chunk-1b55e541077a2927e5dc.min.js:168:3878)
Opened a PR that fixes the runtime error. https://bugzilla.redhat.com/show_bug.cgi?id=1888036 covers the problem with multiple "PerformanceProfile" tabs.
PR Pending Review
2. Install 'Performance Addon Operator' 3. Observe 'Performance Profile' tabs in 'Performance Addon Operator' operator details, two performance profile tab is displayed, visiting them return no error. duplicate tab issue is tracked in separate bug so moving this one to VERIFIED verified on 4.7.0-0.nightly-2020-12-13-202314
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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement 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-2020:5633