[mirror-admin] MM 1.3.2, now with automatic network lookups

Chris Adams cmadams at hiwaay.net
Mon Sep 28 22:41:29 EDT 2009


Once upon a time, Chris Adams <cmadams at hiwaay.net> said:
> Once upon a time, Matt Domsch <Matt_Domsch at dell.com> said:
> > MirrorManager 1.3.2 (plus a hotfix) is now running on all Fedora
> > Infrastructure application servers.  This brings one new interesting
> > feature - automatic mirror detection.  How's that you say?
> 
> This is cool and all (I really do mean that), but I think there may be a
> problem:
> 
> # yum check-update
> fedora/metalink                                          |   15 B     00:00     
> Could not parse metalink https://mirrors.fedoraproject.org/metalink?repo=fedora-11&arch=x86_64 error was 
> File /var/cache/yum/fedora/metalink.xml.tmp is not XML
> Error: File /var/cache/yum/fedora/metalink.xml does not exist
> 
> I don't see right off why the XML is being rejected (it looks valid to
> me, at least at first glance).
> 
> I did a "yum clean all" and cranked up the debug level, but I didn't get
> any more info.  This is with yum-3.2.23-3.fc11.

Okay, I think the problem isn't the content, it is IPv6.  If I wget the
entry, I get a valid response (it is using IPv4 by default for some
reason).  If I telnet to port 80, I get a server error:

$ telnet mirrors.fedoraproject.org http
Trying 2610:28:200:1::fed0:2...
Connected to mirrors.fedoraproject.org.
Escape character is '^]'.
GET /metalink?repo=fedora-11&arch=x86_64 HTTP/1.0
Host: mirrors.fedoraproject.org

HTTP/1.1 200 OK
Date: Tue, 29 Sep 2009 02:40:53 GMT
Server: Apache/2.2.3 (Red Hat)
Content-Length: 15
cache-control: no-cache
AppTime: D=42117
AppServer: app6.fedoraproject.org
Vary: Accept-Encoding
Content-Type: text/plain
ProxyTime: D=5730244
ProxyServer: proxy4.fedoraproject.org
Connection: close

# Server Error
Connection closed by foreign host.


I'm guessing the IP->AS code isn't handling IPv6 correctly?
-- 
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.

--


More information about the Mirror-admin mailing list