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
67 changes: 67 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
# CodeRabbit review config file

language: "en-GB"
reviews:
# Options are "quiet", "chill", "assertive" in order of nitpickyness
profile: "assertive"
# Don't automatically approves PRs
request_changes_workflow: false
# Summarise the PR in a comment
high_level_summary: true
# Summary instructions
high_level_summary_instructions: "Give a brief description of the changes in 50 words or less."
# Put summary in a comment, don't override the PR description
high_level_summary_in_walkthrough: true
# Post a comment e.g. when a review is skipped, why so
review_status: true
# Posts extra details about the review (ignored files, extra context used, suppressed comments, etc.)
review_details: true
# Don't suggest labels to apply to PRs
suggested_labels: false
# Don't suggest reviewers to add to the PR
suggested_reviewers: false
# Don't post a "fortune" message while the review is running
in_progress_fortune: false
# Don't include review comments to provide codegen instructions for AI agents.
enable_prompt_for_ai_agents: false

# Auto review configuration
auto_review:
# Review things
enabled: true
# Review draft PRs
drafts: true
# Don't auto re-review on push (Can always be re-triggered manually)
auto_incremental_review: false
# Branches to auto-review PRs against
# Regex should match branch such as:
# stackhpc/2025.1
# stackhpc-dev/2026.1
# stackhpc-rc/2027.1
base_branches:
- ^stackhpc/202\d\.1$
- ^stackhpc-rc/202\d\.1$
- ^stackhpc-dev/202\d\.1$
# Ignore PRs by the CI bot
ignore_usernames:
- "stackhpc-ci"

finishing_touches:
# Don't try to add docstrings and unit tests
docstrings:
enabled: false
unit_tests:
enabled: false

pre_merge_checks:
# Ignore title/description checks
title:
mode: "off"
description:
mode: "off"

# Additional context options
knowledge_base:
# Auto link to other repos in the org
automatic_repository_linking: true
55 changes: 0 additions & 55 deletions .github/auto-label.yaml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/stackhpc-all-in-one.yml
Original file line number Diff line number Diff line change
Expand Up @@ -278,28 +278,6 @@ jobs:
run: |
docker image pull $KAYOBE_IMAGE

# Rocky 9 OVN deployments will fail when the hostname contains a '.'
- name: Fix hostname
run: |
docker run -t --rm \
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
${{ steps.kayobe_image.outputs.kayobe_image }} \
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh etc/kayobe/ansible${{ inputs.upgrade && '/' || '/fixes/' }}fix-hostname.yml
env:
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}

# Reboot to Apply hostname change
- name: Reboot
run: |
docker run -t --rm \
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
${{ steps.kayobe_image.outputs.kayobe_image }} \
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh etc/kayobe/ansible${{ inputs.upgrade && '/' || '/maintenance/' }}reboot.yml -e reboot_with_bootstrap_user=true
env:
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}

- name: Run growroot
run: |
docker run -t --rm \
Expand Down
51 changes: 27 additions & 24 deletions etc/kayobe/ansible/maintenance/reset-bls-entries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,33 @@
tags:
- reset-bls-entries
tasks:
- name: Get machine ID
ansible.builtin.command: cat /etc/machine-id
register: machine_id
check_mode: false
- name: Reset BLS entries on RedHat-based systems
when: ansible_facts.os_family == 'RedHat'
block:
- name: Get machine ID
ansible.builtin.command: cat /etc/machine-id
register: machine_id
check_mode: false

- name: Find entries with wrong machine ID
ansible.builtin.find:
paths: /boot/loader/entries
patterns: "*.conf"
register: bls_entries
check_mode: false
- name: Find entries with wrong machine ID
ansible.builtin.find:
paths: /boot/loader/entries
patterns: "*.conf"
register: bls_entries
check_mode: false

# We set force to false to avoid replacing an existing BLS entry with the
# correct machine ID.
- name: Rename entries with wrong machine ID
ansible.builtin.copy:
src: /boot/loader/entries/{{ item }}
dest: /boot/loader/entries/{{ item | ansible.builtin.regex_replace('^[a-f0-9]*', machine_id.stdout) }}
force: false
remote_src: true
with_items: "{{ bls_entries.files | map(attribute='path') | reject('search', machine_id.stdout) | map('basename') }}"
# We set force to false to avoid replacing an existing BLS entry with the
# correct machine ID.
- name: Rename entries with wrong machine ID
ansible.builtin.copy:
src: /boot/loader/entries/{{ item }}
dest: /boot/loader/entries/{{ item | ansible.builtin.regex_replace('^[a-f0-9]*', machine_id.stdout) }}
force: false
remote_src: true
with_items: "{{ bls_entries.files | map(attribute='path') | reject('search', machine_id.stdout) | map('basename') }}"

- name: Remove entries with wrong machine ID
ansible.builtin.file:
path: /boot/loader/entries/{{ item }}
state: absent
with_items: "{{ bls_entries.files | map(attribute='path') | reject('search', machine_id.stdout) | map('basename') }}"
- name: Remove entries with wrong machine ID
ansible.builtin.file:
path: /boot/loader/entries/{{ item }}
state: absent
with_items: "{{ bls_entries.files | map(attribute='path') | reject('search', machine_id.stdout) | map('basename') }}"
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
fixes:
- |
Adds a hook to automatically fix BLS configuration files under
``/boot/loader/entries`` after overcloud host package update.
8 changes: 6 additions & 2 deletions etc/kayobe/ipa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,14 @@
#ipa_build_source_version:

# URL of IPA builder source repository.
#ipa_builder_source_url:
# NOTE(dougszu): This fork is required for centos-10 stream IPA images, which
# are required (currently) to provide a version of qemu-img that can handle
# 4k sectors from Dell Perc RAID controllers which don't support other block
# sizes.
ipa_builder_source_url: https://github.com/stackhpc/ironic-python-agent-builder.git

# Version of IPA builder source repository. Default is {{ openstack_branch }}.
#ipa_builder_source_version:
ipa_builder_source_version: stackhpc/2025.1

# List of additional build host packages to install. Default is [ 'zstd' ].
#ipa_build_dib_host_packages_extra:
Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/kolla/globals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ kolla_base_distro_and_version: "{% raw %}{{ kolla_base_distro }}-{{ kolla_base_d
kolla_base_distro_version_default_map: {
"centos": "stream9",
"debian": "bookworm",
"rocky": "{{ os_release }}",
"rocky": "{% raw %}{{ ansible_facts.distribution_major_version }}{% endraw %}",
"ubuntu": "noble",
}

Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/ofed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ stackhpc_pulp_rocky_10_doca_version: "{{ stackhpc_pulp_doca_version_matrix[doca_
stackhpc_doca_kernel_version_matrix:
"9.6": 5.14.0.570.21.1.el9.6
"9.7": 5.14.0.611.55.1.el9.7
"9.8": 5.14.0.687.25.1.el9.8
"9.8": 5.14.0.687.26.1.el9.8
"10.2": 6.12.0.211.33.1.el10.2

###############################################################################
Expand Down
4 changes: 2 additions & 2 deletions etc/kayobe/pulp-host-image-versions.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
# Overcloud host image versioning tags
# These images must be in SMS, since they are used by our AIO CI runners
stackhpc_rocky_9_overcloud_host_image_version: 2025.1-20260715T072311
stackhpc_rocky_9_overcloud_host_image_version_aarch64: 2025.1-20260715T072311
stackhpc_rocky_9_overcloud_host_image_version: 2025.1-20260720T114136
stackhpc_rocky_9_overcloud_host_image_version_aarch64: 2025.1-20260720T114136
stackhpc_rocky_10_overcloud_host_image_version: 2025.1-20260715T072311
stackhpc_rocky_10_overcloud_host_image_version_aarch64: 2025.1-20260715T072311
stackhpc_ubuntu_noble_overcloud_host_image_version: 2025.1-20260706T191822
26 changes: 13 additions & 13 deletions etc/kayobe/pulp-repo-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ stackhpc_pulp_repo_doca_3_2_3_rhel10_2_modules_aarch64_version: 20260715T185525
stackhpc_pulp_repo_doca_3_2_3_rhel10_2_modules_version: 20260715T185525
stackhpc_pulp_repo_doca_3_2_3_rhel10_aarch64_version: 20260715T143437
stackhpc_pulp_repo_doca_3_2_3_rhel10_x86_64_version: 20260715T143437
stackhpc_pulp_repo_doca_3_2_3_rhel9_8_modules_aarch64_version: 20260715T185525
stackhpc_pulp_repo_doca_3_2_3_rhel9_8_modules_version: 20260715T185525
stackhpc_pulp_repo_doca_3_2_3_rhel9_8_modules_aarch64_version: 20260720T160316
stackhpc_pulp_repo_doca_3_2_3_rhel9_8_modules_version: 20260720T160316
stackhpc_pulp_repo_doca_3_2_3_rhel9_aarch64_version: 20260715T143437
stackhpc_pulp_repo_doca_3_2_3_rhel9_version: 20260715T143437
stackhpc_pulp_repo_docker_ce_ubuntu_noble_version: 20260704T203807
Expand Down Expand Up @@ -158,21 +158,21 @@ stackhpc_pulp_repo_rocky_9_7_highavailability_version: 20260514T220209
stackhpc_pulp_repo_rocky_9_7_security_aarch64_version: 20260519T222921
stackhpc_pulp_repo_rocky_9_7_security_source_version: 20260520T222157
stackhpc_pulp_repo_rocky_9_7_security_version: 20260520T215442
stackhpc_pulp_repo_rocky_9_8_appstream_aarch64_version: 20260715T181215
stackhpc_pulp_repo_rocky_9_8_appstream_source_version: 20260715T181215
stackhpc_pulp_repo_rocky_9_8_appstream_version: 20260714T213458
stackhpc_pulp_repo_rocky_9_8_baseos_aarch64_version: 20260714T221521
stackhpc_pulp_repo_rocky_9_8_baseos_source_version: 20260713T053209
stackhpc_pulp_repo_rocky_9_8_baseos_version: 20260714T220645
stackhpc_pulp_repo_rocky_9_8_crb_aarch64_version: 20260713T223542
stackhpc_pulp_repo_rocky_9_8_appstream_aarch64_version: 20260716T222443
stackhpc_pulp_repo_rocky_9_8_appstream_source_version: 20260716T221817
stackhpc_pulp_repo_rocky_9_8_appstream_version: 20260717T213842
stackhpc_pulp_repo_rocky_9_8_baseos_aarch64_version: 20260717T221224
stackhpc_pulp_repo_rocky_9_8_baseos_source_version: 20260717T220601
stackhpc_pulp_repo_rocky_9_8_baseos_version: 20260716T222336
stackhpc_pulp_repo_rocky_9_8_crb_aarch64_version: 20260717T221224
stackhpc_pulp_repo_rocky_9_8_crb_source_version: 20260710T221031
stackhpc_pulp_repo_rocky_9_8_crb_version: 20260714T213458
stackhpc_pulp_repo_rocky_9_8_crb_version: 20260716T214748
stackhpc_pulp_repo_rocky_9_8_extras_aarch64_version: 20260528T223707
stackhpc_pulp_repo_rocky_9_8_extras_source_version: 20260528T220844
stackhpc_pulp_repo_rocky_9_8_extras_version: 20260528T220059
stackhpc_pulp_repo_rocky_9_8_highavailability_aarch64_version: 20260710T224503
stackhpc_pulp_repo_rocky_9_8_highavailability_source_version: 20260624T223310
stackhpc_pulp_repo_rocky_9_8_highavailability_version: 20260709T215352
stackhpc_pulp_repo_rocky_9_8_highavailability_aarch64_version: 20260715T222005
stackhpc_pulp_repo_rocky_9_8_highavailability_source_version: 20260716T221817
stackhpc_pulp_repo_rocky_9_8_highavailability_version: 20260715T213338
stackhpc_pulp_repo_rocky_9_8_security_aarch64_version: 20260605T230645
stackhpc_pulp_repo_rocky_9_8_security_source_version: 20260605T225017
stackhpc_pulp_repo_rocky_9_8_security_version: 20260606T214954
Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/stackhpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ stackhpc_kolla_source_version: stackhpc/20.4.0.10

# Kolla Ansible source repository.
stackhpc_kolla_ansible_source_url: "https://github.com/stackhpc/kolla-ansible"
stackhpc_kolla_ansible_source_version: stackhpc/20.4.0.10
stackhpc_kolla_ansible_source_version: stackhpc/20.4.0.11

###############################################################################
# Container image registry
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
fixes:
- |
Uses host facts in ``kolla_base_distro_version_default_map`` to select
Rocky 9 or Rocky 10 Kolla images for each host.
10 changes: 10 additions & 0 deletions releasenotes/notes/rocky-98-python-update-ca5e831d408a67ba.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
features:
- |
An updated OFED kernel module has been built for the latest Rocky 9.8
kernel (``5.14.0.687.26.1.el9.8``).
fixes:
- |
Python 3.9 has been updated in the Rocky 9.8 host image, which addresses
deployment issues caused by a previously introduced Python bug
(``ASN1: NOT_ENOUGH_DATA``).
Loading