Bug 407471
| Summary: | RFE: yum-fastestmirror could use a configuration option to mark some mirrors as dead | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michal Jaegermann <michal> |
| Component: | yum-utils | Assignee: | Luke Macken <lmacken> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 8 | CC: | lmacken, pfrields, pmatilai, tim.lauridsen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2007-12-04 22:09:30 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Michal Jaegermann
2007-12-01 19:05:24 UTC
Luke: Comments please I added an 'exclude' configuration option to fastestmirror.
http://devel.linux.duke.edu/gitweb/?p=yum-utils.git;a=commitdiff;h=378eabfecc3e4263251f77d89bc0dba18d057ca4
Will that do the trick, Michal?
You can test out the latest version here: http://devel.linux.duke.edu/gitweb/?p=yum-utils.git;a=blob_plain;f=plugins/fastestmirror/fastestmirror.py;hb=HEAD > Will that do the trick, Michal?
Scanning through the code it appears that this would be the case. Thanks!
Only a syntax of this option is not that clear. Is it possible to
provide a list of mirrors to exclude? If yes then in what format?
Are multiple "exclude=" cummulative or the last one overrides?
I will try "live tests" somewhat later. To add some excitment to
that what shows up in timedhosts.txt is not static. :-)
I just committed support for multiple excludes. http://devel.linux.duke.edu/gitweb/?p=yum-utils.git;a=commitdiff;h=5cf2afa03f5fedeb45d7cde6e5dec60052c4ab74 It now supports multiple comma or space delimited excludes. For example: In your fastestmirror.conf: exclude=.gov, facebook Yields: Determining fastest mirrors * livna-development: rpm.livna.org * updates-testing: 192.168.0.131 * livna: rpm.livna.org * fedora: 192.168.0.131 Excluding mirrors: mirror.anl.gov Excluding mirrors: fedora.mirror.facebook.com * updates: srl.cs.jhu.edu I tried the latest version from HEAD and, AFAICS it works fine. Thanks! 'mirror.cpsc.ucalgary.ca' did not show up on a mirror list at this particular moment so even if it was present as an "exclude" in that plugin configuration file the following was printed for me: Determining fastest mirrors * livna: rpm.livna.org * fedora: www.muug.mb.ca * updates: www.muug.mb.ca * local-updates: net yum-utils-1.1.9-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum-utils' yum-utils-1.1.9-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum-utils' It is very nice that yum-utils-1.1.9-1.fc{7,8} were pushed on 2007-12-07
to testing repository but they seem to be stuck there. Any chance that
they will get released? So far only rawhide is at yum-utils-1.1.9-1.fc9.
yum-utils-1.1.9-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum-utils' yum-utils-1.1.9-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum-utils' yum-utils-1.1.9-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. yum-utils-1.1.9-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report. |