Hi,
The Europe customers reflect that the download speed of the following mirror is pretty slow, http://mirror.arizona.edu/fedora/linux/releases/31/Everything/x86_64/os/Packages They want a best fedora mirror for paas.psi.redhat.com And here is their information
subnet: 10.0.16.0/21 getaway: 10.0.23.254 ip range start: 10.0.16.1 ip range end: 10.0.23.249 dns namespace: paas.prod.upshift.rdu2.redhat.com
Please feel free to ask if you need more informations,thanks.
You say "Europe customers" and the mirror you get is from the US. Can you give some information about the location of the client? Mirrors are determined by the public IP address of the host asking for a mirror. In your case it seems the host asking for the mirror is in the US. The IP addresses you are mentioning are all non-public, so hard to tell what is going on.
Can you provide the output of
curl "https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-31&arch=x86_64"
from one of the failing hosts. That should also give some debug information.
Hi, Adrian, the PSI env is based in the US, we got requests from Europe customers, "Containers deploying in paas.psi.redhat.com are using standard mirrors for fedora images. That is provided by mirror list - eg. https://mirrors.fedoraproject.org/metalink?repo=fedora-31&arch=x86_64 For paas.psi it returns highest preference for: <url protocol="http" type="http" location="US" preference="100">http://mirror.arizona.edu/fedora/linux/releases/31/Everything/x86_64/os/repodata/repomd.xml</url>
Downloading bigger package http://mirror.arizona.edu/fedora/linux/releases/31/Everything/x86_64/os/Packages/o/openarena-0.8.8-15.fc31.noarch.rpm Download speed from this mirror is low: 100%[=] 396,952,505 663KB/s in 8m 28s
When I am downloading same file from download.devel.redhat.com/pub/fedora http://download.devel.redhat.com/pub/fedora/linux/releases/31/Everything/x86_64/os/Packages/o/openarena-0.8.8-15.fc31.noarch.rpm 100%[=] 396,952,505 13.4MB/s in 15s
In Brno office we have local private mirror which is returned by mirror list: <url protocol="http" type="http" location="CZ" preference="100" mm0:private="True">http://download.eng.brq.redhat.com/pub/fedora/linux/releases/31/Everything/x86_64/os/repodata/repomd.xml</url>
Please cooperate with fedora infra to provide the best fedora mirror for paas.psi.redhat.com."
Public IP of system is 66.187.233.202 (based on 'curl ifconfig.co' from openshift pod) . And preferred mirror could be http://download.devel.redhat.com/pub/fedora/linux/ which is redhat internal. @xihan @lnie does Openshift instanstance have multiple public IPs?
The IP is in the US (according to geoip), that is why you get US mirrors:
$ geoiplookup 66.187.233.202 GeoIP Country Edition: US, United States GeoIP City Edition, Rev 1: US, NC, North Carolina, Raleigh, 27601, 35.771599, -78.635597, 560, 919 GeoIP ASNum Edition: AS22753 Red Hat, Inc.
There are multiple Red Hat internal private mirrors which could list your IP as local netblock. Then you would be redirected to that mirror. The Brno internal mirror has that IP (66.187.233.202) not listed as local netblock.
This is nothing Fedora can fix. This has to be correctly set up by the corresponding mirror admin.
Yes, it's IP from US. It's irrelevant that I am 'European customer'. Since server is in US. Curl returns:
http://mirrors.mit.edu/fedora/linux/releases/31/Everything/x86_64/os/ http://mirror.vcu.edu/pub/gnu+linux/fedora/releases/31/Everything/x86_64/os/ https://pubmirror2.math.uh.edu/fedora-buffet/fedora/linux/releases/31/Everything/x86_64/os/ http://mirror.cs.princeton.edu/pub/mirrors/fedora/linux/releases/31/Everything/x86_64/os/ http://mirror.math.princeton.edu/pub/fedora/linux/releases/31/Everything/x86_64/os/ http://mirrors.oit.uci.edu/fedora/linux/releases/31/Everything/x86_64/os/ http://ftp.ussg.iu.edu/linux/fedora/linux/releases/31/Everything/x86_64/os/ http://csc.mcs.sdsmt.edu/fedora/linux/releases/31/Everything/x86_64/os/ http://packages.oit.ncsu.edu/fedora/linux/releases/31/Everything/x86_64/os/ http://ftp.usf.edu/pub/fedora/linux/releases/31/Everything/x86_64/os/ https://pubmirror1.math.uh.edu/fedora-buffet/fedora/linux/releases/31/Everything/x86_64/os/ http://mirror.cs.pitt.edu/fedora/linux/releases/31/Everything/x86_64/os/ http://mirror.siena.edu/fedora/linux/releases/31/Everything/x86_64/os/ https://download-ib01.fedoraproject.org/pub/fedora/linux/releases/31/Everything/x86_64/os/ https://mirror.umd.edu/fedora/linux/releases/31/Everything/x86_64/os/ http://mirrors.rit.edu/fedora/fedora/linux/releases/31/Everything/x86_64/os/ https://mirror.arizona.edu/fedora/linux/releases/31/Everything/x86_64/os/ http://mirror.cc.vt.edu/pub/fedora/linux/releases/31/Everything/x86_64/os/ http://mirror.chpc.utah.edu/pub/fedora/linux/releases/31/Everything/x86_64/os/ http://fedora.mirrors.pair.com/linux/releases/31/Everything/x86_64/os/ http://mirror.atl.genesisadaptive.com/fedora/linux/releases/31/Everything/x86_64/os/ https://mirror.lax.genesisadaptive.com/fedora/linux/releases/31/Everything/x86_64/os/ http://dfw.mirror.rackspace.com/fedora/releases/31/Everything/x86_64/os/ http://mirror.metrocast.net/fedora/linux/releases/31/Everything/x86_64/os/ http://fedora.mirror.constant.com/fedora/linux/releases/31/Everything/x86_64/os/ http://mirrors.syringanetworks.net/fedora/linux/releases/31/Everything/x86_64/os/ http://fedora.mirror.lstn.net/releases/31/Everything/x86_64/os/ http://repo.atlantic.net/fedora/linux/releases/31/Everything/x86_64/os/ https://d2lzkl7pfhq30w.cloudfront.net/pub/fedora/linux/releases/31/Everything/x86_64/os/ http://iad.mirror.rackspace.com/fedora/releases/31/Everything/x86_64/os/ http://mirrors.xmission.com/fedora/linux/releases/31/Everything/x86_64/os/ http://mirror.sjc02.svwh.net/fedora/releases/31/Everything/x86_64/os/ https://ord.mirror.rackspace.com/fedora/releases/31/Everything/x86_64/os/ http://mirror.mrjester.net/fedora/linux/releases/31/Everything/x86_64/os/ http://mirror.datto.com/fedora/primary/releases/31/Everything/x86_64/os/ http://mirrors.kernel.org/fedora/releases/31/Everything/x86_64/os/ http://mirror.web-ster.com/fedora/releases/31/Everything/x86_64/os/ https://mirror.steadfastnet.com/fedora/releases/31/Everything/x86_64/os/ http://mirror.prgmr.com/pub/fedora/linux/releases/31/Everything/x86_64/os/ http://ftp.cse.buffalo.edu/pub/fedora/linux/releases/31/Everything/x86_64/os/ http://dl.fedoraproject.org/pub/fedora/linux/releases/31/Everything/x86_64/os/ https://mirror.dst.ca/fedora/releases/31/Everything/x86_64/os/ https://muug.ca/mirror/fedora/linux/releases/31/Everything/x86_64/os/ https://mirror.csclub.uwaterloo.ca/fedora/linux/releases/31/Everything/x86_64/os/ http://fedora.mirror.iweb.com/linux/releases/31/Everything/x86_64/os/ http://mirror.its.sfu.ca/mirror/fedora/linux/releases/31/Everything/x86_64/os/ http://mirror.its.dal.ca/pub/fedora/linux/releases/31/Everything/x86_64/os/ http://mirrors.ucr.ac.cr/fedora/releases/31/Everything/x86_64/os/
Is it possible to set priority mirror to http://download.devel.redhat.com/pub/fedora/linux/ ?
download.devel.redhat.com is not listed as a Fedora mirror. You could add it to MirrorManager and then set 66.187.233.202 as local netblock.
You should probably talk to someone who has set up other Red Hat internal mirrors to configure those Red Hat internal mirrors to work with 66.187.233.202.
Thanks, going to continue internally.
Metadata Update from @smooge: - Issue tagged with: mirrorlists
The fix looks to be internal with PNT who run the internal mirrors adding the external exit ips to their blocsk
Metadata Update from @smooge: - Issue close_status updated to: Upstream - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.