Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2071690

Summary: Console plugin sporadically errors and gets disabled
Product: OpenShift Container Platform Reporter: Kevin Cormier <kcormier>
Component: Management ConsoleAssignee: Jakub Hadvig <jhadvig>
Status: CLOSED CURRENTRELEASE QA Contact: Yanping Zhang <yanpzhan>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.10CC: aos-bugs, vlaad, yanpzhan, yapei
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-26 15:36:32 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:
Attachments:
Description Flags
404 with ChunkLoadError none

Description Kevin Cormier 2022-04-04 14:38:19 UTC
Created attachment 1870672 [details]
404 with ChunkLoadError

Description of problem:
The console plugin for Red Hat Advanced Cluster Management for Kubernetes is sporadically encountering an error. This results in a 404 page being displayed and the plugin being disabled.

Version-Release number of selected component (if applicable): OCP 4.10.3


How reproducible:
Sporadic


Steps to Reproduce:
1. Install ACM 2.5 (Seen on various builds from March 28, 2022 to present)
1. Visit All Clusters from cluster switcher
1. Click on various navigation sections, like Cluster, Applications, Governance.

Actual results:
Pages should load without issue.

Expected results:


Additional info:

Comment 1 Kevin Cormier 2022-04-04 20:06:27 UTC
This may have been caused by a caching directive we had on plugin-entry.js and plugin-manifest.json. We will fix that and monitor if we encounter any further instances of this issue.

Comment 2 Jakub Hadvig 2022-04-12 18:26:57 UTC
Putting on ON_QA since the issue should be fixed by https://github.com/stolostron/console/pull/1486

Comment 3 Yanping Zhang 2022-04-21 03:37:04 UTC
On ocp 4.11 cluster with payload 4.11.0-0.nightly-2022-04-16-163450, install ACM 2.5 with Snapshot: 2.5.0-SNAPSHOT-2022-04-20-06-50-05.
Visit All Clusters from cluster switcher. Click on various navigation sections, like Cluster, Applications, Governance. It still returns 404 page. Refer to screenshot.

Comment 7 Kevin Cormier 2022-04-27 14:51:42 UTC
@yanpzhan Had you used this browser with previous versions of the ACM plugin? You may need to clear your browser cache. Also, did the issue persist, or did it resolve after awhile?

In one of your screenshots, I see the message "Code reference resolution failed for plugin". It would be good to see that expanded, and also if it was the same in every case. Also useful to include the network tab to see if there were any failed fetches.

Would I be able to access this environment?

Comment 8 Yanping Zhang 2022-04-29 12:34:40 UTC
Checked on ocp 4.11 cluster with payload 4.11.0-0.nightly-2022-04-26-181148, install ACM 2.5 with Snapshot 2.5.0-SNAPSHOT-2022-04-29-10-02-38.
Use a new browser which didn't access previous versions of the ACM plugin.
Visit All Clusters from cluster switcher. Click on various navigation sections, like Cluster, Applications, Governance. All could open now.

Comment 11 Kevin Cormier 2022-04-29 13:18:37 UTC
@yanpzhan Are we OK to close now then?

Comment 12 Yanping Zhang 2022-05-05 01:53:05 UTC
According to Comment 8, the bug has been fix, move it to Verified.