-
Bug
-
Resolution: Unresolved
-
Major
-
ACM 2.12.0, ACM 2.12.1
-
1
-
False
-
None
-
False
-
-
-
Observability Sprint 34
-
Important
-
None
Description of problem:
The metrics collector on the hub crashloops on ACM 2.12 if hypershift is installed. This is due to use using an older API version: `hypershift.openshift.io/v1alpha1` instead of `v1beta1`.
level=info caller=logger.go:50 ts=2024-11-17T12:50:03.060515475Z msg="metrics collector initialized" W1117 12:50:03.061282 1 client_config.go:659] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work. W1117 12:50:03.119744 1 client_config.go:659] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work. level=error caller=logger.go:60 ts=2024-11-17T12:50:03.122542352Z msg="Failed to list HyperShiftDeployment" error="no matches for kind \"HostedCluster\" in version \"hypershift.openshift.io/v1alpha1\"" level=error caller=logger.go:60 ts=2024-11-17T12:50:03.122653598Z err="no matches for kind \"HostedCluster\" in version \"hypershift.openshift.io/v1alpha1\""
Version-Release number of selected component (if applicable):
ACM 2.12.x
How reproducible:
Always (I believe, but not reproduced by reporter)
Steps to Reproduce:
- Get a ACM hub cluster with hypershift installed
- Enable observability
Actual results:
Metrics collector crashes
Expected results:
No crashes, and metrics correctly collected.