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

on-demand data gathering timing issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • None
    • 4.14
    • Insights Operator
    • No
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

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

      Description of problem:

      The on-demand Insights data gathering is introduced as a tech preview feature in 4.14, but there are some issues:
      - periodic data gathering job that is running blocks on-demand data gathering request
      - on-demand data gathering request is not working when the context is done

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

       

      How reproducible:

      You can either wait for periodic data gathering job to be started (no the first one since the informers cache doesn't have to be synced yet) and then request on-demand data gathering by creating a new DataGather resource

      Steps to Reproduce:

      or you can try this
      1. Set Insights Operator interval to e.g 5 minutes
      2. Restart the operator
      3. Wait for 5 min * 4 (this is the default context timeout) = 20 min
      4. Request on-demand data gathering - it will likely fail however consequent request should work again 
      

      Actual results:

       

      Expected results:

      Periodic data gathering jobs don't block (when running) the on-demand data gathering requests and on-demand data gathering works even when the context is timeouted. 

      Additional info:

       

              tremes1@redhat.com Tomas Remes
              openshift-crt-jira-prow OpenShift Prow Bot
              Joao Bastos Fula Joao Bastos Fula
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: