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

GH - Event local policies table is showing the wrong message for policies that are non compliant

XMLWordPrintable

    • Critical
    • No

      Description of problem:

      When the policy is non-compliant the user should see the reason and message as to why the policy is non-compliant. Currently, the message that is being shown is:

      Policy default.policy-1 status was updated to NonCompliant in cluster namespace <namespace> 

      The user cannot gauge the reason as to why the policy is non-compliant, unless they look at the Governance page within the ACM console and see the results for the policy as:

      violation - namespaces not found: [foo] missing

      This data should be captured in the event.local_policies table.

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

      ACM 2.8.1

      How reproducible:

      Frequent

      Steps to Reproduce:

      1. Deploy Global Hub onto a cluster.
      2. Create a policy on the imported hub cluster (hub cluster should have a managed cluster).
      3. Wait for policy events to be created.
      4. Check event.local_policies table (view the message within the row data)

      Actual results:

      When policy is non-compliant, the user should be able to see why the policy is non-compliant.

      The correct message is shown from the Governance page in the ACM console.

      Expected results:

      Policy events should have message explaining why the policy is non-compliant.

      Additional info:

              rh-ee-myan Meng Yan
              dbennett@redhat.com Disaiah Bennett
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: