Bug#945236: mirror submission for mirror.infomaniak.com

2020-04-21 Thread Thomas Goirand
On 4/21/20 11:00 PM, Julien Cristau wrote:
> On Tue, Apr 21, 2020 at 10:56:52PM +0200, Thomas Goirand wrote:
>> On 4/20/20 4:36 PM, Julien Cristau wrote:
>>> You might need to set MIRRORNAME in the ftpsync config to the name you
>>> wish to have appear in the mirror list.
>>
>> Is it mandatory that it matches? This would need some reconfiguration on
>> our side, if it does. Please let me know so that I can act on this if
>> you require it.
>>
> Yes, we need the trace file to exist at
> http://{mirrorname}/debian/project/trace/{mirrorname} for our tools
> (e.g. https://mirror-master.debian.org/status/mirror-status.html) to
> work.

Ok, I'll make that match and write in this bug when fixed then
(probably, I'll do that tomorrow). Thanks for the info.

Cheers,

Thomas Goirand (zigo)



Bug#945236: mirror submission for mirror.infomaniak.com

2020-04-21 Thread Julien Cristau
On Tue, Apr 21, 2020 at 10:56:52PM +0200, Thomas Goirand wrote:
> On 4/20/20 4:36 PM, Julien Cristau wrote:
> > You might need to set MIRRORNAME in the ftpsync config to the name you
> > wish to have appear in the mirror list.
> 
> Is it mandatory that it matches? This would need some reconfiguration on
> our side, if it does. Please let me know so that I can act on this if
> you require it.
> 
Yes, we need the trace file to exist at
http://{mirrorname}/debian/project/trace/{mirrorname} for our tools
(e.g. https://mirror-master.debian.org/status/mirror-status.html) to
work.

Cheers,
Julien



Bug#945236: mirror submission for mirror.infomaniak.com

2020-04-21 Thread Thomas Goirand
On 4/20/20 4:36 PM, Julien Cristau wrote:
> Control: tag -1 moreinfo
> 
> On Thu, Nov 21, 2019 at 04:09:03PM +, Thomas Goirand wrote:
>> Site: mirror.infomaniak.com
> 
> Hi,
> 
> while checking this for inclusion our tools found that:
> 
> o trace file:
>   I notice there is no tracefile matching your site name 
> mirror.infomaniak.com in
>   http://mirror.infomaniak.com/debian/project/trace/
> 
>   Please use our ftpsync script to mirror Debian.

That's what I use. I even wrote a puppet module packaged in Debian for
it, which installs and configures the ftpsync package (see the Debian
package puppet-module-debian-archvsync).

The trace correctly lists:

"ver1-debmirror-1.infomaniak.ch"

That's the hostname of the machine, however, this doesn't match the
public IP address, which resolves using mirror1.infomaniak.com. Is this
a problem?

You'll notice this on our 2nd mirror too:
http://mirror2.infomaniak.com/debian/project/trace/_traces

Also note that, as discussed earlier, you only want to list:
mirror1.infomaniak.com
mirror2.infomaniak.com

rather than the alias that resolve to both:
mirror.infomaniak.com

as server 2 does ftpsync to the first one (they don't use a shared
storage, so mirror2 is updated only after mirror1 is synced).

>   It should produce the trace files we require, and do the mirroring in a way
>   that ensures the mirror is in a consistent state even during updates.
> 
>   http://mirror.infomaniak.com/debian/project/ftpsync/ftpsync-current.tar.gz
> 
> You might need to set MIRRORNAME in the ftpsync config to the name you
> wish to have appear in the mirror list.

Is it mandatory that it matches? This would need some reconfiguration on
our side, if it does. Please let me know so that I can act on this if
you require it.

Cheers,

Thomas Goirand (zigo)



Bug#945236: mirror submission for mirror.infomaniak.com

2020-04-20 Thread Julien Cristau
Control: tag -1 moreinfo

On Thu, Nov 21, 2019 at 04:09:03PM +, Thomas Goirand wrote:
> Site: mirror.infomaniak.com

Hi,

while checking this for inclusion our tools found that:

o trace file:
  I notice there is no tracefile matching your site name mirror.infomaniak.com 
in
  http://mirror.infomaniak.com/debian/project/trace/

  Please use our ftpsync script to mirror Debian.

  It should produce the trace files we require, and do the mirroring in a way
  that ensures the mirror is in a consistent state even during updates.

  http://mirror.infomaniak.com/debian/project/ftpsync/ftpsync-current.tar.gz

You might need to set MIRRORNAME in the ftpsync config to the name you
wish to have appear in the mirror list.

Cheers,
Julien



Bug#945236: mirror submission for mirror.infomaniak.com

2019-11-21 Thread Thomas Goirand
As per discussion on IRC, to avoid a race condition, please split this into:

mirror1.infomaniak.com
mirror2.infomaniak.com

FYI, mirror2 recieves a push from mirror1.

Thomas Goirand (zigo)



Bug#945236: mirror submission for mirror.infomaniak.com

2019-11-21 Thread Thomas Goirand
Package: mirrors
Severity: wishlist
User: mirr...@packages.debian.org
Usertags: mirror-submission

Submission-Type: new
Site: mirror.infomaniak.com
Type: leaf
Archive-architecture: ALL amd64 arm64 armel armhf hurd-i386 i386 kfreebsd-amd64 
kfreebsd-i386 mips mips64el mipsel powerpc ppc64el s390x
Archive-http: /debian/
Archive-rsync: debian/
Maintainer: Thomas Goirand 
Country: CH Switzerland
Location: Geneva
Sponsor: Infomaniak https://www.infomaniak.com/
Comment: This is a super-fast link connected to 2 mirrors which are 2nd tier 
from ethz (ie: ftp.ch.debian.org), each server using RAID10 SSD, and connected 
with bonding of 2x 10 Gbits. Both servers are monitored 24/7 all year long by 
our dedicated L3 team that does the disaster recovery all year long for the 
rest of Infomaniak infrastructure. So in short: very fast and reliable servers.




Trace Url: http://mirror.infomaniak.com/debian/project/trace/
Trace Url: 
http://mirror.infomaniak.com/debian/project/trace/ftp-master.debian.org
Trace Url: 
http://mirror.infomaniak.com/debian/project/trace/mirror.infomaniak.com