Hi, right now Copr is using stock mock, with its default configuration. Which means that Copr builders are downloading packages from Fedora mirrors. I find this sub-optimal, because: * sometimes is mirror little bit off-sync and occasionally this result in failed builds. * while mirrors are generally good thing, primary Fedora servers are AFAIK just few racks away from Copr. In term of measurable data it is 100 ms of ping vs. 4 ms of ping.
Therefore I plan to replace: metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=... in mock config with: baseurl=http://dl.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything...
and similary for epel, rawhide and F21. But before I proceed, would like to ask if this is ok? Or should I rather not use dl.f.o for some reason?
Additionally I would like to do the same for Centos. Before I ask CentOS guys... do we have somewhere in our datacenter copy of CentoOS repo?
If not, I'm not sure if I would like to rsync everything. Maybe rather just setup squid.
On Fri, Oct 17, 2014 at 10:16:14AM +0200, Miroslav Suchý wrote:
Hi, right now Copr is using stock mock, with its default configuration. Which means that Copr builders are downloading packages from Fedora mirrors.
- while mirrors are generally good thing, primary Fedora servers are AFAIK
just few racks away from Copr. In term of measurable data it is 100 ms of ping vs. 4 ms of ping.
Therefore I plan to replace: metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=... in mock config with: baseurl=http://dl.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything...
and similary for epel, rawhide and F21.
Wouldn't it be better to configure MirrorManager to return primary sites to hosts belonging to Fedora Infra?
On Fri, Oct 17, 2014 at 02:39:46PM +0200, Tomasz Torcz wrote:
baseurl=http://dl.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything... and similary for epel, rawhide and F21.
Wouldn't it be better to configure MirrorManager to return primary sites to hosts belonging to Fedora Infra?
This should just be a matter of our team configuring our mirrors in mirrormanager to know to prioritize our networks, right? (It has that feature, I know.)
On Fri, 17 Oct 2014 10:53:44 -0400 Matthew Miller mattdm@fedoraproject.org wrote:
On Fri, Oct 17, 2014 at 02:39:46PM +0200, Tomasz Torcz wrote:
baseurl=http://dl.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything... and similary for epel, rawhide and F21.
Wouldn't it be better to configure MirrorManager to return primary sites to hosts belonging to Fedora Infra?
This should just be a matter of our team configuring our mirrors in mirrormanager to know to prioritize our networks, right? (It has that feature, I know.)
Yep. I can (and will) just set the default for our private cloud to use the master mirrors. It should take effect in an hour or two.
So, no need to change anything in copr for that...
Smooge was working on some kind of centos mirror/sync, but I don't know the status off hand of that, so will wait for him to chime in on it. It's kind of increasingly seeming like we should look at just officially mirroring centos for various projects.
kevin
infrastructure@lists.fedoraproject.org