Skip to content

Build DOCA-OFED kernel modules for Rocky 10#2310

Draft
owenjones wants to merge 3 commits into
stackhpc/2025.1from
rl10/doca-ofed
Draft

Build DOCA-OFED kernel modules for Rocky 10#2310
owenjones wants to merge 3 commits into
stackhpc/2025.1from
rl10/doca-ofed

Conversation

@owenjones
Copy link
Copy Markdown
Member

DOCA OFED support has now been added for Rocky 10

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces support for DOCA OFED on Rocky Linux 10 for both x86_64 and aarch64 architectures. The changes involve updating repository configurations, kernel version matrices, and adding retry logic for Pulp-related tasks. Feedback focuses on improving maintainability and consistency by replacing hardcoded version strings with variables in repository definitions and variable names. Additionally, it is recommended to use kolla_base_arch instead of os_arch in push-ofed.yml to ensure correct repository selection during cross-architecture builds and to maintain consistency in failure messages.

Comment thread etc/kayobe/ansible/tools/push-ofed.yml
Comment thread etc/kayobe/ansible/tools/push-ofed.yml
Comment thread etc/kayobe/dnf.yml Outdated
Comment thread etc/kayobe/dnf.yml Outdated
Comment thread etc/kayobe/ofed.yml Outdated
Comment thread etc/kayobe/ofed.yml Outdated
Comment thread etc/kayobe/pulp.yml Outdated
@owenjones
Copy link
Copy Markdown
Member Author

/gemini review

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces support for DOCA OFED on Rocky Linux 10 for both x86_64 and aarch64 architectures. Key changes include updating the DOCA version matrix, refactoring repository lookups to be more dynamic, and adding Pulp repository configurations and DNF custom repositories for RHEL 10. Feedback focuses on correcting the use of non-standard architecture variables, ensuring Ansible retry logic is correctly implemented with 'until' and 'delay' parameters, and utilizing generic version variables in repository URLs to improve maintainability.

Comment thread etc/kayobe/ansible/tools/push-ofed.yml
Comment thread etc/kayobe/ansible/tools/push-ofed.yml
Comment thread etc/kayobe/ansible/tools/push-ofed.yml
Comment thread etc/kayobe/pulp.yml Outdated
Comment thread etc/kayobe/pulp.yml Outdated
owenjones added 3 commits May 22, 2026 14:25
We build DOCA-OFED Kernel Modules for both x86_64 and aarch64 at the
same time to ensure they're both on the same kernel - we need to keep
Rocky repositories for both architectures in sync. for this to ensure
we have necessary kernel-devel packages for the target kernel
available in both.
DOCA OFED support has now been added for Rocky 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants