-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
-
-
OCMUI Center Team Sprint 276
Environment: everywhere
Url: https://console.dev.redhat.com/openshift/details/s/30MnSXizh4Iiiu3fGsOnAX5egYY#addOns
Browser: Any
OS: Any
Reproduction steps:
- Open any Rosa HCP cluster details page
- open the network panel of the browser devtools
- verify we are trying to fetch addons even if HCP doesn't support them
Current Result:
All API calls to GET /api/clusters_mgmt/v1/clusters/{clusterId}/addon_inquiries fail with HTTP 400 for Rosa HCP clusters. React Query will also retry those calls because they are failing but they will always fail.
Expected Result:
We don't fetch addons for Rosa HCP clusters because we know in advance they will fail.
Also because the message we show in the addons panel for HCP ("Coming soon Add-ons will be available soon for hosted control plane clusters.") is hardcoded and it doesn't depend on any API call.