-
Bug
-
Resolution: Done
-
Normal
-
ACM 2.14.0
-
Quality / Stability / Reliability
-
False
-
-
False
-
-
-
Installer Sprint 2025-62
-
Moderate
-
Approved
-
None
Description of problem:
When testing MCE 2.9 on an arm64 cluster, we observed that if the ManagedCluster CRD is missing, attempting to uninstall MCE causes the process to stall. This happens because MCE expects the ManagedCluster CRD to exist in order to clean up the local-cluster ManagedCluster resource.
2025-06-12T20:08:58.390Z INFO reconcile Reconciling MultiClusterEngine 2025-06-12T20:08:58.406Z ERROR reconcile error while looking for local-cluster ManagedCluster CR {"error": "no matches for kind \"ManagedCluster\" in version \"cluster.open-cluster-management.io/v1\""} github.com/stolostron/backplane-operator/controllers.(*MultiClusterEngineReconciler).finalizeBackplaneConfig /workspace/controllers/backplaneconfig_controller.go:1745 github.com/stolostron/backplane-operator/controllers.(*MultiClusterEngineReconciler).Reconcile /workspace/controllers/backplaneconfig_controller.go:227 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.18.5/pkg/internal/controller/controller.go:114 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.18.5/pkg/internal/controller/controller.go:311 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.18.5/pkg/internal/controller/controller.go:261 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2 /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.18.5/pkg/internal/controller/controller.go:222 2025-06-12T20:08:58.406Z INFO reconcile no matches for kind "ManagedCluster" in version "cluster.open-cluster-management.io/v1" 2025-06-12T20:08:58.406Z INFO reconcile Updating status
Version-Release number of selected component (if applicable):
MCE 2.9.0
How reproducible:
Possibly always
Steps to Reproduce:
- Install MCE.
- Initiate MCE uninstallation before the cluster-manager pod is created and the ManagedCluster CRD is deployed.
- Confirm that the MCE uninstallation process is stalled.
Actual results:
The MCE operator fails to uninstall.
Expected results:
The MCE operator should be able to proceed with uninstallation even when the ManagedCluster CRD is absent.
Additional info:
This was being tested with the Konflux MCE build: v2.9.0-102.