added rhel9.8 support for pf9ctl - #429
Merged
Merged
Conversation
badrinath-pf9
previously approved these changes
Sep 21, 2026
added 2 commits
September 21, 2026 15:33
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
hemant300720
force-pushed
the
private/hemant/PMK-6968-rhel9-support
branch
from
September 21, 2026 10:04
9432a17 to
515b901
Compare
badrinath-pf9
approved these changes
Sep 28, 2026
deepak07dbz
approved these changes
Sep 28, 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.
ISSUE(S):
PMK-6968: Add support for RHEL9 in pf9ctl for PMK 5.18
SUMMARY
Adds RHEL 9.8 as a supported OS for
pf9ctl.pkg/platform/centos/centos.goVersion(): widened the RHEL/Rocky 9.x regex from9.[1-5]to9.([1-5]|8)so RHEL 9.8 is recognized (Rocky's existing9.1-9.5range is unchanged).CheckOSPackages(): same regex widening on therocky9version check driving package-name substitution.CheckEnabledRepos(): added a newrhel9branch (previously onlycentos/rhel8were handled) that enablesrhel-9-for-x86_64-baseos-rpms/rhel-9-for-x86_64-appstream-rpmsviasubscription-manager, mirroring the existing RHEL8 logic.pkg/pmk/checkNode.go: updated the "OS not supported" error message to includeRHEL 9.8.ISSUE TYPE
IMPACTED FEATURES/COMPONENTS:
pf9ctl check-node/prep-nodeOS detection and package/repo checks for RHEL/Rocky family hosts.RELATED ISSUE(S):
pf9ctl,pf9-hostagent,pf9-kube,pf9-comms). No equivalent issues hit yet for RHEL9 beyondpf9ctl.DEPENDS ON:
None
TESTING DONE
Automated
go build ./...and full existing test suite (go test ./...) pass with no regressions.private/hemant/PMK-6968-rhel9-support, commit9675e41) — 127 tests passed.Manual
Ran end-to-end onboarding against a real RHEL 9.8 VM (
test-rhel89-image,VERSION_ID="9.8") using the exact binary built by TeamCity build #1250 (verified via matching SHA-256 checksum), onboarded to DUtest-du-qbert-bare-os-u20-5092390.platform9.horse:Confirms
Required OS Packages CheckandRequired Enabled Repositories Check(the new RHEL9subscription-managerrepo-enable branch) both pass on real RHEL 9.8, and the host successfully attaches to the control plane. Cluster creation /pf9-kuberole installation on RHEL 9.8 has not yet been validated beyond onboarding.Reviewers