Red Hat Bugzilla – 1893672 – OpenSCAP Report not uploaded from proxy to Foreman server, cause: Failed to upload to Foreman, saving in spool. Failed with: Net::ReadTimeout
Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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 :
# su - postgres -c "psql foreman -c \"select to_char(count(*), 'FM9,999,999,999') as logscount from logs;\""
logscount
------------
20,688,600
(1 row)
# 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 :
# /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.
Comment 1Nikolaus Eppinger
2020-11-05 15:10:42 UTC
Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. This message may be a repeat of a previous update and the bug is again being considered to be closed. If you have any concerns about this, please contact your Red Hat Account team. Thank you.
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.
Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.
To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "SAT-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:
"Bugzilla Bug" = 1234567
In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.