Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-18333

OpenSCAP Report not uploaded from proxy to Foreman server, cause: Failed to upload to Foreman, saving in spool. Failed with: Net::ReadTimeout

XMLWordPrintable

    • Important
    • No Coverage
    • Yes

      Description of problem:

      • OpenSCAP Report not uploaded from proxy to Foreman server, cause: Failed to upload to Foreman, saving in spool. Failed with: Net::ReadTimeout

      DEBUG: running: /usr/bin/env bzip2 /tmp/d20201102-8784-ewp9ha/results.xml
      Uploading results to https://[SATELLITE]:9090/compliance/arf/1
      Report not uploaded from proxy to Foreman server, cause: Failed to upload to Foreman, saving in spool. Failed with: Net::ReadTimeout

      • And then a heavy CPU load is happening with the following :

      13543 postgres 20 0 8853256 217464 209396 R 88.1 0.3 0:38.98 postgres: foreman foreman [local] SELECT

      • Per customer comment :

      The process worked fine on 6.7.1 and the issue started after upgrade to 6.7.4 and was not solved by updating to 6.7.5

      • If we remove the logs on PostgreSQL then it working sometimes then the issue starts again .
      • PostgreSQL tables sizes :
      1. su - postgres -c "psql foreman -c \"select to_char(count, 'FM9,999,999,999') as logscount from logs;\""
        logscount
        ------------
        20,688,600
        (1 row)
      1. su - postgres -c "psql foreman -c \"select to_char(count, 'FM9,999,999,999') as reportscount from reports;\""
        reportscount
        --------------
        410,555
        (1 row)

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

      Red Hat Satellite 6.7.5

      How reproducible:

      Fairly often in the customer's environment. Unable to reproduce locally.

      Steps to Reproduce:
      1. Run OpenSCAP scan on the satellite clients :

      1. /usr/bin/foreman_scap_client 1

      Actual results:

      The OpenSCAP report upload failed with the folling message :

      Report not uploaded from proxy to Foreman server, cause: Failed to upload to Foreman, saving in spool. Failed with: Net::ReadTimeout

      Expected results:

      No error.

              jira-bugzilla-migration RH Bugzilla Integration
              rhn-support-aeladawy Ahmed Eladawy
              RH Bugzilla Integration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: