Getting 'ClusterManagementAddOn CR has not been deleted' error after upgrading ACM to 2.11.x version

Solution Verified - Updated -

Issue

  • Getting the ClusterManagementAddOn has not been deleted error message in the multiclusterhub-operator pod logs after upgrading ACM to 2.11.2:

    2024-09-04T23:46:13.664436122Z 2024-09-04T23:46:13.664Z INFO    reconcile       Deleting the ClusterManagementAddOn CR  {"name": "iam-policy-controller"}
    2024-09-04T23:46:13.682324842Z 2024-09-04T23:46:13.682Z ERROR   Reconciler error        {"controller": "multiclusterhub", "controllerGroup": "operator.open-cluster-management.io", "controllerKind": "MultiClusterHub", "MultiClusterHub": {"name":"multiclusterhub","namespace":"open-cluster-management"}, "namespace": "open-cluster-management", "name": "multiclusterhub", "reconcileID": "1ff076f0-e4ed-45aa-96de-fa83e46c8e47", "error": "ClusterManagementAddOn CR has not been deleted"}
    
  • When trying to display the application tab in ACM web console, an "Oh no! Something went wrong" error appears.

  • Getting the ClusterManagementAddOn has not been deleted error message in the multiclusterhub-operator pod logs after upgrading ACM to 2.13.2:

    2024-09-04T23:46:13.664436122Z 2024-09-04T23:46:13.664Z INFO    reconcile       Deleting the ClusterManagementAddOn CR  {"name": "iam-policy-controller"}
    2024-09-04T23:46:13.682324842Z 2024-09-04T23:46:13.682Z ERROR   Reconciler error        {"controller": "multiclusterhub", "controllerGroup": "operator.open-cluster-management.io", "controllerKind": "MultiClusterHub", "MultiClusterHub": {"name":"multiclusterhub","namespace":"open-cluster-management"}, "namespace": "open-cluster-management", "name": "multiclusterhub", "reconcileID": "1ff076f0-e4ed-45aa-96de-fa83e46c8e47", "error": "ClusterManagementAddOn CR has not been deleted"}
    
  • after updating RHACM the multiclusterhub-operator contains errors regarding the deletion of iam-policy-controller (or other deprecated component as per the release notes of RHACM)

Environment

  • Red Hat Advanced Cluster Management for Kubernetes 2.11
  • Red Hat Advanced Cluster Management for Kubernetes 2.13

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content