Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-15628

Metrics Collector crashloop with Hypershift

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ACM 2.12.2
    • ACM 2.12.0, ACM 2.12.1
    • Observability
    • 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:

      1.  Get a ACM hub cluster with hypershift installed
      2.  Enable observability

      Actual results:

      Metrics collector crashes

      Expected results:

      No crashes, and metrics correctly collected.

      Additional info:

              rh-ee-jachanse Jacob Baungard Hansen
              rh-ee-jachanse Jacob Baungard Hansen
              Xiang Yin Xiang Yin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: