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

Configuration policies with pruneObjectBehavior don't clean up in hosted mode on uninstall

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • ACM 2.7.1
    • ACM 2.6.0, ACM 2.7.0
    • GRC
    • 3
    • False
    • None
    • False
    • ACM Sprint 26, GRC Sprint 2023-01
    • No

      In hosted mode, if configuration policies use pruneObjectBehavior and all the hosted (managed) clusters are deleted, the finalizers aren't cleaned up on the ConfigurationPolicy objects and the CRD gets stuck in a terminating state. This makes it so that ConfigurationPolicy objects can't be updated or created in the event that a new hosted (managed) cluster is added.

      See the following issue for more context in the SD environment:
      https://issues.redhat.com/browse/OHSS-17923

      Likely relates to this PR not accounting for hosted mode:
      https://github.com/open-cluster-management-io/config-policy-controller/pull/86

              mprahl Matthew Prahl
              mprahl Matthew Prahl
              Justin Kulikauskas
              Derek Ho Derek Ho
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: