Project

General

Profile

Actions

tickets #119623

closed

OpenSUSE push for Build Service updates

Added by donald@tenet.ac.za over 1 year ago. Updated over 1 year ago.

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

100%

Estimated time:

Description

Hi,

I'd like to set up a rsync push to our mirror server to update the Build
Service, since (as your wiki points out) the polling is proving to not
be an efficient means of updating this dataset.

Our mirror server is shared, and thus allow other mirrors that do push
updates to do so over rsync's ssh module - we have thus created a sync
user for OpenSUSE, and allowed the IP for stage (v4 & v6) to access our
mirror over port 22.

As mentioned, our mirror server is shared so authenticated access is
required. We prefer to use ssh keys, rather than a password, so please
can you share a ssh public key, and we will add it to our mirror server.

server name to push to will be: mirror.ac.za
module to use is ssh
account to use is susesync
public download url is unchanged at: https://opensuse.mirror.ac.za/

e.g: rsync -e ssh
/repository/Apache/SLE_15_SP4/x86_64/.~tmp~/apache2-2.4.54-150400.277.1.x86_64.rpm
susesync@mirror.ac.za:~/repositories/Apache/SLE_15_SP4/x86_64/.~tmp~/apache2-2.4.54-150400.277.1.x86_64.rpm

Please let me know if there is anything I am missing, or if you require
any additional information.

Regards,

--
TENET Standard Signature
Donald Coetzee
Senior Systems Administrator

Tertiary Education & Research Network of South Africa NPC

Fault Reporting: +27(21)763-7147 tel:+27(21)763-7147 or
support@tenet.ac.za
Office: +27(21)763-7154
http://www.tenet.ac.za/contact
ORCID iD https://orcid.org/0000-0003-2845-6969
https://orcid.org/0000-0003-2845-6969


Files

QWSVf6kHeASPSKL8.png (3.52 KB) QWSVf6kHeASPSKL8.png donald@tenet.ac.za, 2022-10-31 10:41
HYp0F3ZqoODKwaTm.png (1.23 KB) HYp0F3ZqoODKwaTm.png donald@tenet.ac.za, 2022-10-31 10:41
smime.p7s (4.16 KB) smime.p7s donald@tenet.ac.za, 2022-10-31 10:41
smime.p7s (4.16 KB) smime.p7s donald@tenet.ac.za, 2022-11-01 09:30
smime.p7s (4.16 KB) smime.p7s donald@tenet.ac.za, 2022-11-01 15:46
Actions #1

Updated by pjessen over 1 year ago

  • Assignee set to pjessen
  • Private changed from Yes to No

Hi Donald,
I'll get it set up right away, probably this afternoon.

Actions #2

Updated by pjessen over 1 year ago

  • Category set to Mirrors
  • Status changed from New to In Progress

There was one slight hiccup on my side, and at first the ipv6 access didn't work, but the repo push has now been running for maybe an hour, it's looking good. Donald, maybe have a look tomorrow, to see what it looks like on your side.

Actions #3

Updated by donald@tenet.ac.za over 1 year ago

Hi Par,

Apologies for the belated reply - had some issues accessing mail last night.

Thanks a lot for looking into this! - I am glad that you managed to get
the push to work; Firstly, Since I am not trying to poll sync the
build-service, we actually completed a successful sync of the other
datasets! (whoohoo!) - I'm not sure how to easily tell how far we are
from our end, though I do see the folders in the repositories directory
appearing (I assume the folders that were there were cleared, and we're
starting fresh?) - Since I'd imagine it to take a while, as the
build-service dataset is large (as you know), I would imagine we should
then just keep an eye on https://mirrors.opensuse.org/ and watch for
when we change from red to green?

Regards,
Donald.

Actions #4

Updated by pjessen over 1 year ago

donald@tenet.ac.za wrote:

Thanks a lot for looking into this! - I am glad that you managed to get
the push to work; Firstly, Since I am not trying to poll sync the
build-service, we actually completed a successful sync of the other
datasets! (whoohoo!)

:-)

  • I'm not sure how to easily tell how far we are from our end, though I do see the folders in the repositories directory appearing

Okay, that's really the main thing right now.

(I assume the folders that were there were cleared, and we're
starting fresh?)

No, the push would not have touched any existing folders. OBS repos are pushed out as they change, individually.

Since I'd imagine it to take a while, as the build-service dataset is large (as you know),
I would imagine we should then just keep an eye on https://mirrors.opensuse.org/ and watch for
when we change from red to green?

It would probably be a good idea to run one full sync of repositories/ from your end, with bwlimit and max-size=140M. Let it trundle along in the background for a day or two. Otherwise I think we're set.

Actions #5

Updated by donald@tenet.ac.za over 1 year ago

Thanks for the additional info - Will run a sync, and keep an eye on it
over the next few days.

Thanks also, for all the help with this :-)

Actions #6

Updated by pjessen over 1 year ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

donald@tenet.ac.za wrote:

Thanks for the additional info - Will run a sync, and keep an eye on it
over the next few days.

Thanks also, for all the help with this :-)

Not at all - teamwork!

Actions

Also available in: Atom PDF