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

[2.6] Policy Framework pod crashes if a template already exists outside of a policy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • ACM 2.6.Z
    • ACM 2.5, ACM 2.6.0, ACM 2.7.0
    • GRC
    • None
    • 1
    • False
    • None
    • False
    • GRC Sprint 2023-04
    • Moderate
    • No

      Description of problem:

      Usually, Policies are the vehicle for template types like ConfigurationPolicy. But there is nothing preventing a user from installing a ConfigurationPolicy (or another type) directly, without the ownership of a Policy. If this happens, and then a Policy is distributed to that managed cluster that would create the same template, then the framework addon pod crashes on that managed cluster.

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

      How reproducible:

      Yes

      Steps to Reproduce:

      1. Create a ConfigurationPolicy directly on a managed cluster
      2. Create a Policy wrapping that ConfigurationPolicy and distribute it to that cluster
      3. Panic

      Actual results:

      Panic

      Expected results:

      No Panic

      Additional info:

              jkulikau@redhat.com Justin Kulikauskas
              jkulikau@redhat.com Justin Kulikauskas
              Derek Ho Derek Ho
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: