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

on-demand data gathering timing issues


    • No
    • CCXDEV Sprint 100
    • 1
    • False
    • Hide


    • N/A
    • Release Note Not Required

      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
            tremes1@redhat.com Tomas Remes
            Joao Bastos Fula Joao Bastos Fula
            0 Vote for this issue
            5 Start watching this issue