EPEL minor version archive repos in MirrorManager #11968
Labels
No labels
announcement
anubis
authentication
aws
backlog
blocked
bodhi
ci
cloud
communishift
copr
database
day-to-day
dc-move
deprecated
dev
discourse
dns
downloads
easyfix
epel
firmitas
forgejo_migration
Gain
High
Gain
Low
Gain
Medium
gitlab
greenwave
hardware
help wanted
high-trouble
koji
koschei
lists
low-trouble
medium-trouble
mirrorlists
monitoring
Needs investigation
odcs
OpenShift
ops
outage
packager_workflow_blocker
pagure
permissions
Priority
Needs Review
Priority
Next Meeting
Priority
🔥 URGENT 🔥
Priority
Waiting on Assignee
Priority
Waiting on External
Priority
Waiting on Reporter
rabbitmq
release-monitoring
releng
request-for-resources
s390x
security
SMTP
sprint-0
sprint-1
src.fp.o
staging
unfreeze
waiverdb
websites-general
wiki
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
7 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
infra/tickets#11968
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe what you would like us to do:
Old major versions of EPEL such as EPEL 6 are available in the Fedora archive, and have repos set up in MirrorManager to point users who request them to mirrors of the Fedora archive. It would be beneficial for some EPEL users, including users of RHEL EUS, to also get old minor versions the same way. While EPEL doesn't currently have minor versions, snapshots that emulate the minor versions (i.e. only contain packages that were compatible with a RHEL minor version) do already exist in the Fedora archive.
I would like for MirrorManager to respond with minor version paths in the mirrored archives if a user requests an EPEL minor version. For example:
epel-8.8, they are returned a list of mirrors with the/pub/archive/epel/8.8/pathepel-9.2, they are returned a list of mirrors with the/pub/archive/epel/9.2/pathThe list of minor versions we have EPEL snapshots for can be viewed here. Ideally we would set up MirrorManager responses for each of these.
When do you need this to be done by? (YYYY/MM/DD)
No deadline, this is a nice to have that isn't currently blocking anything. I will note that the status quo has an load impact on the main archive.fpo server(s). Currently when users want to set this up, the most common course of action taken is directly configuring their systems to use a baseurl pointing at archive.fpo. Having the EPEL minor versions in MirrorManager will spread that load to the mirror network. It will also remove the need for users of RHEL EUS to manually configure their baseurl this way.
Metadata Update from @adrian:
I will take a look at it.
It has come to my attention that this was suggested previously, and there were some mixed feelings about it. I'm going to stick it on the agenda for the next EPEL Steering Committee meeting (two days from now) to make sure the committee members have a chance to voice their concerns before we move forward. Please put this on hold until then.
Metadata Update from @phsmoura:
I brought this up at the committee meeting today. No one seemed opposed to it, but since I didn't file an issue until the day of the meeting, the consensus was to leave it open for a week to allow time for comments, and then vote on it next week.
https://pagure.io/epel/issue/278
Today the committee approved implementing this. We can proceed with adding the minor versions we have snapshots for (everything except 8.0, 8.6, and 9.0).
@carlwgeorge
I created one repository as a test. Please try:
Following steps where necessary on the database level. First figure out the ID of the directory:
then get the product ID:
The create a new version:
With all that information it should now be possible to create the repository:
I can confirm that curl works as expected. My only question is, should we be using the date directories like 8.8.2023-11-14 instead of just 8.8?
I would say no, the date ones are there to indicate when the archive was made, for mm, the minor release should be just fine...
I've created the repos in Mirrormanager, they all seem to work except 8.3, 8.4, and 8.5. I'm going to investigate why, but probably tomorrow.
For posterity, here is the error I'm seeing with those three releases.
Any news here on those last archives?
We also need to add the recently archived 9.4 as well.
https://dl.fedoraproject.org/pub/archive/epel/9.4-2024-11-12/
This just came up over in the discussion forum.
https://discussion.fedoraproject.org/t/two-rhel-9-4-systems-one-produces-404-errors-for-epel-repositories/139130
Hey! I looked back at this issue, and I think there are two issues:
/srv/pub/archive/fullfiletimelist-archive"pub/archive/epel/[\\d\\.-]+/Everything/.*"is not in thescan-primary-mirror.toml(that's something I can fix)Also, those directories are currently in the
EPELcategory in MirrorManager. Should they be put in theFedora Archivecategory?Updated the archive fullfiletimelist... ( by running: time sudo -u ftpsync /usr/local/bin/update-fullfiletimelist -l /pub/fedora-secondary/update-fullfiletimelist.lock -t /pub archive on bodhi-backend01)
And yeah, they should probibly be in Fedora Archive.
The EPEL 9.x repositories are created manually in the database. We do not try to detect anything in
archive/to not conflict with something.The idea was that once the files have been detected and are added to the database the repository needs to be added manually using SQL. At least that is how I remember the discussion. It was a 9.x only thing that is why we thought there is no need to automate it. Especially as we do not want any MirrorManager repositories created from archive content.
I tried to add it to the database:
Thanks! I'll move them to the
Fedora Archivecategory then.Not necessary. They have been created in the archive category. This should be solved now for 9.4. We need to do it again once 9.5 is archived.
Not sure I understand, in your SQL paste
category_id4 is EPEL, Fedora archive iscategory_id12.Ah, maybe I selected the wrong id, thanks. Let me check.
You already changed it. Good. Thank you. I was just following my old example which seems to have used the wrong ID. I did not check it.
What is left to do here?
Everything seems to be in order except for 8.3, 8.4, and 8.5. Those still return the error I mentioned here.
Any news here? Or still those errors?
I created pub/archive/epel/9.5-2025-05-13 and pub/archive/epel/testing/9.5-2025-05-13 today. Is there a way I can add these to mirrormanager myself? I tried the create repository button in the admin panel, but it results in a 500 Internal Server Error.
Any news here?
The errors are still the same for 8.3, 8.4, and 8.5.
I created pub/archive/epel/9.6-2025-11-11 and pub/archive/epel/testing/9.6-2025-11-11 today, which like 9.5-2025-05-13 also need to be added.
@carlwgeorge Do you see the same problem with EPEL 9 or EPEL 10 as well?
@zlopez only those 3 reproduce that behaviour
I created pub/archive/epel/9.7-2026-05-19 and pub/archive/epel/testing/9.7-2026-05-19 today, which like 9.5-2025-05-13 and 9.6-2025-11-11 also need to be added.