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

RFE - Add object comparison diff to ACM logs

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • Future
    • None
    • GRC
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected

      Feature Overview

      As a policy administrator it can be difficult to determine why policies flap between compliant and non-compliant when set to enforce. Additionally inform policies may remain non-compliant despite no detectable difference between the object defined in policy and the live object.

       

      Currently ACM logs include the difference between an object specified in a policy and the live object on the cluster when the policy is determined as non-compliant.

       

      My suggestion is to add the debug log flag using a boolean field such as `spec.[].objectDefinition.spec.[].object-templates.[].diffCapture` to the `policy.
      policy.open-cluster-management` CR.
      When a policy administrator enables this field ACM log the difference between that object defined in policy and the live object it's being compared to.

      Adding the debug flag at the object-template level would provide granular control over where it's enabled, preventing generation of excessive logs and minimising the amount of resources required to provide the diff log.
       

              Unassigned Unassigned
              brejohns@redhat.com Brett Johnson
              Matthew Prahl Matthew Prahl
              Derek Ho Derek Ho
              Gus Parvin Gus Parvin
              Sho Weimer Sho Weimer
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: