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

DVO gather might fail with context canceled

XMLWordPrintable

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

      None

      Show
      None

      Description of problem:

      The larger the DVO metrics are, the more time it takes for the Insights Operator to read it. Previously we added retry logic to the Inisghts Operator DVO gatherer to retry few times if the DVO service exists, but doesn't return HTTP 200 or connection is refused. The logic was not very good, because it used Go context with 5 seconds timeout. 

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

       

      How reproducible:

       

      Steps to Reproduce:

      1. Deploy DVO to the cluster
      2. Create few namespaces introducing some DVO failing checks (the more lines in the DVO metrics, the better)
      3. Run Insights Operator to gather the DVO metrics
      

      Actual results:

      Insights Operator doesn't gather any DVO data and the gatherer reports "context canceled"

      Expected results:

      Insights Operator gathers complete DVO data

      Additional info:

       

              tremes1@redhat.com Tomas Remes
              tremes1@redhat.com Tomas Remes
              Joao Bastos Fula Joao Bastos Fula
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: