Skip to content

Conversation

@elelaysh
Copy link
Contributor

@elelaysh elelaysh commented Jan 7, 2026

This PR builds upon #2025.

  • it provides an updated overcloud host image and containers based on RockyLinux 9.7;
  • cadvisor is updated to 0.54.1 to fix vulnerabitilities;
  • opensearch-dashboards is updated to 2.19.4 to fix vulnerabilities.

elelaysh and others added 12 commits January 5, 2026 14:47
- DOCA 3.2.1 for RL 9.7
- Bump Rocky 9 Security SIG repo, add source
The modules path remains specific to minor releases.
Remove DOCA 3.2.0: a single version is enough for RL 9.7
to fix multiple vulnerabilities
to see which sources are downloaded before docker build
to accomodate temporary errors from ark (was getting a 500 error)
CVE-2025-68428 is still present in opensearch-dashboards 2.19.4
because jspdf is still in version 3.0.1
Bumped opensearch-dashboard to 2.19.4 fixed CVE-2025-7783
@elelaysh elelaysh requested a review from a team as a code owner January 7, 2026 09:01
Copy link
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 updates the overcloud host image and containers to use RockyLinux 9.7. The changes primarily involve updating version tags and repository configurations. I've identified a few areas for improvement. There's some duplicated logic for determining DOCA distribution strings across configuration files, which I've suggested refactoring for better maintainability. Additionally, I've flagged a potentially invalid CVE identifier in the Trivy allow-list which could impact security scanning.

Comment on lines 18 to 19
doca_distribution: "{% if stackhpc_pulp_doca_version is version('3.2.0', '>=') %}rhel9{% else %}rhel9_{{ stackhpc_pulp_repo_rocky_9_minor_version }}{% endif %}"
doca_version_lookup_var: "stackhpc_pulp_repo_doca_{{ stackhpc_pulp_doca_version | replace('.', '_') }}_{{ doca_distribution }}_version"
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

To avoid duplicating logic for determining the DOCA distribution string in etc/kayobe/stackhpc.yml, you could define a reusable variable here and use it in both places. This improves maintainability by having a single source of truth.

I'll add another comment in etc/kayobe/stackhpc.yml showing how to use the new variable.

doca_distribution_path_part: "{% if stackhpc_pulp_doca_version is version('3.2.0', '>=') %}rhel9{% else %}rhel9.{{ stackhpc_pulp_repo_rocky_9_minor_version }}{% endif %}"
doca_distribution: "{{ doca_distribution_path_part | replace('.', '_') }}"
doca_version_lookup_var: "stackhpc_pulp_repo_doca_{{ stackhpc_pulp_doca_version | replace('.', '_') }}_{{ doca_distribution }}_version"


# DOCA
stackhpc_repo_rhel9_doca_url: "{{ stackhpc_repo_mirror_url }}/pulp/content/doca/{{ stackhpc_pulp_doca_version }}/rhel9.{{ stackhpc_pulp_repo_rocky_9_minor_version }}/x86_64/{{ stackhpc_repo_rhel9_doca_version }}"
stackhpc_doca_distribution: "{% if stackhpc_pulp_doca_version is version('3.2.0', '>=') %}rhel9{% else %}rhel9.{{ stackhpc_pulp_repo_rocky_9_minor_version }}{% endif %}"
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

This logic is duplicated from etc/kayobe/ofed.yml. To follow the DRY (Don't Repeat Yourself) principle, you can use the doca_distribution_path_part variable defined in ofed.yml (as per my other comment). This makes the configuration easier to maintain.

stackhpc_doca_distribution: "{{ doca_distribution_path_part }}"

@elelaysh
Copy link
Contributor Author

elelaysh commented Jan 7, 2026

@elelaysh
Copy link
Contributor Author

elelaysh commented Jan 7, 2026

Successful tempest OVS after upgrade

Ran: 334 tests in 1306.978 sec.
 - Success: 258
 - Skipped: 76
 - Expected failures: 0
 - Unexpected success: 0
 - Failures: 0

Manual inspection : ok

removes the RockyLinux minor version in the name and path
when DOCA version is greater than 3.2.0.
Doesn't apply to DOCA modules because they are still compiled
for a specific RL minor version.
@elelaysh
Copy link
Contributor Author

elelaysh commented Jan 8, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants