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

Observability - secret observability-alertmanager-accessor-token failed to be created on the OCP 4.15

XMLWordPrintable

    • False
    • None
    • False
    • Critical
    • No

      Description of problem: Obs is deployed on the OCP 4.15, but the addon is not generated. The Obs operator reports the error:

      2024-03-03T01:11:07.866Z ERROR controller_placementrule no token secret for Alertmanager accessor serviceaccount {"name": "observability-alertmanager-accessor"} github.com/stolostron/multicluster-observability-operator/operators/multiclusterobservability/controllers/placementrule.generateAmAccessorTokenSecret /remote-source/app/operators/multiclusterobservability/controllers/placementrule/manifestwork.go:449 github.com/stolostron/multicluster-observability-operator/operators/multiclusterobservability/controllers/placementrule.generateGlobalManifestResources /remote-source/app/operators/multiclusterobservability/controllers/placementrule/manifestwork.go:237 github.com/stolostron/multicluster-observability-operator/operators/multiclusterobservability/controllers/placementrule.createAllRelatedRes /remote-source/app/operators/multiclusterobservability/controllers/placementrule/placementrule_controller.go:326 github.com/stolostron/multicluster-observability-operator/operators/multiclusterobservability/controllers/placementrule.(*PlacementRuleReconciler).Reconcile /remote-source/app/operators/multiclusterobservability/controllers/placementrule/placementrule_controller.go:163 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:122 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:323 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:274 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2 /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:235 2024-03-03T01:11:07.866Z ERROR Reconciler error {"controller": "managedcluster", "controllerGroup": "cluster.open-cluster-management.io", "controllerKind": "ManagedCluster", "ManagedCluster":

      {"name":"observability-metrics-allowlist","namespace":"open-cluster-management-observability"}

      , "namespace": "open-cluster-management-observability", "name": "observability-metrics-allowlist", "reconcileID": "f2ddb81a-908b-459c-b209-196d0339d424", "error": "no token secret for Alertmanager accessor serviceaccount: observability-alertmanager-accessor"} sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:329 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:274 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2 /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:235

       

      Version-Release number of selected component (if applicable):

      How reproducible:

      Steps to Reproduce:

      1. Deploy the Observability
      2. Obs addon is not created
      3. check the Observability operator logs
      4. the error log reports secret observability-alertmanager-accessor-token is not found

      Actual results:

      Expected results:

      Additional info:

              pgough@redhat.com Philip Gough
              cquredhat ChangLiang Qu
              Xiang Yin Xiang Yin
              ACM QE Team
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: