action #62546
closedold files kept in pontifex2:/srv/ftp/pub/opensuse/distribution/leap/15.2/repo/oss/
Description
I found that there are many old files kept in pontifex2:/srv/ftp/pub/opensuse/distribution/leap/15.2/repo/oss/
time ls -l /srv/ftp/pub/opensuse/distribution/leap/15.2/repo/oss/x86_64/|wc
111800 1006193 10718652
real 1m18.951s
user 0m1.206s
sys 0m2.576s
vs the 20 k files in 15.1
OBS team (Marco) said, they upload their files to pontifex2 and there is only the latest version in the upload dir.
Updated by lnussel almost 5 years ago
- Assignee changed from lnussel to lkocman
the cleanup script is probably not set up correctly
Updated by lkocman almost 5 years ago
Thank you very much for reporting this issue. I've forwarded it to heroes@opensuse.org as I currently don't have ssh access there (requested right away via infra@suse.de).
Updated by pjessen almost 5 years ago
Hi Lubos
I think it might be an rsync option on the sending side? Granted, I am not intimately familiar with everything that happens on download.o.o, but I don't remember fiddling with any such cleanup for leap 15.1.
Updated by pjessen almost 5 years ago
pjessen wrote:
Hi Lubos
I think it might be an rsync option on the sending side? Granted, I am not intimately familiar with everything that happens on download.o.o, but I don't remember fiddling with any such cleanup for leap 15.1.
Missing a -delete{-after,-before} option maybe ?
Updated by lkocman almost 5 years ago
Yes that's what I was thinking about as well. Let me find out what tool/script is calling rsync.
Updated by lkocman almost 5 years ago
Seems like the publisher is owned by OBS team. I did create a github issue and pinged team on #dist https://github.com/openSUSE/open-build-service/issues/9097
Updated by lnussel almost 5 years ago
It's https://github.com/openSUSE/publish_distro in ~mirror and not OBS' fault. Unfortunately github doesn't let me comment on the issue. You can close it. The problem is on pontifex side.
Updated by lkocman almost 5 years ago
- Status changed from New to Resolved
Response from Rudi
Lubos Kocman looks like you are aware, just to make sure. OBS already syncs to the staging area on pontifex with --delete, the problem was local on pontifex where the cleanup after syncing from stage to prime was missing (normally it deletes the older files after 3 days). I think we fixed the issue yesterday evening, so the next cleanup should run in the normal schedule in two days now
So I take that it's resolved.