Bug 1377678 - try multiple mirrors if some of them fail
Summary: try multiple mirrors if some of them fail
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mediawriter
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Bříza
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-20 11:06 UTC by Kamil Páral
Modified: 2016-09-27 00:31 UTC (History)
1 user (show)

Fixed In Version: mediawriter-3.97.1-0.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-27 00:31:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1377628 0 unspecified CLOSED mirror redirect from https to http breaks download 2021-02-22 00:41:40 UTC

Internal Links: 1377628

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.


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