#873 Set up internal mirror for PHX via mirrormanager
Closed: Fixed None Opened 15 years ago by jkeating.

We do a number of things inside the PHX infrastructure that would benefit from an internal mirror of Fedora content, given to us via MirrorManager. This will allow better automation of composes and installations since one will not have to change default urls in config files. It'll also provide faster installs and composes as we will always be using the local up to date mirror.

We could likely mount the Fedora netapp readonly on some guest, probably not kojipkgs though, that system gets worked enough by the koji builders.


This appears to be working now:

[mmcgrath@app1 ~]$ wget -qO- 'http://mirrors.fedoraproject.org/mirrorlist?arch=i386&repo=fedora-9'

repo = fedora-9 arch = i386 Using preferred netblock country = US country = MX country = CA

http://infrastructure.fedoraproject.org/pub/fedora/linux/releases/9/Everything/i386/os

One thing that is needed is a mirrors.fedoraproject.org hosts entry. Since that's a global change in PHX we'll need to wait until after the change freeze.

Why would we need the hosts entry? If we point mirrors.fedoraproject.org at a local IP, won't the netblock match fail, since the source IP would be 10.8.34.59 (app1.fedora.phx.redhat.com) instead of 209.132.177.200 (nat-pool-phx.redhat.com)?

Login to comment on this ticket.

Metadata