roles/bodhi2: Set EPEL to use zstd repodata and disable unusable features #2391
No reviewers
Labels
No labels
freeze-break-request
post-freeze
No milestone
No project
No assignees
6 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Infrastructure/ansible#2391
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "zstd-epelrepodata"
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?
Zstd repodata support was introduced in DNF quite some time ago, and
is quite a bit faster and less resource intensive.
Additionally, there is no point in producing sqlmd or DeltaRPMs when
support for both has been removed from RHEL for a fair bit of time.
Regardless, we should leave things mostly as-is for EPEL 9, and thus
we retain older xz compression settings for that.
Signed-off-by: Neal Gompa ngompa@fedoraproject.org
Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/a0b5a3de387742589470c9c9d9c4b4ec
I think we should just drop the
[prefix.FEDORA-EPEL-NEXT]
section. We're not creating any more and the only one still active is EPEL-9N, so we can just set the the options for that one. While we're at it we can drop the[release.EPEL-8N]
section since it's already retired.If I'm reading this right, this will be changing EPEL-9 from
compatibility = True
tocompatibility = False
. If we want to keep that the same we'll need an override in this section.If you want to retain settings for EPEL-9 / EPEL-9N just copy the existing lines of prefix.FEDORA-EPEL section in two release.EPEL-9 / release.EPEL-9N sections, then changes in prefix.FEDORA-EPEL will apply only to EPEL-10.
Note that AFAIK the
compatibility=True
flag will override the following settings to:You can only change them if
compatibility=False
.I turned compatibility to False because shipping sqlmd is pointless for EPEL 9 since nothing supports it.
rebased onto
1bb258138d
Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/2d332d3106514fa3be2163a90fd5cca8
So, to summarize, this:
drops sqlite_enabled for epel9 / epel9-next
switches epel10 to zstd
I think dropping sqlite might be fine for epel9/epel9-next.
Note that switching epel10 to zstd means rhel8/9 hosts can't mergerepo_c / createrepo_c those repos because it doesn't understand zstd).
( https://issues.redhat.com/browse/RHEL-67689 )
So that might be something to run by the EPEL sig?
Fedora infrastructure doesn't run repository generation on RHEL, does it?
No, but there's external folks who do... possibly centos?
CBS runs on RHEL 9 machines I believe. I guess that means we need a patched createrepo for CBS infrastructure?
FYI: @arrfab
I confirm that builders behind cbs.centos.org are all migrated to RHEL9 and so are using
createrepo_c-0.20.1-2.el9.x86_64
Yeah, rhel8/9 createrepo_c doesn't have zstd support (yet).
https://issues.redhat.com/browse/RHEL-67689
There is rhel/stream createrepo_c with zstd enabled at https://copr.fedorainfracloud.org/coprs/amatej/createrepo_c/
Currently Fedora 41 updates and now rawhide are using zstd.
Ideally we would wait for rhel8/9/stream8/9 to update ctreaterepo_c to support it before moving epel... but if thats going to be a long time or never, perhaps we don't wait.
Some further notes. mdapi breaks without sqlite. ;( @t0xic0der is working on a replacement application that can do xml.
The createrepo_c for rhel9 is still showing in progress: https://issues.redhat.com/browse/RHEL-67689
I don't know the status on stream9
So should we just drop this for now? Or push to get rhel9/stream9 at least with a createrepo_c/mergerepos_c that works before we do?
We can turn back on the sqlmd for the time being? And that should be okay for everything.
rebased onto
715567cb9f
I've turned back on SQLite metadata generation.
Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/acf011060e9448c3a1ceb1b8428f3ced
LGTM
This doesn't help rhel9 mergerepo_c... I guess thats going to be fixed in the next release?
Indeed that createrepo_c issue has "Fix Version/s: rhel-9.7", so we likely won't see that fix until the fall. That said, the mergerepo_c problem with mirroring repos using zstd is already a problem with Fedora, so I'm not sure it's worth worrying about for EPEL 10.
Another way we could go about this is set the EPEL default to zstd, and put in stanzas to keep using gz (or switch to xz) for 10.0 and 10.1, and then let 10.2 use the default zstd.
Created epel#330 to tag this for the ESC meeting.
rebased onto
5d1e014ccd
ESC said go ahead, so...
Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/84a51d21415d4cae98d71aaf4c24ece6
Pull-Request has been merged by kevin