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

periodical check for SCA and cluster transfer doesn't work correctly due to informer resync

XMLWordPrintable

    • None
    • CCXDEV Sprint 120, CCXDEV Sprint 121
    • 2
    • False
    • Hide

      None

      Show
      None

      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
              tremes1@redhat.com Tomas Remes
              baiyang zhou baiyang zhou
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: