Re: Copr to use primary Fedora download location

2014-10-17 Thread Miroslav Suchy

On 10/17/2014 06:02 PM, Kevin Fenzi wrote:

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.


Great. Thanks.

Mirek
___
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

Re: Copr to use primary Fedora download location

2014-10-17 Thread Kevin Fenzi
On Fri, 17 Oct 2014 10:53:44 -0400
Matthew Miller  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/$basearch/os/
> > > 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


signature.asc
Description: PGP signature
___
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

Re: Copr to use primary Fedora download location

2014-10-17 Thread Matthew Miller
On Fri, Oct 17, 2014 at 02:39:46PM +0200, Tomasz Torcz wrote:
> >   
> > baseurl=http://dl.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
> > 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.)

-- 
Matthew Miller

Fedora Project Leader
___
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

Re: Copr to use primary Fedora download location

2014-10-17 Thread Tomasz Torcz
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=$basearch
> in mock config with:
>   
> baseurl=http://dl.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
> 
> 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?

-- 
Tomasz Torcz   "Never underestimate the bandwidth of a station
xmpp: zdzich...@chrome.plwagon filled with backup tapes." -- Jim Gray

___
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

Re: Copr to use primary Fedora download location

2014-10-17 Thread Miroslav Suchý

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.

--
Miroslav Suchy, RHCE, RHCDS
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys
___
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

Copr to use primary Fedora download location

2014-10-17 Thread Miroslav Suchý

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=$basearch
in mock config with:
  
baseurl=http://dl.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/

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?

--
Miroslav Suchy, RHCE, RHCDS
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys
___
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure