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

ACM Observability-Addon does not work for Microshift

XMLWordPrintable

    • ACM Observability-Addon does not work for Microshift
    • False
    • None
    • False
    • Not Selected
    • To Do
    • ACM-1357 - Management Support of MicroShift devices
    • 0% To Do, 17% In Progress, 83% Done

      When importing a Microshift Clusters the Observability Addon does not work

      We get:

      
      2024-02-09T10:40:45.542Z	INFO	util	unable to get CRD with ApiextensionsV1 Client, not found.	{"CRD": "hostedclusters.hypershift.openshift.io"}
      2024-02-09T10:40:45.586Z	INFO	renderer	restoring AdditionalAlertManagerConfigs, secrets
      2024-02-09T10:40:45.588Z	INFO	deploying	Create	{"Kind:": "apiextensions.k8s.io/v1, Kind=CustomResourceDefinition", "Name:": "alertmanagers.monitoring.coreos.com"}
      2024-02-09T10:40:45.628Z	ERROR	controllers.ObservabilityAddon	Failed to deploy CustomResourceDefinition open-cluster-management-addon-observability/alertmanagers.monitoring.coreos.com	{"Request.Namespace": "open-cluster-management-addon-observability", "Request.Name": "observability-metrics-allowlist", "error": "customresourcedefinitions.apiextensions.k8s.io \"alertmanagers.monitoring.coreos.com\" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>"}
      github.com/stolostron/multicluster-observability-operator/operators/endpointmetrics/controllers/observabilityendpoint.(*ObservabilityAddonReconciler).Reconcile
      	/remote-source/app/operators/endpointmetrics/controllers/observabilityendpoint/observabilityaddon_controller.go:213
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
      	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.4/pkg/internal/controller/controller.go:122
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
      	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.4/pkg/internal/controller/controller.go:323
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
      	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.4/pkg/internal/controller/controller.go:274
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
      	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.4/pkg/internal/controller/controller.go:235
      2024-02-09T10:40:45.628Z	ERROR	Reconciler error	{"controller": "observabilityaddon", "controllerGroup": "observability.open-cluster-management.io", "controllerKind": "ObservabilityAddon", "ObservabilityAddon": {"name":"observability-metrics-allowlist","namespace":"open-cluster-management-addon-observability"}, "namespace": "open-cluster-management-addon-observability", "name": "observability-metrics-allowlist", "reconcileID": "a035e4a2-2294-4a5b-889e-bb0da1be300a", "error": "customresourcedefinitions.apiextensions.k8s.io \"alertmanagers.monitoring.coreos.com\" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>"}
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
      	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.4/pkg/internal/controller/controller.go:329
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
      	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.4/pkg/internal/controller/controller.go:274
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
      	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.4/pkg/internal/controller/controller.go:235
      2024-02-09T10:40:45.726Z	INFO	controllers.ObservabilityAddon	Reconciling	{"Request.Namespace": "open-cluster-management-addon-observability", "Request.Name": "images-list"}
      2024-02-09T10:40:45.739Z	INFO	util	unable to get CRD with ApiextensionsV1 Client, not found.	{"CRD": "hostedclusters.hypershift.openshift.io"}
      2024-02-09T10:40:45.762Z	INFO	renderer	restoring AdditionalAlertManagerConfigs, secrets
      2024-02-09T10:40:45.764Z	INFO	deploying	Create	{"Kind:": "apiextensions.k8s.io/v1, Kind=CustomResourceDefinition", "Name:": "alertmanagers.monitoring.coreos.com"}
      2024-02-09T10:40:45.797Z	ERROR	controllers.ObservabilityAddon	Failed to deploy CustomResourceDefinition open-cluster-management-addon-observability/alertmanagers.monitoring.coreos.com	{"Request.Namespace": "open-cluster-management-addon-observability", "Request.Name": "images-list", "error": "customresourcedefinitions.apiextensions.k8s.io \"alertmanagers.monitoring.coreos.com\" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>"}
      github.com/stolostron/multicluster-observability-operator/operators/endpointmetrics/controllers/observabilityendpoint.(*ObservabilityAddonReconciler).Reconcile
      	/remote-source/app/operators/endpointmetrics/controllers/observabilityendpoint/observabilityaddon_controller.go:213
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
      	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.4/pkg/internal/controller/controller.go:122
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
      	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.4/pkg/internal/controller/controller.go:323
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
      	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.4/pkg/internal/controller/controller.go:274
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
      	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.4/pkg/internal/controller/controller.go:235
      2024-02-09T10:40:45.797Z	ERROR	Reconciler error	{"controller": "observabilityaddon", "controllerGroup": "observability.open-cluster-management.io", "controllerKind": "ObservabilityAddon", "ObservabilityAddon": {"name":"images-list","namespace":"open-cluster-management-addon-observability"}, "namespace": "open-cluster-management-addon-observability", "name": "images-list", "reconcileID": "9e310ab0-51b7-4d41-989a-1bfcaea53344", "error": "customresourcedefinitions.apiextensions.k8s.io \"alertmanagers.monitoring.coreos.com\" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>"}
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
      	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.4/pkg/internal/controller/controller.go:329
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
      	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.4/pkg/internal/controller/controller.go:274
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
      	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.4/pkg/internal/controller/controller.go:235
      [root@ushift2 ~]# client_loop: send disconnect: Broken pipe
      

      Epic Goal

      ...

      Why is this important?

      ...

      Scenarios

      ...

      Acceptance Criteria

      ...

      Dependencies (internal and external)

      1. ...

      Previous Work (Optional):

      1. ...

      Open questions:

      Done Checklist

      • CI - CI is running, tests are automated and merged.
      • Release Enablement <link to Feature Enablement Presentation>
      • DEV - Upstream code and tests merged: <link to meaningful PR or GitHub
        Issue>
      • DEV - Upstream documentation merged: <link to meaningful PR or GitHub
        Issue>
      • DEV - Downstream build attached to advisory: <link to errata>
      • QE - Test plans in Polarion: <link or reference to Polarion>
      • QE - Automated tests merged: <link or reference to automated tests>
      • DOC - Doc issue opened with a completed template. Separate doc issue
        opened for any deprecation, removal, or any current known
        issue/troubleshooting removal from the doc, if applicable.

            rh-ee-tmange Thibault Mange
            rhn-support-cstark Christian Stark
            Daniel Fröhlich
            Xiang Yin Xiang Yin
            Christian Stark Christian Stark
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: