Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions etc/kayobe/ofed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

###############################################################################
# DOCA host version
stackhpc_pulp_doca_version: "{{ '2.9.3' if stackhpc_pulp_repo_rocky_9_minor_version == '6' else '2.9.1' }}"
stackhpc_pulp_doca_version_matrix:
"6": 2.9.3
"7": 3.2.1
stackhpc_pulp_doca_version: "{{ stackhpc_pulp_doca_version_matrix[stackhpc_pulp_repo_rocky_9_minor_version] | default('2.9.1') }}"

###############################################################################
# Pulp configuration for DOCA OFED
Expand All @@ -12,7 +15,8 @@ stackhpc_pulp_doca_version: "{{ '2.9.3' if stackhpc_pulp_repo_rocky_9_minor_vers
stackhpc_pulp_sync_ofed: "{{ groups['mlnx'] | length > 0 }}"

# DOCA Snapshot lookup vars
doca_version_lookup_var: "stackhpc_pulp_repo_doca_{{ stackhpc_pulp_doca_version | replace('.', '_') }}_rhel9_{{ stackhpc_pulp_repo_rocky_9_minor_version }}_version"
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"
doca_modules_version_lookup_var: "stackhpc_pulp_repo_doca_{{ stackhpc_pulp_doca_version | replace('.', '_') }}_rhel9_{{ stackhpc_pulp_repo_rocky_9_minor_version }}_modules_version"

# DOCA Snapshot versions. The defaults use the appropriate version from
Expand Down
23 changes: 21 additions & 2 deletions etc/kayobe/pulp-repo-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ stackhpc_pulp_repo_doca_2_9_1_rhel9_5_version: 20241211T171301
stackhpc_pulp_repo_doca_2_9_1_rhel9_5_modules_version: 20250115T150314
stackhpc_pulp_repo_doca_2_9_3_rhel9_6_version: 20250703T135021
stackhpc_pulp_repo_doca_2_9_3_rhel9_6_modules_version: 20250714T141841
stackhpc_pulp_repo_doca_3_2_0_rhel9_version: 20251204T124815
Copy link
Member

Choose a reason for hiding this comment

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

This will fail with No variable found with this name: stackhpc_pulp_repo_doca_2_9_1_rhel9_7_version, see https://github.com/stackhpc/stackhpc-kayobe-config/blob/stackhpc/2025.1/etc/kayobe/ofed.yml#L15

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thank you Piotr. I'll provide a fix shortly

Copy link
Contributor Author

Choose a reason for hiding this comment

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

see doca_distribution in etc/kayobe/ofed.yml

Copy link
Member

Choose a reason for hiding this comment

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

Looks like we're still missing the modules:

No variable found with this name: stackhpc_pulp_repo_doca_3_2_1_rhel9_modules_version

Copy link
Member

Choose a reason for hiding this comment

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

@cityofships Can you check if it is better now?

Copy link
Member

Choose a reason for hiding this comment

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

The baseurl is set to something different:

FAILED - RETRYING: [localhost]: Sync RPM remotes into repositories (3 retries left).
FAILED - RETRYING: [localhost]: Sync RPM remotes into repositories (2 retries left).
FAILED - RETRYING: [localhost]: Sync RPM remotes into repositories (1 retries left).
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: Exception: Task failed to complete. (failed; 404, message='Not Found', url=URL('https://ark.stackhpc.com/pulp/content/doca/3.2.1/rhel9.7/x86_64/20251219T132023'))
failed: [localhost] (item=DOCA Online Repo 3.2.1 - RHEL 9.7) =>
    ansible_index_var: repository_index
    ansible_loop_var: item
    attempts: 3
    changed: false
    item: DOCA Online Repo 3.2.1 - RHEL 9.7
    msg: Task failed to complete. (failed; 404, message='Not Found', url=URL('https://ark.stackhpc.com/pulp/content/doca/3.2.1/rhel9.7/x86_64/20251219T132023'))
    repository_index: 9

After fixing it:

Error:
 Problem 1: package iser-dkms-25.10-OFED.25.10.1.7.1.1.el9.x86_64 from doca obsoletes kmod-iser < 25.10-OFED.25.10.1.7.1.1.el9 provided by kmod-iser-24.10-OFED.24.10.3.2.5.1.1.x86_64 from @System
  - package doca-ofed-3.2.1-044000.x86_64 from doca requires iser-dkms >= 25.10-OFED.25.10.1.7.1.1.el9, but none of the providers can be installed
  - cannot install the best update candidate for package kmod-iser-24.10-OFED.24.10.3.2.5.1.1.x86_64
  - cannot install the best update candidate for package doca-ofed-2.9.3-0.2.2.x86_64
 Problem 2: problem with installed package doca-ofed-2.9.3-0.2.2.x86_64
  - package doca-ofed-3.2.1-044000.x86_64 from doca requires isert-dkms >= 25.10-OFED.25.10.1.7.1.1.el9, but none of the providers can be installed
  - package doca-ofed-2.9.3-0.2.2.x86_64 from @System requires hcoll >= 4.8.3230-1.2410068, but none of the providers can be installed
  - package isert-dkms-25.10-OFED.25.10.1.7.1.1.el9.x86_64 from doca obsoletes kmod-isert < 25.10-OFED.25.10.1.7.1.1.el9 provided by kmod-isert-24.10-OFED.24.10.3.2.5.1.1.x86_64 from @System
  - package doca-ofed-userspace-3.2.1-044000.x86_64 from doca conflicts with hcoll < 4.8.3233 provided by hcoll-4.8.3230-1.2410068.x86_64 from @System
  - package doca-ofed-userspace-3.2.1-044000.x86_64 from doca obsoletes hcoll < 4.8.3233 provided by hcoll-4.8.3230-1.2410068.x86_64 from @System
  - cannot install the best update candidate for package kmod-isert-24.10-OFED.24.10.3.2.5.1.1.x86_64
  - cannot install the best update candidate for package hcoll-4.8.3230-1.2410068.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Maybe it's how DOCA installation works? Anyway, with --nobest:

Package doca-kernel-repo-25.10.1.7.1.0-1.kver.5.14.0.611.13.1.el9.7.x86.64.x86_64.rpm is not signed
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED

stackhpc_pulp_repo_doca_3_2_1_rhel9_version: 20251219T132023
stackhpc_pulp_repo_doca_3_2_1_rhel9_7_modules_version: 20251222T160623
Copy link
Member

Choose a reason for hiding this comment

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

Are we expecting to create a new variable with every minor release?

stackhpc_pulp_repo_docker_ce_ubuntu_noble_version: 20250616T155742
stackhpc_pulp_repo_elrepo_9_version: 20250610T235426
stackhpc_pulp_repo_elrepo_9_aarch64_version: 20250408T030629
Expand Down Expand Up @@ -76,8 +79,24 @@ stackhpc_pulp_repo_rocky_9_6_extras_version: 20250726T040613
stackhpc_pulp_repo_rocky_9_6_extras_aarch64_version: 20250726T045704
stackhpc_pulp_repo_rocky_9_6_highavailability_version: 20250605T150141
stackhpc_pulp_repo_rocky_9_6_highavailability_aarch64_version: 20250605T150141
stackhpc_pulp_repo_rocky_9_sig_security_common_version: 20250222T040303
stackhpc_pulp_repo_rocky_9_sig_security_common_aarch64_version: 20250222T044743
stackhpc_pulp_repo_rocky_9_7_appstream_version: 20251219T205854
stackhpc_pulp_repo_rocky_9_7_appstream_aarch64_version: 20251219T213344
stackhpc_pulp_repo_rocky_9_7_appstream_source_version: 20251219T210713
stackhpc_pulp_repo_rocky_9_7_baseos_version: 20251219T212218
stackhpc_pulp_repo_rocky_9_7_baseos_aarch64_version: 20251219T213344
stackhpc_pulp_repo_rocky_9_7_baseos_source_version: 20251219T210713
stackhpc_pulp_repo_rocky_9_7_crb_version: 20251219T205854
stackhpc_pulp_repo_rocky_9_7_crb_aarch64_version: 20251219T213344
stackhpc_pulp_repo_rocky_9_7_crb_source_version: 20251203T103807
stackhpc_pulp_repo_rocky_9_7_extras_version: 20251218T205602
stackhpc_pulp_repo_rocky_9_7_extras_aarch64_version: 20251218T213824
stackhpc_pulp_repo_rocky_9_7_extras_source_version: 20251218T211724
stackhpc_pulp_repo_rocky_9_7_highavailability_version: 20251219T205854
stackhpc_pulp_repo_rocky_9_7_highavailability_aarch64_version: 20251219T213344
stackhpc_pulp_repo_rocky_9_7_highavailability_source_version: 20251220T210727
stackhpc_pulp_repo_rocky_9_sig_security_common_version: 20251108T211425
stackhpc_pulp_repo_rocky_9_sig_security_common_aarch64_version: 20251109T211404
stackhpc_pulp_repo_rocky_9_sig_security_common_source_version: 20251203T103807
stackhpc_pulp_repo_ubuntu_cloud_archive_version: 20250620T063939
stackhpc_pulp_repo_ubuntu_noble_security_version: 20250620T113028
stackhpc_pulp_repo_ubuntu_noble_version: 20250620T113028
4 changes: 2 additions & 2 deletions etc/kayobe/pulp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ stackhpc_pulp_distribution_deb_production: >-

# Whether to sync Rocky Linux 9 packages.
stackhpc_pulp_sync_rocky_9: "{{ os_distribution == 'rocky' }}"
# Rocky 9 minor version number. Supported values: 6. Default is 6
stackhpc_pulp_repo_rocky_9_minor_version: '6'
# Rocky 9 minor version number. Supported values: 6, 7. Default is 7
stackhpc_pulp_repo_rocky_9_minor_version: '7'
# Rocky 9 Snapshot versions. The defaults use the appropriate version from
# pulp-repo-versions.yml for the selected minor release.

Expand Down
3 changes: 2 additions & 1 deletion etc/kayobe/stackhpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ stackhpc_repo_docker_ce_ubuntu_noble_version: "{{ stackhpc_repo_distribution }}"
# RPMs

# 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 %}"
stackhpc_repo_rhel9_doca_url: "{{ stackhpc_repo_mirror_url }}/pulp/content/doca/{{ stackhpc_pulp_doca_version }}/{{ stackhpc_doca_distribution }}/x86_64/{{ stackhpc_repo_rhel9_doca_version }}"
stackhpc_repo_rhel9_doca_version: "{{ stackhpc_repo_distribution }}"

# DOCA Modules
Expand Down
6 changes: 6 additions & 0 deletions releasenotes/notes/rl9.7-c8d033f11097b76b.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
features:
- |
Added support for Rocky Linux 9.7.
- |
9.7 is now the default release for Rocky Linux.
Loading