Bug 455818
Summary: | yum-fastestmirror doesn't remeasure when host is moved | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | H. Peter Anvin <hpa> |
Component: | yum-utils | Assignee: | Seth Vidal <skvidal> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 9 | CC: | james.antill, 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: | 2008-07-21 13:07:29 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
H. Peter Anvin
2008-07-17 23:47:04 UTC
It should be rereading the mirrorlists and its cache whenever the mirrorlist_expire happens (which should be once a day by default) In addition fastest-mirrors maximum age before reprocessing the mirrorlist is 10s by default. We've evaluated tracking the ip before and it is too error prone (with nat) and not obviously worth it for all the pain it adds. In this case set your mirrorlist_expire to a lower value and the problem goes away. Also there is "yum clean expire-cache" which will make yum re-fetch the mirrorlist ... AIUI this was supposed to be called by NetworkManager whenever the network "changed". So that should solve your problem too. Hm, I can pretty safely say that at least on my system, *neither* of these actually happen, and the cache is only refreshed when I manually delete it. I'm a bit confused about the statement: We've evaluated tracking the ip before and it is too error prone (with nat) and not obviously worth it for all the pain it adds. Does that mean you tracked the interface address (which might be internal) or bounced it off a server to get the external IP? I can see the latter being extremely unreliable. |