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

Template Sync can set the policy to noncompliant when shutting down

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • ACM 2.10.1
    • ACM 2.10.0
    • GRC
    • None
    • 1
    • False
    • None
    • False
    • GRC Sprint 2024-06
    • Moderate
    • No

      Description of problem:

      If the template-sync is shutting down and it's in the middle of a reconcile request, it can set the policy to noncompliant with this:

      ```
      Failed to get the object in the policy template: client rate limiter Wait returned an error: context canceled
      ```

      If the error is that the context is cancelled, then the template sync should retry the reconcile rather than set the policy to noncompliant.

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

      2.8.4

      How reproducible:

      Steps to Reproduce:

      1. ...

      Actual results:

      Expected results:

      Additional info:

              yikim@redhat.com Yi Rae Kim
              mprahl Matthew Prahl
              Derek Ho Derek Ho
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: