-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG][v2.9] Unable to use Rancher UI proxied Grafana to view most(?) dashboards #46567
Comments
Hiya @blovett - Can you share what version of the monitoring chart you are using here? I mostly want to confirm because there are 2 versions of charts that we shipped for |
Hi. This is with |
I installed the other version ( |
@blovett - Greatly appreciate you clarifying the version and going as far as testing both! We shipped two versions this release because we were upgrading the underlying components. So the issue seems to only exist in the newer version. From my quick test on my side it seems like the issue seems to be related to some missing or inaccessible web-assets. We"ll look into this further and see about getting this fixed. |
Digging more into this - just going to dump a stream of w/e logging I can find: Here"s the URL that is failing: From grafana container logs on
Upon doing a complete wip of site cache (via Application tab of devtools, "Clear Site Data") the UI loading issues no longer break the page visually. However the 404 for the JS file still happens and many graphs are incorrectly rendered. Of note - loading a different dashboard works fine. I"ve determined the 404 isn"t the root cause of this issue. As the issue happens on dashboards where the 404 does not appear. The issue is actually related to this error in the JS console:
Edit: 🤔 So maybe not related to that uncaught error in promies...I"m observing the issue happening on render even before that error is logged. |
This appears to be fixed in the pending rebase for 2.10 bumping to use |
@mallardduck This issue is likely from here grafana/grafana#76180 Internal ref: SURE-9001 |
@skanakal - I"ve tested and found we can upgrade to a higher version to fix as well. I have created initial PR to mirror the new versions we will need. |
Still need a PR to patch existing affected chart versions to use new images. |
Fix merged into |
Bug verification steps confirmed Grafana dashboards load correctly without issues with below version. The white screen issue appears resolved. Details : Steps to verify this bug:
|
There is not the version 104.1.2-rc.1+up57.0.3 in charts, might better not to close the issue yet? |
Now it"s changed to |
Rancher Server Setup
Information about the Cluster
User Information
Describe the bug
When attempting to view graphs in Grafana that have been proxied through the Rancher UI, some end up erroring out in a funny way. Example shown in the below screenshot.
To Reproduce
Navigate to cluster dashboard. Select Monitoring on the left hand side. Then select Grafana. Open up a dashboard such as "Kubernetes / Compute Resources / Cluster".
Result
The browser window goes white, and the dashboard does not display as expected.
Expected Result
Dashboards are usable.
Screenshots
Attached above.
Additional context
None that I can think of at this moment.
The text was updated successfully, but these errors were encountered: