Repository navigation
container: select the EPEL branch matching the base image's minor - #73785
Merged
Merged
Conversation
EPEL 10 is branched per RHEL minor. Rocky's epel-release follows the "z" alias (newest RHEL minor), so each RHEL GA moves EPEL ahead of the Rocky base image until Rocky rebuilds, and EPEL packages built against the newer minor stop installing. Rewrite the epel metalinks to epel-$releasever_major.$releasever_minor so EPEL follows the base image. Assisted-by: Claude Fable 5.1 Signed-off-by: David Galloway <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
EPEL 10 is branched per RHEL minor. Rocky's epel-release resolves to the `10z` alias (newest RHEL minor). When RHEL 10.3 went GA on 2026-11-11, Fedora moved `10z` to 10.3 while the `rockylinux:10` image is still 10.2, so every rocky10 container build in ceph-dev-pipeline since then fails with:
Rocky 10.2 ships cryptography 43; EPEL 10.3's pyOpenSSL needs 49. The same thing will happen on every future RHEL minor until Rocky catches up.
Rewrite the epel metalinks to
epel-$releasever_major.$releasever_minor, which dnf derives from the installed rocky-release, so EPEL always matches the base image and moves with it whenrockylinux:10becomes 10.3. CentOS Stream is untouched (no minor,epel-10already correct). Older minors remain resolvable through the archive mirrors.Verified in a local
rockylinux:10container: after the rewrite the epel repo resolves to/epel/10.2/, pyOpenSSL 25.0.0-1.el10_1 is offered anddnf install python3-pyOpenSSL python3-cherootsucceeds. The rewrite also handles Fedora's epel-release template (${stream:+s}), which is what ceph-build's builder container installs.Related: https://tracker.ceph.com/issues/82884 (same mismatch on Sepia testnodes, fixed in ceph-cm-ansible #906).
Checklist