Bug 2071690 - Console plugin sporadically errors and gets disabled
Summary: Console plugin sporadically errors and gets disabled
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Jakub Hadvig
QA Contact: Yanping Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-04 14:38 UTC by Kevin Cormier
Modified: 2022-08-26 15:36 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-26 15:36:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
404 with ChunkLoadError (603.25 KB, image/png)
2022-04-04 14:38 UTC, Kevin Cormier
no flags Details

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.


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