[mirror-admin] MirrorManager only returns one URL for EPEL repos

Matt_Domsch at Dell.com Matt_Domsch at Dell.com
Thu Oct 16 13:16:11 EDT 2008


This is handled via the ordered_mirrorlist value for each
Product/Version in the database, and used in mirrormanager/mirrorlist.py
and mirrorlist_server.py

--
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux

-----Original Message-----
From: Domsch, Matt 
Sent: Thursday, October 16, 2008 12:15 PM
To: mirror-list-d at redhat.com
Subject: RE: MirrorManager only returns one URL for EPEL repos

This is correct.

http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=i386&countr
y=global

will return the whole list.

Basically, for Fedora 8 and higher, the yum default config changed to
assume a prioritized list.   Before that (including F7 and EL5), yum
would take a longer mirrorlist, then itself randomly choose one.  With
netblocks in use, the only way to ensure the user of such is sent to the
local mirror was to put only the local mirror on the list.

Thanks,
Matt

--
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux

-----Original Message-----
From: mirror-list-d-bounces at redhat.com
[mailto:mirror-list-d-bounces at redhat.com] On Behalf Of Columbia
University Mirror Admins
Sent: Thursday, October 16, 2008 11:37 AM
To: mirror-list-d at redhat.com
Subject: MirrorManager only returns one URL for EPEL repos

My local/I2-only mirror is registered for our netblocks in  
MirrorManager.  When I query for a mirrorlist from my netblock,  
MirrorManager correctly returns my mirror at the top of the list.   
However, it's been brought to my attention that when querying for the  
EPEL 5 mirrorlist, only my mirror is returned.  I notice this is also  
the case for the Fedora 7 repo, but the Fedora 8 repo & above return  
multiple URLs with my mirror at the top for my netblocks.  Is this a  
bug in MirrorManager or did old versions of yum not support multiple  
URLs in a mirrorlist?  If the latter, where in the MirrorManager code  
is the number of URLs to return controlled.  I briefly tried searching  
the code, but couldn't find anything.

Thanks,
Dave Coulthart

--

--


More information about the Mirror-admin mailing list