Project

General

Profile

Actions

tickets #36766

closed

Tumbleweed Snapshots hosting

Added by jberry almost 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Mirrors
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

After my presentation [1] at the openSUSE conference it was suggested I renew
efforts for official hosting. I see three possible routes:

1) hosted on pontifex (download.o.o) with mirror brain integration
2) hosted on pontifex without mirror brain integration
3) hosted on separate machine

Given that roughly 9% of the raw size is used for 50 snapshots a large portion
of the files are available on the live mirrors since they do not change. As
such bandwidth could be saved by using the existing mirror network.

The snapshots can be provided via rsync module for mirrors that opt in to host
them as well (or in addition to mirror brain for existing mirrors).

Short of someone with knowledge of that setup and interest in making this
happen I would suggest #3 to at minimum provide official hosting in the
simplest form. Things can be improved as necessary.

The second point arises which is what format to utilize.

1) hardlinks
2) HTTP redirects like S3

The code for making snapshots can be found at boombatower/tumbleweed-snapshot
[2]. The hardlink approach being available in hardlink branch (same as 0.2.0
release tag).

The existing snapshots should be usable by syncing from AWS S3 to whichever
machine we choose.

Preferably, enough storage space could be provided for debug repo in addition
to oss and non-oss repos. The current storage consumption for 50 snapshots can
be seen in metrics.o.o [3] as just over 300GB. 500GB should be sufficient and
1TB enough for debug repo. I have a copy of debug from a while back which is
just under 60GB (or the same as oss and non-oss combined).

58G /srv/www/htdocs/opensuse/debug/

As such even 500GB could suffice, especially if a) less snapshots are stored
or, b) drop debug after a shorter interval.

I see the following on pontifex currently:

/dev/mapper/pontifex3-pontifex3 13T 12T 1.5T 90% /srv

Last I looked there was 0.5T available. I am not sure how much this fluctuates
which is a concern for use more space. There is already a package for the
original code (which should likely be updated for more recent source).

If #3 is done would that mean a domain apart form download.o.o?

I am happy to perform #3 and alternatively #1 or #2 with direction or help
someone else set things up.

Once everything is said and done, I can update the tumbleweed-cli to point to
the new hosting location.

[1] https://www.youtube.com/watch?v=CRszp1p47BM
[2] https://github.com/boombatower/tumbleweed-snapshot
[3] https://metrics.opensuse.org/d/osrt_tumbleweed_snapshots/tumbleweed-snapshots?panelId=2&fullscreen&orgId=1
[4] https://build.opensuse.org/package/show/openSUSE:infrastructure/
tumbleweed-snapshot

--
Jimmy

Actions

Also available in: Atom PDF