Skip to content

Commit 03342b7

Browse files
authored
Merge branch 'stackhpc/master' into caracal-forward-port
2 parents c322299 + dbf644c commit 03342b7

19 files changed

+61
-117
lines changed

.github/workflows/stackhpc-all-in-one.yml

Lines changed: 1 addition & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -335,46 +335,6 @@ jobs:
335335
env:
336336
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
337337

338-
- name: Upgrade to RabbitMQ 3.12
339-
run: |
340-
docker run -t --rm \
341-
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
342-
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
343-
${{ steps.kayobe_image.outputs.kayobe_image }} \
344-
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/kolla-ansible-run.sh "rabbitmq-upgrade 3.12"
345-
env:
346-
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
347-
if: inputs.upgrade
348-
349-
- name: Upgrade to RabbitMQ 3.13
350-
run: |
351-
docker run -t --rm \
352-
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
353-
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
354-
${{ steps.kayobe_image.outputs.kayobe_image }} \
355-
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/kolla-ansible-run.sh "rabbitmq-upgrade 3.13"
356-
env:
357-
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
358-
if: inputs.upgrade
359-
360-
- name: Change rabbit queues from HA to Quorum
361-
run: |
362-
sed -i -e 's/om_enable_rabbitmq_high_availability: true/om_enable_rabbitmq_high_availability: false/' \
363-
-e 's/om_enable_rabbitmq_quorum_queues: false/om_enable_rabbitmq_quorum_queues: true/' \
364-
etc/kayobe/environments/ci-aio/kolla/globals.yml
365-
if: inputs.upgrade
366-
367-
- name: Migrate RabbitMQ queues
368-
run: |
369-
docker run -t --rm \
370-
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
371-
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
372-
${{ steps.kayobe_image.outputs.kayobe_image }} \
373-
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/script-run.sh tools/rabbitmq-quorum-migration.sh
374-
env:
375-
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
376-
if: inputs.upgrade
377-
378338
# If testing upgrade, checkout the current release branch
379339
# Stash changes to tracked files, and set clean=false to avoid removing untracked files.
380340
# Revert changes to RabbitMQ Queue types to avoid a merge conflict
@@ -407,15 +367,13 @@ jobs:
407367
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
408368
if: inputs.upgrade
409369

410-
# NOTE(Alex-Welsh): configure host with selinux_state=disabled, because
411-
# Antelope images are not built as permissive
412370
- name: Host configure
413371
run: |
414372
docker run -t --rm \
415373
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
416374
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
417375
$KAYOBE_IMAGE \
418-
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/overcloud-host-configure.sh -e selinux_state=disabled
376+
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/overcloud-host-configure.sh
419377
env:
420378
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
421379
if: inputs.upgrade
@@ -431,20 +389,6 @@ jobs:
431389
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
432390
if: inputs.upgrade
433391

434-
- name: Ensure we have IP on breth1 to reach the instances
435-
# NOTE(wszumski): Whilst we don't need to create resources again, in some circumstances
436-
# we can lose the IP address that allows us to connect to the instances. This playbook
437-
# also fixes that issue.
438-
run: |
439-
docker run -t --rm \
440-
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
441-
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
442-
${{ steps.kayobe_image.outputs.kayobe_image }} \
443-
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh etc/kayobe/ansible/configure-aio-resources.yml
444-
env:
445-
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
446-
if: inputs.upgrade
447-
448392
- name: Tempest tests
449393
id: tempest
450394
run: |

.github/workflows/stackhpc-pull-request.yml

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -115,17 +115,17 @@ jobs:
115115
if: ${{ needs.check-changes.outputs.build-kayobe-image == 'true' }}
116116
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
117117

118-
# check-tags:
119-
# name: Check container image tags
120-
# needs:
121-
# - check-changes
122-
# - build-kayobe-image
123-
# uses: ./.github/workflows/stackhpc-check-tags.yml
124-
# with:
125-
# kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
126-
# if: ${{ needs.check-changes.outputs.check-tags == 'true' }}
127-
# secrets: inherit
128-
# if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
118+
check-tags:
119+
name: Check container image tags
120+
needs:
121+
- check-changes
122+
- build-kayobe-image
123+
uses: ./.github/workflows/stackhpc-check-tags.yml
124+
with:
125+
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
126+
if: ${{ needs.check-changes.outputs.check-tags == 'true' }}
127+
secrets: inherit
128+
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
129129

130130
all-in-one-ubuntu-noble-ovs:
131131
name: aio (Ubuntu Noble OVS)
@@ -197,6 +197,7 @@ jobs:
197197

198198
# Test two upgrade scenarios: Ubuntu Noble OVS and Rocky 9 OVN.
199199

200+
# On hold until Noble support lands in stackhpc/2024.1
200201
# all-in-one-upgrade-ubuntu-noble-ovs:
201202
# name: aio upgrade (Ubuntu Noble OVS)
202203
# needs:
@@ -215,20 +216,20 @@ jobs:
215216
# secrets: inherit
216217
# if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
217218

218-
# all-in-one-upgrade-rocky-9-ovn:
219-
# name: aio upgrade (Rocky 9 OVN)
220-
# needs:
221-
# - check-changes
222-
# - build-kayobe-image
223-
# uses: ./.github/workflows/stackhpc-all-in-one.yml
224-
# with:
225-
# kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
226-
# os_distribution: rocky
227-
# os_release: "9"
228-
# ssh_username: cloud-user
229-
# neutron_plugin: ovn
230-
# OS_CLOUD: openstack
231-
# if: ${{ needs.check-changes.outputs.aio == 'true' }}
232-
# upgrade: true
233-
# secrets: inherit
234-
# if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
219+
all-in-one-upgrade-rocky-9-ovn:
220+
name: aio upgrade (Rocky 9 OVN)
221+
needs:
222+
- check-changes
223+
- build-kayobe-image
224+
uses: ./.github/workflows/stackhpc-all-in-one.yml
225+
with:
226+
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
227+
os_distribution: rocky
228+
os_release: "9"
229+
ssh_username: cloud-user
230+
neutron_plugin: ovn
231+
OS_CLOUD: openstack
232+
if: ${{ needs.check-changes.outputs.aio == 'true' }}
233+
upgrade: true
234+
secrets: inherit
235+
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

.readthedocs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ version: 2
88
build:
99
apt_packages:
1010
- tox
11-
os: ubuntu-22.04
11+
os: ubuntu-24.04
1212
tools:
13-
python: "3.7"
13+
python: "3.12"
1414
jobs:
1515
post_checkout:
1616
- git remote set-branches origin master stackhpc/master stackhpc/2024.1 stackhpc/2023.1 stackhpc/zed stackhpc/yoga stackhpc/xena stackhpc/wallaby

doc/source/configuration/host-images.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ in ``etc/kayobe/stackhpc-overcloud-host-images.yml``.
2020
Currently, images exist for the following operating systems:
2121

2222
* Rocky Linux 9
23-
* Ubuntu Jammy 22.04
23+
* Ubuntu Noble 24.04
2424

2525
The image to download is selected automatically using the ``os_distribution``
2626
and ``os_release`` variables. These images are versioned and a variable for

doc/source/configuration/ipa.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ post configure`` for Overcloud Ironic. This behaviour can be disabled in
2727
2828
You can also override the distribution version pulled in during deployment,
2929
to do this you can change ``stackhpc_ipa_image_version`` to be the opposite
30-
distribution. For example, the case of switching to Ubuntu 22.04 on a Rocky 9
30+
distribution. For example, the case of switching to Ubuntu 24.04 on a Rocky 9
3131
cloud:
3232

3333
.. code-block:: yaml
3434
35-
stackhpc_ipa_image_version: "{{ stackhpc_ubuntu_jammy_ipa_image_version }}"
35+
stackhpc_ipa_image_version: "{{ stackhpc_ubuntu_noble_ipa_image_version }}"

doc/source/configuration/release-train.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Configuration
3939
This configuration provides the following:
4040

4141
* Configuration to deploy a local Pulp service as a container on the seed
42-
* Pulp repository definitions for Rocky Linux 9 and Ubuntu Jammy 22.04
42+
* Pulp repository definitions for Rocky Linux 9 and Ubuntu Noble 24.04
4343
* Playbooks to synchronise a local Pulp service with Ark
4444
* Configuration to use the local Pulp repository mirrors on control plane hosts
4545
* Configuration to use the local Pulp container registry on control plane hosts
@@ -81,7 +81,7 @@ The Ark pulp credentials issued by StackHPC should be configured in
8181
Package repositories
8282
--------------------
8383

84-
Rocky Linux 9 and Ubuntu Jammy package repositories are synced based on the
84+
Rocky Linux 9 and Ubuntu Noble package repositories are synced based on the
8585
value of ``os_distribution`` and ``os_release``.
8686

8787
On Ark, each package repository provides versioned snapshots using a datetime
@@ -93,7 +93,7 @@ repository.
9393
Package managers
9494
----------------
9595

96-
For Ubuntu Jammy systems, the package manager configuration is provided by
96+
For Ubuntu Noble systems, the package manager configuration is provided by
9797
``stackhpc_apt_repositories`` in ``etc/kayobe/apt.yml``.
9898

9999
The configuration is applied by default to all Ubuntu hosts. The configuration
@@ -110,7 +110,7 @@ including i18n files and command-not-found indices. This breaks APT when the
110110

111111
.. code:: console
112112
113-
E: Failed to fetch https://pulp.example.com/pulp/content/ubuntu/jammy-security/development/dists/jammy-security/main/cnf/Commands-amd64 404 Not Found
113+
E: Failed to fetch https://pulp.example.com/pulp/content/ubuntu/noble-security/development/dists/noble-security/main/cnf/Commands-amd64 404 Not Found
114114
115115
The ``purge-command-not-found.yml`` custom playbook can be used to uninstall
116116
the package, prior to running any other APT commands. It may be installed as a

doc/source/configuration/security-hardening.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ improvement over an unhardened system. A typical score would be 70%.
1212

1313
The following operating systems are supported:
1414

15-
- Ubuntu 22.04
15+
- Ubuntu 24.04
1616
- Rocky 9
1717

1818
Configuration
@@ -25,7 +25,7 @@ instance, you may want different rules on a network node compared to a
2525
controller. It is best to consult the upstream role documentation for details
2626
about what each variable does. The documentation can be found here:
2727

28-
- `Ubuntu 22.04 <https://github.com/ansible-lockdown/UBUNTU22-CIS>`__
28+
- `Ubuntu 24.04 <https://github.com/ansible-lockdown/UBUNTU24-CIS>`__
2929
- `Rocky 9 <https://github.com/ansible-lockdown/RHEL9-CIS>`__
3030

3131
Running the playbooks

doc/source/contributor/environments/aufn-ceph.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,18 @@ This environment creates a Universe-from-nothing_-style deployment of Kayobe con
1414
Prerequisites
1515
=============
1616

17-
* a baremetal node with at least 64GB of RAM running Rocky Linux 9 or Ubuntu Jammy.
18-
19-
* access to the test pulp server on SMS lab
17+
* a VM or baremetal node with at least 64GB of RAM running Rocky Linux 9 or Ubuntu Noble.
2018

2119
Setup
2220
=====
2321

2422
---
2523

26-
**Note**: The steps detailed below are combined into a convenient script which is packaged with this repo at ``etc/kayobe/environments/aufn-ceph/a-universe-from-nothing.sh``. For an automated deployment, this script can simply be copied to the baremetal host and then executed as ``bash ~/a-universe-from-nothing.sh``.
24+
**Note**: The steps detailed below are combined into a convenient script which is packaged with this repo at ``etc/kayobe/environments/aufn-ceph/a-universe-from-nothing.sh``. For an automated deployment, this script can simply be copied to the host and then executed as ``bash ~/a-universe-from-nothing.sh``.
2725

2826
---
2927

30-
To begin the manual setup, access the baremetal node via SSH and install some basic dependencies.
28+
To begin the manual setup, access the node via SSH and install some basic dependencies.
3129

3230
Rocky:
3331

doc/source/contributor/environments/ci-aio.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ make changes to the setup process.
1818
Prerequisites
1919
=============
2020

21-
* a Rocky Linux 9 or Ubuntu Jammy 22.04 host
21+
* a Rocky Linux 9 or Ubuntu Noble 24.04 host
2222

2323
Automated Setup
2424
===============

doc/source/contributor/environments/ci-builder.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ cases.
2929
Prerequisites
3030
=============
3131

32-
* a Rocky Linux 9 or Ubuntu Jammy 22.04 host
32+
* a Rocky Linux 9 or Ubuntu Noble 24.04 host
3333

3434
Setup
3535
=====

0 commit comments

Comments
 (0)