Bug #34426
closedImprove Pulp 3 sync timeout configuration
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2043144
Description of problem:
After migrating to Pulp 3, Katello 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 the Pulp 3 migration and switchover, 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:
To reproduce, it may be necessary to add a bandwidth limiter with squid.