Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-37229

[release-4.15] periodical check for SCA and cluster transfer doesn't work correctly due to informer resync

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • None
    • 4.15, 4.16
    • Insights Operator
    • None
    • CCXDEV Sprint 120, CCXDEV Sprint 121, CCXDEV Sprint 122
    • 3
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      This is a clone of issue OCPBUGS-37228. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-37100. The following is the description of the original issue:

      Description of problem:

          The SCA and cluster transfer controllers listen to the config changes, which are fired by the config informer. The problem is that the informer is resynced every 10 minutes, which means that every 10 minutes a new interval is set and when the new interval is longer than 10 minutes then the action never happens. 

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

          

      How reproducible:

          Update for example the interval for pulling down the SCA entitlements as described in https://docs.openshift.com/container-platform/4.16/support/remote_health_monitoring/insights-operator-simple-access.html#insights-operator-configuring-sca_remote-health-reporting-from-restricted-network

      Steps to Reproduce:

          1. Update the SCA interval according to https://docs.openshift.com/container-platform/4.16/support/remote_health_monitoring/insights-operator-simple-access.html#insights-operator-configuring-sca_remote-health-reporting-from-restricted-network     2.
          3.
          

      Actual results:

          The log message "Pulling SCA certificates from https://api.openshift.com/api/accounts_mgmt/v1/certificates" will appear only once. 

      Expected results:

           The log message "Pulling SCA certificates from https://api.openshift.com/api/accounts_mgmt/v1/certificates" should appear every period set by the interval

      Additional info:

          

              tremes1@redhat.com Tomas Remes
              openshift-crt-jira-prow OpenShift Prow Bot
              baiyang zhou baiyang zhou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: