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.
Bug 2043144 - After upgrading to 6.10, Satellite fails to sync some repositories with large files with timeout error
Summary: After upgrading to 6.10, Satellite fails to sync some repositories with large...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.10.1
Hardware: x86_64
OS: Linux
high
high
Target Milestone: 6.11.0
Assignee: Ian Ballou
QA Contact: Devendra Singh
URL:
Whiteboard:
: 2040788 2057660 (view as bug list)
Depends On:
Blocks: 2043149
TreeView+ depends on / blocked
 
Reported: 2022-01-20 17:23 UTC by Ashish Humbe
Modified: 2022-07-05 14:32 UTC (History)
8 users (show)

Fixed In Version: tfm-rubygem-katello-4.3.0.6-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2043149 2053726 (view as bug list)
Environment:
Last Closed: 2022-07-05 14:32:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Reposync fails with timeout error (42.10 KB, image/png)
2022-01-20 17:23 UTC, Ashish Humbe
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34426 0 High Closed Improve Pulp 3 sync timeout configuration 2022-02-15 23:33:31 UTC
Red Hat Knowledge Base (Solution) 6552991 0 None None None 2022-01-20 17:28:12 UTC
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:32:32 UTC

Description Ashish Humbe 2022-01-20 17:23:04 UTC
Created attachment 1852249 [details]
Reposync fails with timeout error

Description of problem:
After upgrading to 6.10, Satellite fails to sync some repositories with large files and displays the following error:

Request timed out for https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/4ae4b0b9f3e8e0ed6007d17625c04e36a3b01ec9-other.xml.gz. Increasing the total_timeout value on the remote might help. (Katello::Errors::Pulp3Error)

Increasing the default sync connection timeout from 300 to 3600 seconds helps in getting repos synced successfully. 

Web UI -> Administer -> Settings -> Content tab -> Sync Connection Timeout -> Set 3600

Steps to Reproduce:
1. After Sat6.9 -> 6.10 upgrade sync some RHEL base repos
2.
3.

Actual results:
Sync fails with the above error due to a smaller timeout value.

Expected results:
The default timeout value should be increased so sync will work successfully.

Additional info:

Comment 1 Justin Sherrill 2022-01-27 18:36:47 UTC
*** Bug 2040788 has been marked as a duplicate of this bug. ***

Comment 2 Ian Ballou 2022-02-09 15:21:22 UTC
Created redmine issue https://projects.theforeman.org/issues/34426 from this bug

Comment 8 Ian Ballou 2022-03-03 19:13:59 UTC
*** Bug 2057660 has been marked as a duplicate of this bug. ***

Comment 9 Devendra Singh 2022-05-02 13:12:14 UTC
Verified on 6.11 Snap18.5

Verification steps:

- Setup the Satellite of 6.10.z.
- Enable the large repositories
- Ran the sync and the sync job worked well.
- Perform the upgrade from 6.10.z to 6.11 Snap18.5 and it was completed successfully.
- Checked the updated changes for "Sync Connect Timeout" in the UI and it is updated to 60 seconds.

  UI -> Administer -> Settings -> Content tab -> Sync Connect Timeout - > 60
- Verification done with tfm-rubygem-katello-4.3.0.31-1.el7sat.noarch version

# rpm -qa|grep tfm-rubygem-katello
tfm-rubygem-katello-4.3.0.31-1.el7sat.noarch

- didn't see any timeout-related issue in the large repository sync after the upgrade.

Comment 12 errata-xmlrpc 2022-07-05 14:32:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Satellite 6.11 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5498


Note You need to log in before you can comment on or make changes to this bug.