Repository navigation
MOD-20897 Map RHEL 10 compatible distros to rhel10 - #118
Merged
Merged
Conversation
Packages built on Rocky Linux 10 (and other RHEL 10 rebuilds) record "operating_systems": ["rocky10"], because RLEC_OS_MAP stops at version 9. Redis Enterprise refuses to upload a module whose operating_systems list does not include the node's OS, and a RHEL 10 node reports rhel10, so those packages cannot be installed. Add the version 10 entries alongside the existing 8 and 9 ones. Co-Authored-By: Claude Opus 5.5 <[email protected]>
get_curr_os() already falls back to the OS name when it has no entry. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 of 4 tasks
GuyAv46
approved these changes
Nov 15, 2026
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.
Map the RHEL 10 rebuilds (
rocky10,centos10,almalinux10,oracle10) torhel10inRLEC_OS_MAP, matching the existing 8 and 9 entries. RHEL itself already reportsrhel10and needs no entry.Without the entries, a package built on Rocky Linux 10 records
"operating_systems": ["rocky10"]. Redis Enterprise checks that list against the node's OS (rhel10on a RHEL 10 node) at upload, and refuses the module.This only affects builds that read the OS through
distro. Builds in an rs-devcontainer use/etc/devcontainerinstead and are unchanged.Checked by hand:
get_curr_os()run against the real/etc/os-releasefromrockylinux/rockylinux:10andubi10:10.0now returnsrhel10, and Rocky 9 and UBI 9 still returnrhel9. A unit test covers the new entries.Needed for MOD-20897 (RediSearch on RHEL 10). A release, then a
ramp-packerpin bump in RediSearch, follow.Companion to RediSearch/RediSearch#12322, which names the same packages
Linux-rhel10-*.🤖 Generated with Claude Code
Note
Low Risk
Small metadata mapping change with no auth or runtime logic; only affects OS labeling for modules built via
distrodetection.Overview
Extends
RLEC_OS_MAPso Rocky, CentOS, AlmaLinux, and Oracle 10 normalize torhel10inget_curr_os(), matching the existing RHEL 8/9 rebuild behavior.Without this, modules built on those distros record
operating_systemslikerocky10and can be rejected on RHEL 10 nodes during upload. Devcontainer-based builds are unchanged because they read/etc/devcontainerinstead ofdistro.Adds a unit test (
test_maps_rhel_compatible_distros_to_rhel) for RHEL 9/10 and the new RHEL 10 mappings.Reviewed by Cursor Bugbot for commit e931391. Bugbot is set up for automated code reviews on this repo. Configure here.