Bug 1377678

Summary: try multiple mirrors if some of them fail
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: mediawriterAssignee: Martin Bříza <mbriza>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: mbriza
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mediawriter-3.97.1-0.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-27 00:31:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kamil Páral 2016-09-20 11:06:35 UTC
Description of problem:
Our local Fedora mirror was down today, and mediawriter couldn't download any images. That seems very suboptimal. Just because the closest mirror is down, or times out, or it returns 404 for the image you're looking for (which might happen quite often, not all mirrors are complete), we can't have mediawriter broken for all users from that area.

Another manifestation of this issue is bug 1377628. Again, mediawriter should not fail with the first invalid mirror.

If there's a network error with some mirror, just try another one. Thanks.

Version-Release number of selected component (if applicable):
mediawriter-3.96.0-0.fc25.x86_64

Steps to Reproduce:
1. not sure how to reproduce easily. Maybe fake the metalink received from mirrormanager and redirect mediawriter to a location which is not accessible or returns 404

Comment 1 Martin Bříza 2016-09-20 11:08:30 UTC
This is not only hard to test but to implement too. The way things are done now is relying on the main Fedora download server to point us to a server that may be best for us. I'm honestly not sure how to implement this in an other way... Ideas welcome!

Comment 3 Martin Bříza 2016-09-20 13:18:07 UTC
It does! Thank you

Comment 4 Fedora Update System 2016-09-23 05:24:10 UTC
mediawriter-3.97.0-0.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-d84f684d42

Comment 5 Fedora Update System 2016-09-24 17:51:59 UTC
mediawriter-3.97.1-0.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-e34fd77aaf

Comment 6 Fedora Update System 2016-09-27 00:31:35 UTC
mediawriter-3.97.1-0.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.