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

Compliance messages with help get overwritten on next evaluation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • ACM 2.11.1
    • ACM 2.11.0
    • GRC
    • None
    • 1
    • False
    • None
    • False
    • GRC Sprint 2024-13
    • Moderate
    • No

      Description of problem:

      When compliance messages have extra details such as `deployments [case40] in namespace default cannot be updated, likely due to immutable fields not matching, you may set spec["object-templates"][].recreateOption to recreate the object[].recreateOption to recreate the object`, they get lost on the next evaluation because the cached evaluation result that gets used on the next evaluation doesn't contain the specific message, so a generic message of `deployments [case40] in namespace default found but not as specified` is displayed instead.

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

      ACM 2.11.0

      How reproducible:

      Every time

      Steps to Reproduce:

      Create a ConfigurationPolicy to update immutable fields and wait around 30 seconds to see the compliance message get reset to something without the help text.

      Actual results:

      The compliance message gets reset.

      Expected results:

      The compliance message stays the same.

      Additional info:

              mprahl Matthew Prahl
              mprahl Matthew Prahl
              Derek Ho Derek Ho
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: