Skip to content

RockyLinux 10 support (experimental)#12355

Merged
k8s-ci-robot merged 6 commits intokubernetes-sigs:masterfrom
tico88612:feat/rocky-10-support
Jan 5, 2026
Merged

RockyLinux 10 support (experimental)#12355
k8s-ci-robot merged 6 commits intokubernetes-sigs:masterfrom
tico88612:feat/rocky-10-support

Conversation

@tico88612
Copy link
Copy Markdown
Member

@tico88612 tico88612 commented Jun 29, 2025

What type of PR is this?

/kind feature

What this PR does / why we need it:

Add Rocky Linux 10 support

Which issue(s) this PR fixes:

Fixes #12253

Special notes for your reviewer:

Add image first.

Does this PR introduce a user-facing change?:

RockyLinux 10 support (experimental)

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/feature Categorizes issue or PR as related to a new feature. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jun 29, 2025
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tico88612

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 29, 2025
@k8s-ci-robot k8s-ci-robot requested review from ant31 and yankay June 29, 2025 11:47
@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jun 29, 2025
@tico88612 tico88612 force-pushed the feat/rocky-10-support branch 3 times, most recently from 49e73a1 to baa5fa5 Compare June 30, 2025 01:04
@yankay
Copy link
Copy Markdown
Member

yankay commented Jul 7, 2025

@VannTen
Copy link
Copy Markdown
Contributor

VannTen commented Jul 7, 2025

/retest-failed

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 7, 2025
@tico88612 tico88612 force-pushed the feat/rocky-10-support branch from baa5fa5 to 60d619a Compare July 7, 2025 14:42
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 7, 2025
@tico88612 tico88612 force-pushed the feat/rocky-10-support branch 2 times, most recently from 15bdcc1 to 8aa01a1 Compare July 16, 2025 00:26
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 16, 2025
@tico88612
Copy link
Copy Markdown
Member Author

/retest

@tico88612 tico88612 force-pushed the feat/rocky-10-support branch 3 times, most recently from d0b18fc to d2029c1 Compare July 20, 2025 05:58
@tico88612
Copy link
Copy Markdown
Member Author

/label tide/merge-method-merge

@VannTen, could you take a look at the package installation? kernel-modules-extra needs to align with the OS kernel version, I'm not sure system_package can use a dynamic package name.

@k8s-ci-robot k8s-ci-robot added the tide/merge-method-merge Denotes a PR that should use a standard merge by tide when it merges. label Jul 20, 2025
@tico88612 tico88612 force-pushed the feat/rocky-10-support branch from d2029c1 to 4592257 Compare August 13, 2025 12:44
@VannTen
Copy link
Copy Markdown
Contributor

VannTen commented Aug 18, 2025

@VannTen, could you take a look at the package installation? kernel-modules-extra needs to align with the OS kernel version, I'm not sure system_package can use a dynamic package name

Hum, isn't there a meta-package or something like that which would let us not use the version in the name ? This looks like we would keep extraneous package whenever the kernel version would change, and since ansible_kernel is probably the running kernel and not the installed one (like, just after an upgrade but before a reboot) I'm not even sure we would install the correct one...

(If there is not... RHEL is kinda insane ? 🤔 or maybe that's me)

@VannTen
Copy link
Copy Markdown
Contributor

VannTen commented Aug 18, 2025

https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html-single/managing_monitoring_and_updating_the_kernel/index

The docs does not seem to expect administrators to specify a version, AFAICT.

@yankay
Copy link
Copy Markdown
Member

yankay commented Nov 17, 2025

How about merging it to move things forward, and creating an issue for better addressing potential problems?
It's LGTM

@VannTen
Copy link
Copy Markdown
Contributor

VannTen commented Nov 21, 2025

I would not enter in the teritory of rebooting and deep node administration.

1. we precheck -> fail, and explain how they could solve it

2. For ci it's different scenario, we can assume they did what was asked (so CI does it too automatically) and then test it.

In short, I suggest we automate the steps in the CI, but to not include it as part of core-kubespray.

Yeah, lets go that route, document then and assume the latest version.

It's a bit tricky to pre-check, I don't think we have a way to know ahead of time if the kernel-modules-extra will match the kernel ? I'd do it with a failed_when on the system_pkgs stuff which search for the version kernel-modules-extra and match it with ansible_kernel, but maybe that's too much ?

@tico88612
Copy link
Copy Markdown
Member Author

Or what if we add kernel-modules-extra to our Rocky 10 image?

@tico88612 tico88612 force-pushed the feat/rocky-10-support branch from 4aef24e to 1274cd2 Compare December 31, 2025 08:34
@VannTen
Copy link
Copy Markdown
Contributor

VannTen commented Jan 2, 2026

Yeah, adding it to the image works.

Maybe we can just go without a check, make the support experimental, and handle the installation without kernel-modules-extra in a follow-up ? (maybe with package_facts ? 🤔 )

@tico88612
Copy link
Copy Markdown
Member Author

tico88612 commented Jan 2, 2026

Ok, I'll make sure to note here.

Create package-installs.yaml

kernel-modules-extra:
cloud-utils-growpart:
firewalld: # if can't uninstall firewalld, please use customize element and `dnf remove firewalld`
  uninstall: True

Rocky Linux 10 with dib (diskimage-builder)
DIB_RELEASE=10 DIB_IMAGE_EXTRA_SIZE=10240 DIB_CLOUD_INIT_GROWPART_DEVICES=/dev/vda1 disk-image-create -o rockylinux-10-extra -t qcow2 rocky-container vm cloud-init cloud-init-growpart package-installs

tico88612 added a commit to tico88612/kubespray that referenced this pull request Jan 2, 2026
How to build RockyLinux 10 + `kernel-module-extra` with dib
kubernetes-sigs#12355 (comment)

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
@tico88612 tico88612 force-pushed the feat/rocky-10-support branch from 1274cd2 to 968315a Compare January 2, 2026 14:15
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
How to build RockyLinux 10 + `kernel-module-extra` with dib
kubernetes-sigs#12355 (comment)

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
@tico88612 tico88612 force-pushed the feat/rocky-10-support branch from 968315a to 9c51106 Compare January 2, 2026 15:10
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
@tico88612 tico88612 force-pushed the feat/rocky-10-support branch from 38e4f75 to 1355678 Compare January 3, 2026 07:27
@tico88612
Copy link
Copy Markdown
Member Author

/retest-failed

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
@tico88612 tico88612 force-pushed the feat/rocky-10-support branch from 1355678 to 5be35c8 Compare January 3, 2026 07:42
@tico88612
Copy link
Copy Markdown
Member Author

/retest-failed

@tico88612 tico88612 changed the title RockyLinux 10 support RockyLinux 10 support (experimental) Jan 3, 2026
@tico88612
Copy link
Copy Markdown
Member Author

Finally fixed the Rocky Linux 10 image, and CI is passed. I would really appreciate it if someone could take a look at this.

@yankay
Copy link
Copy Markdown
Member

yankay commented Jan 4, 2026

Thanks @tico88612
Happy new year
LGTM

@VannTen
Copy link
Copy Markdown
Contributor

VannTen commented Jan 5, 2026

/lgtm

Thanks for the persistence !

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 5, 2026
@k8s-ci-robot k8s-ci-robot merged commit c9ff629 into kubernetes-sigs:master Jan 5, 2026
48 checks passed
@tico88612 tico88612 deleted the feat/rocky-10-support branch January 6, 2026 03:18
Bafbi pushed a commit to Bafbi/kubespray that referenced this pull request Jan 12, 2026
How to build RockyLinux 10 + `kernel-module-extra` with dib
kubernetes-sigs#12355 (comment)

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. tide/merge-method-merge Denotes a PR that should use a standard merge by tide when it merges.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add RHEL10 + variants support

10 participants