Description of the problem: Once accessing the Governance Policy Page, we receive the following error: "502 Bad Gateway" Upon checking the pods status, we recognized that the pod named: grc-XXXX-grcui-YYYY (which is responsible for the grcuiapi endpoint) has restarted and only once it comes back up we can use the Governance page. It happens every time we are going to some other page and then back to the Governance page. The logs that we see in the restarting pod: [INFO] [server] [pid 1] [env production] started. [INFO] [server] [pid 1] [env production] NODE_ENV=production [HPM] Proxy created: / -> https://grc-XXX-grcuiapi:4000/grcuiapi [HPM] Proxy rewrite rule created: "^/multicloud/policies/graphql" ~> "/graphql" [HPM] Proxy created: / -> https://search-search-api:4010/searchapi [HPM] Proxy rewrite rule created: "^/multicloud/policies/search/graphql" ~> "/graphql" [INFO] [grc-ui] [server] Starting express server. [INFO] [grc-ui] [server] GRC UI is now running on http://localhost:3000/multicloud/policies /opt/app-root/src/grc-ui/server/lib/server/console-links.js:51 var section = link.spec.applicationMenu.section; TypeError: Cannot read property 'section' of undefined at Request._callback (/opt/app-root/src/grc-ui/server/lib/server/console-links.js:45:51) at Request.self.callback (/opt/app-root/src/grc-ui/node_modules/request/request.js:185:22) at Request.emit (events.js:400:28) at Request.<anonymous> (/opt/app-root/src/grc-ui/node_modules/request/request.js:1154:10) at Request.emit (events.js:400:28) at IncomingMessage.<anonymous> (/opt/app-root/src/grc-ui/node_modules/request/request.js:1076:12) at Object.onceWrapper (events.js:519:28) at IncomingMessage.emit (events.js:412:35) at endReadableNT (internal/streams/readable.js:1317:12) at processTicksAndRejections (internal/process/task_queues.js:82:21) Release version: * ACM 2.4 Operator snapshot version: OCP version: Browser Info: Steps to reproduce: 1. Restart POD 2. Reload page 3. Actual results: Expected results: Additional info:
Customer cannot provide a full must-gather: Unfortunately I am not able to provide a full must-gather as it includes sensitive information. I can however provide some specific info regarding the environment / ACM deployment. We experience the bug in ACM 2.4.1 deployed on a disconnected OpenShift 4.6.27 bare metal cluster. So, if will need some more info, please specify what...
G2Bsync 1006663233 comment KevinFCormier Thu, 06 Jan 2022 15:06:56 UTC G2Bsync The problem appears to be triggered by a ConsoleLink resource that has a `spec.type` value of `ApplicationMenu` but does not include `spec.applicationMenu`. Please check the output of: oc get consolelinks.console.openshift.io -o yaml You should see an item in the application menu with no icon, for example:  We will fix this problem. As a workaround, if you are able to edit the ConsoleLink resource, you can add it to an unnamed section with the following command, substituting in the <console-link-name>: oc patch consolelinks.console.openshift.io <console-link-name> --type='json' -p '[{"op": "add", "path": "/spec/applicationMenu", "value": {"section": ""}}]'
Customer verified that the workaround is working. And is asking for target release.
G2Bsync 1009023217 comment KevinFCormier Mon, 10 Jan 2022 16:00:11 UTC G2Bsync Target release is 2.4.2
B2Gsync Please check other ConsoleLink resources on the ACM 2.3.3 system. It may be one other than the one for "Red Hat Advanced Cluster Management for Kubernetes" itself. The fix should be the same and we can fix for 2.3.z as well if needed.
Kevin, That worked. Work-around works for ACM 2.3.3
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 Advanced Cluster Management 2.3.6 security updates and bug fixes), 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-2022:0595
I do believe this is an excellent website. I stumbled upon it I may revisit once again since I saved as a favorite it. https://www.ezpass-nh.com