Description of problem: It has been observed that configmaps of some projects are not able to load from web-console while for other project it is working fine. Also, it doesnt load from one region say India but works from other country. It has also been seen that it works perfectly fine from cli
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Go to webconsole
2. Move to the project
3. Access the configmap. It gives error dialogue i.e
Failed to list configmaps
Actual results: "Failed to list configmaps" only for some projects
Expected results: Should not have an issue.
Checked the logs but nothing is evident in the logs.
Created attachment 1622235 [details]
after pressing sources and scripts in chrome debug mode
When running chrome in debug mode ctrl+shift+i
after pressing sources and scripts on the left hand
The following change greatly reduces the size of the response on the web console config maps page by only loading resource metadata. This will avoid loading the config maps content, which isn't needed on the list page, and greatly improve performance over slow network connections.
Note that using `oc apply` on config maps will duplicate the config map data as an annotation, roughly doubling the size. If you use `oc apply`, the response might still be large for many config maps, although this change should still reduce it by about half.
Display correctly, mark it as Verified.
Tested on v3.11.154
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.