Issue #1767
closedErrors when synchronizing from a mirror list
Description
When synchronizing the EPEL repo from http://download.fedoraproject.org/pub/epel/7/x86_64/ to my local pulp server, there was at least one server with connectivity problems. This caused several packages not to download and the subsequent publish process failed. The http repo would only list RPMs up to the failed package. (i.e. if it failed on the apbs-tools rpm, then none of the packages which fell alphabetically after that were published.) If a reliable site is chosen (i.e. kernel.org), the entire repository downloads and publishes without error.
The command used to create the repo that was failing:
pulp-admin rpm repo update --repo-id=centos7-x86_64_epel --display-name="Centos7 - EPEL" --feed=http://download.fedoraproject.org/pub/epel/7/x86_64/ --validate=true
As I mentioned, changing the feed to: --feed=http://mirrors.kernel.org/fedora-epel/7/x86_64/
Fixed the problem.
/var/log/messages did reflect problems with some of the mirrors:
Mar 10 16:18:52 admin-1-lp-202 pulp: requests.packages.urllib3.connectionpool:INFO: Resetting dropped connection: mirror.cs.princeton.edu
Mar 10 16:18:52 admin-1-lp-202 pulp: nectar.downloaders.threaded:WARNING: Connection Error - http://download.fedoraproject.org/pub/epel/7/x86_64/a/aqbanking-devel-5.5.1-1.el7.x86_64.rpm could not be reached.
Related issues