rancher / dashboard

The Rancher UI
https://rancher.com
Apache License 2.0
463 stars 261 forks source link

Server-side Pagination: Monitoring: Network errors are thrown when the user navigates to Monitoring chart #11536

Open yonasberhe23 opened 3 months ago

yonasberhe23 commented 3 months ago

Setup

Describe the bug Network errors are thrown when the user navigates to the second step in installing the Monitoring chart when vai enabled.

To Reproduce

  1. go to Global settings > feature flags > enable ui-sql-cache
  2. go to Global settings > performance > enable `Server-sdie Pagination'
  3. go to cluster dash
  4. click Tools
  5. click Install for Monitoring chart
  6. click Next
  7. notice 422 errors thrown (GET /batch.jobs, /batch.cronjobs, /apps.statefulsets, /app.replicasets, /apps.deployments, /apps.daemonsets)

Error: { "type": "error", "links": {}, "code": "InvalidBodyContent", "message": "column is invalid [metadata.fields.1]: supplied column is invalid", "status": 422 }

Result 422 errors thrown

Expected Result No errors thrown

Screenshots

https://github.com/user-attachments/assets/80816826-76ed-4f20-a594-5103691423f5

Additional context

gaktive commented 2 weeks ago

Will hold on backporting until @richard-cox sorts out what to do here and how easy it would be for 2.10.x.