Jobs failing on repository issue with "No more mirrors to try"

Sandro Bonazzola sbonazzo at redhat.com
Thu Feb 26 10:34:43 UTC 2015


Jobs are failing on repository issue like http://jenkins.ovirt.org/job/vdsm_master_create-rpms-fc20-x86_64_merged/689/ :


DEBUG util.py:389:  http://download.fedoraproject.org/pub/fedora/linux/updates/testing/20/x86_64/curl-7.32.0-19.fc20.x86_64.rpm: [Errno 14] HTTP Error
404 - Not Found
DEBUG util.py:389:  Trying other mirror.
DEBUG util.py:389:  http://download.fedoraproject.org/pub/fedora/linux/updates/testing/20/x86_64/libcom_err-1.42.12-3.fc20.x86_64.rpm: [Errno 14] HTTP
Error 404 - Not Found
DEBUG util.py:389:  Trying other mirror.
DEBUG util.py:389:  http://download.fedoraproject.org/pub/fedora/linux/updates/testing/20/x86_64/libcurl-7.32.0-19.fc20.x86_64.rpm: [Errno 14] HTTP
Error 404 - Not Found
DEBUG util.py:389:  Trying other mirror.
DEBUG util.py:389:  http://download.fedoraproject.org/pub/fedora/linux/updates/testing/20/x86_64/perl-Getopt-Long-2.45-1.fc20.noarch.rpm: [Errno 14]
HTTP Error 404 - Not Found
DEBUG util.py:389:  Trying other mirror.
DEBUG util.py:389:  Error downloading packages:
DEBUG util.py:389:    libcurl-7.32.0-19.fc20.x86_64: [Errno 256] No more mirrors to try.
DEBUG util.py:389:    libcom_err-1.42.12-3.fc20.x86_64: [Errno 256] No more mirrors to try.
DEBUG util.py:389:    curl-7.32.0-19.fc20.x86_64: [Errno 256] No more mirrors to try.
DEBUG util.py:389:    perl-Getopt-Long-2.45-1.fc20.noarch: [Errno 256] No more mirrors to try.

I guess baseurl has been chosen for proxy sake but this will fail jobs in case the selected mirror is out of sync.

I suggest to install yum-plugin-fastestmirror
and set
prefer=download.fedoraproject.org
in /etc/yum/pluginconf.d/fastestmirror.conf

and provide the mirror list instead of the baseurl allowing to fallback on next mirror if preferred mirror has issues.


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com



More information about the Infra mailing list