Skip to content

2025.1 init #1647

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 26 commits into from
May 21, 2025
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
85049b1
Bump kolla to stackhpc/18.6.0.8
stackhpc-ci May 6, 2025
6a6ba1f
Merge branch 'stackhpc/2024.1' into update-dependency/kolla/stackhpc/…
Alex-Welsh May 7, 2025
c786f88
Merge branch 'stackhpc/2024.1' into update-dependency/kolla/stackhpc/…
Alex-Welsh May 9, 2025
027eea0
Fix Neutron endpoint used in Octavia OVN provider
priteau May 9, 2025
681169d
Fix whitespace issues
Alex-Welsh May 9, 2025
4b9eed0
Merge pull request #1635 from stackhpc/update-dependency/kolla/stackh…
Alex-Welsh May 9, 2025
e4ce7a9
Merge pull request #1638 from stackhpc/ovn-octavia-provider-caracal
Alex-Welsh May 9, 2025
a068f1b
Merge pull request #1639 from stackhpc/whitespace
Alex-Welsh May 9, 2025
b4fe805
fix: add missing `openbao` distribution
jackhodgkiss May 9, 2025
4834cf6
Merge pull request #1640 from stackhpc/fix-missing-openbao-distro
jackhodgkiss May 9, 2025
9202db2
Kolla-Ansible/Kayobe version enforcement (#1551)
assumptionsandg May 12, 2025
39e7e8a
CI: Remove Ubuntu OVS, add RL9 OVS upgrade cases
Alex-Welsh May 12, 2025
d8b266f
Fix duplicate metrics from radosgw_usage_exporter
MoteHue May 12, 2025
76c76c9
Merge pull request #1642 from stackhpc/fix-radosgw-usage-exporter-dup…
MoteHue May 12, 2025
a6f6de6
Bump kolla-ansible to stackhpc/18.6.0.9
stackhpc-ci May 13, 2025
e530be8
Bump kolla to stackhpc/18.6.0.9
stackhpc-ci May 13, 2025
3712a4b
Merge pull request #1641 from stackhpc/ubuntu-ovs-2024.1
Alex-Welsh May 13, 2025
fbb4acc
Merge branch 'stackhpc/2024.1' into update-dependency/kolla-ansible/s…
Alex-Welsh May 13, 2025
63635a5
Merge branch 'stackhpc/2024.1' into update-dependency/kolla/stackhpc/…
Alex-Welsh May 13, 2025
58fd699
Merge pull request #1644 from stackhpc/update-dependency/kolla-ansibl…
Alex-Welsh May 13, 2025
6e720be
Merge pull request #1645 from stackhpc/update-dependency/kolla/stackh…
Alex-Welsh May 13, 2025
f67c1ab
Merge remote-tracking branch 'origin/stackhpc/master' into 2025.1-init
Alex-Welsh May 14, 2025
f62009a
Merge branch 'stackhpc/2025.1' into 2025.1-init
Alex-Welsh May 21, 2025
9e17e32
Pin kolla/kolla-ansible to specific versions
Alex-Welsh May 21, 2025
3fe6412
Temporarily disable AIO jobs to save resources
Alex-Welsh May 21, 2025
c39363f
Remove fixme comments for fixed lines
Alex-Welsh May 21, 2025
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
2 changes: 2 additions & 0 deletions .ansible-lint-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ etc/kayobe/ansible/vault-generate-internal-tls.yml fqcn[action-core]
etc/kayobe/ansible/vault-generate-test-external-tls.yml fqcn[action-core]
etc/kayobe/ansible/rabbitmq-reset.yml command-instead-of-module
etc/kayobe/ansible/ubuntu-upgrade.yml syntax-check[missing-file]
etc/kayobe/ansible/check-kayobe-version.yml command-instead-of-module
etc/kayobe/ansible/check-kolla-ansible-version.yml command-instead-of-module
2 changes: 1 addition & 1 deletion .automation
2 changes: 1 addition & 1 deletion .github/workflows/multinode-inputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Scenario:
OPENSTACK_RELEASES = [
OpenStackRelease("2023.1", "zed", [ROCKY_9, UBUNTU_JAMMY]),
OpenStackRelease("2024.1", "2023.1", [ROCKY_9, UBUNTU_JAMMY]),
OpenStackRelease("master", "2024.1", [ROCKY_9, UBUNTU_NOBLE]),
OpenStackRelease("2025.1", "2024.1", [ROCKY_9, UBUNTU_NOBLE]),
]
NEUTRON_PLUGINS = ["ovs", "ovn"]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/runner-selector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- name: Set output for container image build runner
run: echo "Setting runner for ${{ inputs.runner_env }} -> ${{ vars.RUNS_ON_TARGET_CONTAINER_IMAGE_BUILDER }}"

- id: container-image-build-runner
run: echo "runner_name_container_image_build=${{ vars.RUNS_ON_TARGET_CONTAINER_IMAGE_BUILDER }}" >> $GITHUB_OUTPUT

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stackhpc-build-kayobe-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
push:
branches:
# NOTE(upgrade): Reference only the current release branch here.
- stackhpc/master
- stackhpc/2025.1

workflow_call:
inputs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stackhpc-multinode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
break_duration: ${{ fromJSON(inputs.break_duration) }}
ssh_key: ${{ inputs.ssh_key }}
stackhpc_kayobe_config_version: ${{ github.ref_name }}
# NOTE(upgrade): Reference the PREVIOUS release here.
stackhpc_kayobe_config_previous_version: ${{ inputs.upgrade == 'major' && 'stackhpc/2024.1' || 'stackhpc/master' }}
# NOTE(upgrade): Reference the PREVIOUS and CURRENT releases here.
stackhpc_kayobe_config_previous_version: ${{ inputs.upgrade == 'major' && 'stackhpc/2024.1' || 'stackhpc/2025.1' }}
terraform_kayobe_multinode_version: ${{ inputs.terraform_kayobe_multinode_version }}
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/stackhpc-promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
# NOTE(upgrade): Reference only the current release branch here.
- stackhpc/master
- stackhpc/2025.1
jobs:
promote:
name: Trigger Pulp promotion workflows
Expand Down
35 changes: 18 additions & 17 deletions .github/workflows/stackhpc-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,23 +130,6 @@ jobs:
secrets: inherit
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

all-in-one-ubuntu-noble-ovs:
name: aio (Ubuntu Noble OVS)
needs:
- check-changes
- build-kayobe-image
uses: ./.github/workflows/stackhpc-all-in-one.yml
with:
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
os_distribution: ubuntu
os_release: noble
ssh_username: ubuntu
neutron_plugin: ovs
OS_CLOUD: openstack
if: ${{ needs.check-changes.outputs.aio == 'true' }}
secrets: inherit
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

all-in-one-ubuntu-noble-ovn:
name: aio (Ubuntu Noble OVN)
needs:
Expand Down Expand Up @@ -236,3 +219,21 @@ jobs:
upgrade: true
secrets: inherit
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

all-in-one-upgrade-rocky-9-ovs:
name: aio upgrade (Rocky 9 OVS)
needs:
- check-changes
- build-kayobe-image
uses: ./.github/workflows/stackhpc-all-in-one.yml
with:
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
os_distribution: rocky
os_release: "9"
ssh_username: cloud-user
neutron_plugin: ovs
OS_CLOUD: openstack
if: ${{ needs.check-changes.outputs.aio == 'true' }}
upgrade: true
secrets: inherit
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
4 changes: 2 additions & 2 deletions .github/workflows/stackhpc-update-kolla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
codename: Antelope
- version: stackhpc/2024.1
codename: Caracal
- version: stackhpc/master
codename: master
- version: stackhpc/2025.1
codename: Epoxy
uses: ./.github/workflows/update-dependencies.yml
with:
openstack_version: ${{ matrix.version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Tag & Release
'on':
push:
branches:
- stackhpc/master
- stackhpc/2025.1
permissions:
actions: read
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .gitreview
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
host=review.opendev.org
port=29418
project=openstack/kayobe-config.git
defaultbranch=master
defaultbranch=stable/2025.1
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ build:
python: "3.12"
jobs:
post_checkout:
- git remote set-branches origin master stackhpc/master stackhpc/2024.1 stackhpc/2023.1 stackhpc/zed stackhpc/yoga stackhpc/xena stackhpc/wallaby
- git remote set-branches origin master stackhpc/master stackhpc/2025.1 stackhpc/2024.1 stackhpc/2023.1 stackhpc/zed stackhpc/yoga stackhpc/xena stackhpc/wallaby
- git fetch --unshallow

# Build documentation in the doc/source/ directory with Sphinx
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
StackHPC Kayobe Configuration
=============================

This repository provides a base Kayobe configuration for the Master release
of StackHPC OpenStack.
This repository provides a base Kayobe configuration for the 2025.1 Epoxy
release of StackHPC OpenStack.

Documentation is hosted on `readthedocs.io
<https://stackhpc-kayobe-config.readthedocs.io/en/stackhpc-master/index.html>`__,
<https://stackhpc-kayobe-config.readthedocs.io/en/stackhpc-2025.1/index.html>`__,
and includes release notes.

Kayobe
Expand Down
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# -- StackHPC Kayobe configuration --------------------------------------
# Variables to override

current_series = "master"
current_series = "2025.1"
previous_series = "2024.1"
branch = f"stackhpc/{current_series}"
ceph_series = "squid"
Expand Down
2 changes: 1 addition & 1 deletion doc/source/contributor/environments/aufn-ceph.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This environment creates a Universe-from-nothing_-style deployment of Kayobe con
.. warning::

This guide was written for the Yoga release and has not been validated for
Master. Proceed with caution.
2025.1. Proceed with caution.

Prerequisites
=============
Expand Down
6 changes: 3 additions & 3 deletions doc/source/contributor/environments/ci-aio.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Download the setup script:

.. parsed-literal::

wget https://raw.githubusercontent.com/stackhpc/stackhpc-kayobe-config/stackhpc/master/etc/kayobe/environments/ci-aio/automated-setup.sh
wget https://raw.githubusercontent.com/stackhpc/stackhpc-kayobe-config/stackhpc/2025.1/etc/kayobe/environments/ci-aio/automated-setup.sh

Change the permissions on the script:

Expand All @@ -52,9 +52,9 @@ following options:

* ``BASE_PATH`` (default: ``~``) - Directory to deploy from. The directory must
exist before running the script.
* ``KAYOBE_BRANCH`` (default: ``stackhpc/master``) - The branch of Kayobe
* ``KAYOBE_BRANCH`` (default: ``stackhpc/2025.1``) - The branch of Kayobe
source code to use.
* ``KAYOBE_CONFIG_BRANCH`` (default: ``stackhpc/master``) - The branch of
* ``KAYOBE_CONFIG_BRANCH`` (default: ``stackhpc/2025.1``) - The branch of
``stackhpc-kayobe-config`` to use.
* ``KAYOBE_AIO_LVM`` (default: ``true``) - Whether the image uses LVM.
* ``KAYOBE_CONFIG_EDIT_PAUSE`` (default: ``false``) - Option to pause
Expand Down
2 changes: 1 addition & 1 deletion doc/source/contributor/environments/ci-multinode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Multinode Test Environment
.. warning::

This guide was written for the Yoga release and has not been validated for
Master. Proceed with caution.
2025.1. Proceed with caution.

The ``ci-multinode`` environment provides a Kayobe configuration for multi-node
clouds to be used for test and development purposes. It is designed to be used
Expand Down
10 changes: 5 additions & 5 deletions doc/source/contributor/package-updates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ This section describes the Release Train process of creating new package reposit
Preparations
============

1. Before building images, you should check for any outstanding PRs into the earliest supported release. Below are the links for the Master branches.
1. Before building images, you should check for any outstanding PRs into the earliest supported release. Below are the links for the 2025.1 branches.

kayobe-config: https://github.com/stackhpc/stackhpc-kayobe-config/pulls?q=is%3Apr+is%3Aopen+base%3Astackhpc%2Fmaster
kayobe-config: https://github.com/stackhpc/stackhpc-kayobe-config/pulls?q=is%3Apr+is%3Aopen+base%3Astackhpc%2F2025.1+

kolla: https://github.com/stackhpc/kolla/pulls?q=is%3Apr+is%3Aopen+base%3Astackhpc%2Fmaster
kolla: https://github.com/stackhpc/kolla/pulls?q=is%3Apr+is%3Aopen+base%3Astackhpc%2F2025.1+

kolla-ansible: https://github.com/stackhpc/kolla-ansible/pulls?q=is%3Apr+is%3Aopen+base%3Astackhpc%2Fmaster
kolla-ansible: https://github.com/stackhpc/kolla-ansible/pulls?q=is%3Apr+is%3Aopen+base%3Astackhpc%2F2025.1+

You should also check any referenced source trees in etc/kayobe/kolla.yml.

Expand Down Expand Up @@ -165,7 +165,7 @@ Upgrading OpenStack to the next release in a multinode environment
.. warning::

This guide was written for the Wallaby release and has not been validated
for master. Proceed with caution.
for 2025.1. Proceed with caution.

As this is not a full production system, only a reduced number of steps need to be followed to upgrade to a new release. Below describes these steps, with ``stackhpc/wallaby`` as the starting branch:

Expand Down
2 changes: 1 addition & 1 deletion doc/source/contributor/testing-ci-automation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ job.
The workflow performs the following high-level steps:

#. Deploy a VM on an OpenStack cloud using the `aio
<https://github.com/stackhpc/stackhpc-kayobe-config/tree/stackhpc/master/terraform/aio>`_
<https://github.com/stackhpc/stackhpc-kayobe-config/tree/stackhpc/2025.1/terraform/aio>`_
Terraform configuration.
#. Deploy OpenStack in the VM using Kayobe and the :doc:`ci-aio
<environments/ci-aio>` environment. If this is an upgrade job, the previous
Expand Down
2 changes: 1 addition & 1 deletion doc/source/operations/customising-horizon.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Creating a custom Horizon theme

A simple custom theme for Horizon can be implemented as small modifications of
an existing theme, such as the `Default
<https://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/themes/default>`__
<https://opendev.org/openstack/horizon/src/branch/2025.1/openstack_dashboard/themes/default>`__
one.

A theme contains at least two files: ``static/_styles.scss``, which can be empty, and
Expand Down
2 changes: 1 addition & 1 deletion doc/source/operations/upgrading-openstack.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Known issues
Security baseline
=================

As part of the Master release we are looking to improve the security
As part of the 2025.1 Epoxy release we are looking to improve the security
baseline of StackHPC OpenStack deployments. If any of the following have not
been done, they should be completed before the upgrade begins.

Expand Down
4 changes: 2 additions & 2 deletions doc/source/release-notes.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
===========================
Master Series Release Notes
2025.1 Epoxy Series Release Notes
===========================

.. release-notes::
:branch: stackhpc/master
:branch: stackhpc/2025.1
2 changes: 1 addition & 1 deletion doc/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ when used with Kayobe's :kayobe-doc:`multiple environments
<multiple-environments>` feature.

This configuration should be consumed using the `StackHPC Kayobe fork
<https://github.com/stackhpc/kayobe/tree/stackhpc/master>`__, which includes
<https://github.com/stackhpc/kayobe/tree/stackhpc/2025.1>`__, which includes
backported support for Ansible collections.

New deployments
Expand Down
61 changes: 61 additions & 0 deletions etc/kayobe/ansible/check-kayobe-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
- name: Check Kayobe version
tags: kayobe-version-check
hosts: localhost
gather_facts: false
vars:
requirements_path: "{{ kayobe_config_path }}/../../requirements.txt"
tasks:
- name: Check version
when: stackhpc_enable_kayobe_check
block:
- name: Get package info
community.general.pip_package_info:
register: packages

- name: Check if pip is version 24.0 or newer
ansible.builtin.assert:
that: "{{ packages.packages.pip.pip[0].version is version('24.0', '>=') }}"
fail_msg: |
Pip must be 24.0 or newer to run this check. Upgrade pip by running
pip install -U pip and reinstall Kayobe by running:
pip install --force-reinstall -r {{ requirements_path }}

- name: Get installed Kayobe commit
ansible.builtin.shell:
cmd: set -o pipefail && pip freeze | grep kayobe | cut -d @ -f 3
executable: /usr/bin/bash
register: kayobe_git_commit
failed_when: kayobe_git_commit.stdout == ""

- name: Clone Kayobe
ansible.builtin.git:
repo: https://github.com/stackhpc/kayobe.git
dest: /tmp/kayobe-git
version: stackhpc/{{ openstack_release }}

- name: Get tag from Kayobe commit
ansible.builtin.command:
cmd: git describe --tags {{ kayobe_git_commit.stdout }}
chdir: /tmp/kayobe-git
register: kayobe_current_version

- name: Get latest Kayobe version
ansible.builtin.shell:
cmd: set -o pipefail && grep -o kayobe@stackhpc\/.*$ {{ requirements_path }} | cut -d @ -f 2
executable: /usr/bin/bash
register: kayobe_latest_version

- name: Check installed Kayobe version is the latest
ansible.builtin.assert:
that: "kayobe_latest_version.stdout in kayobe_current_version.stdout"
fail_msg: |
Kayobe must use the expected version before continuing.

Current Kayobe version: {{ kayobe_current_version.stdout }}
Expected Kayobe version: {{ kayobe_latest_version.stdout }}

Recreate the Kayobe environment, or install the expected version
by running: pip install --force-reinstall -r {{ requirements_path }}
success_msg: |
Kayobe running at version: {{ kayobe_current_version.stdout }}
27 changes: 27 additions & 0 deletions etc/kayobe/ansible/check-kolla-ansible-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
- name: Check Kolla-Ansible version
tags: kolla-ansible-version-check
hosts: localhost
gather_facts: false
tasks:
- name: Check version
when: stackhpc_enable_kolla_ansible_check
block:
- name: Get current Kolla-Ansible tag
ansible.builtin.command:
cmd: git describe --tags
chdir: "{{ lookup('ansible.builtin.env', 'KOLLA_SOURCE_PATH') }}"
register: kolla_ansible_current_version

- name: Check installed Kolla-Ansible version is the expected version
ansible.builtin.assert:
that: "stackhpc_kolla_ansible_source_version in kolla_ansible_current_version.stdout"
fail_msg: |
Kolla-Ansible must use the expected version before continuing.

Current Kolla-Ansible version: {{ kolla_ansible_current_version.stdout }}
Expected Kolla-Ansible version: {{ stackhpc_kolla_ansible_source_version }}

Upgrade Kolla-Ansible by running: kayobe control host upgrade
success_msg: |
Kolla-Ansible running at version: {{ kolla_ansible_current_version.stdout }}
2 changes: 1 addition & 1 deletion etc/kayobe/ansible/deploy-radosgw-usage-exporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
- name: Ensure radosgw_usage_exporter container is running
community.docker.docker_container:
name: radosgw_usage_exporter
image: ghcr.io/stackhpc/radosgw_usage_exporter:v0.1.1
image: ghcr.io/stackhpc/radosgw_usage_exporter:v0.1.3
network_mode: host
env:
RADOSGW_SERVER: "{{ radosgw_server }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
set -eu

BASE_PATH=~
KAYOBE_BRANCH=stackhpc/master
KAYOBE_CONFIG_BRANCH=stackhpc/master
KAYOBE_BRANCH=stackhpc/2025.1
KAYOBE_CONFIG_BRANCH=stackhpc/2025.1
KAYOBE_ENVIRONMENT=aufn-ceph

# Install git and tmux.
Expand Down Expand Up @@ -50,7 +50,7 @@ if [[ ! -d kayobe ]]; then
python3 -m venv kayobe
fi
# NOTE: Virtualenv's activate and deactivate scripts reference an
# unbound variable.
# unbound variable.
set +u
source kayobe/bin/activate
set -u
Expand Down Expand Up @@ -121,7 +121,7 @@ deactivate
set -u
$KAYOBE_CONFIG_PATH/environments/$KAYOBE_ENVIRONMENT/configure-openstack.sh $BASE_PATH

# Create a test vm
# Create a test vm
VENV_DIR=$BASE_PATH/venvs/openstack
if [[ ! -d $VENV_DIR ]]; then
python3 -m venv $VENV_DIR
Expand Down
Loading
Loading