-
Bug
-
Resolution: Done
-
Critical
-
ACM 2.10.0, ACM 2.9.2
-
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:
- Deploy the Observability
- Obs addon is not created
- check the Observability operator logs
- the error log reports secret observability-alertmanager-accessor-token is not found