Skip to content

Commit 88a6397

Browse files
authored
Merge pull request #1203 from stackhpc/caracal-aios
Add first tags for Caracal
2 parents 01f7e23 + 2fc9ae3 commit 88a6397

17 files changed

+79
-28
lines changed

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

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,28 @@ jobs:
264264
run: |
265265
docker image pull $KAYOBE_IMAGE
266266
267+
# Rocky 9 OVN deployments will fail when the hostname contains a '.'
268+
- name: Fix hostname
269+
run: |
270+
docker run -t --rm \
271+
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
272+
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
273+
${{ steps.kayobe_image.outputs.kayobe_image }} \
274+
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh etc/kayobe/ansible/fix-hostname.yml
275+
env:
276+
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
277+
278+
# Reboot to Apply hostname change
279+
- name: Reboot
280+
run: |
281+
docker run -t --rm \
282+
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
283+
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
284+
${{ steps.kayobe_image.outputs.kayobe_image }} \
285+
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh etc/kayobe/ansible/reboot.yml -e reboot_with_bootstrap_user=true
286+
env:
287+
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
288+
267289
- name: Run growroot
268290
run: |
269291
docker run -t --rm \
@@ -304,10 +326,29 @@ jobs:
304326
env:
305327
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
306328

329+
- name: Change rabbit queues from HA to Quorum
330+
run: |
331+
sed -i -e 's/om_enable_rabbitmq_high_availability: true/om_enable_rabbitmq_high_availability: false/' \
332+
-e 's/om_enable_rabbitmq_quorum_queues: false/om_enable_rabbitmq_quorum_queues: true/' \
333+
etc/kayobe/environments/ci-aio/kolla/globals.yml
334+
if: inputs.upgrade
335+
336+
- name: Migrate RabbitMQ queues
337+
run: |
338+
docker run -t --rm \
339+
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
340+
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
341+
${{ steps.kayobe_image.outputs.kayobe_image }} \
342+
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/script-run.sh tools/rabbitmq-quorum-migration.sh
343+
env:
344+
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
345+
if: inputs.upgrade
346+
307347
# If testing upgrade, checkout the current release branch
308348
# Stash changes to tracked files, and set clean=false to avoid removing untracked files.
349+
# Revert changes to RabbitMQ Queue types to avoid a merge conflict
309350
- name: Stash config changes
310-
run: git stash
351+
run: git restore etc/kayobe/environments/ci-aio/kolla/globals.yml && git stash
311352
if: inputs.upgrade
312353

313354
- name: Checkout current release config

doc/source/conf.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@
122122
}
123123

124124
extlinks = {
125-
f"{project}-doc": (f"https://docs.openstack.org/{project}/{current_series}/", "%s documentation")
125+
f"{project}-doc": (f"https://docs.openstack.org/{project}/{current_series}/%s", "%s documentation")
126126
for project in extlinks_projects
127127
}
128-
extlinks["skc-doc"] = (f"https://stackhpc-kayobe-config.readthedocs.io/en/stackhpc-{current_series}/", "%s documentation")
129-
extlinks["kayobe-renos"] = (f"https://docs.openstack.org/releasenotes/kayobe/{current_series}.html", "%s release notes")
130-
extlinks["kolla-ansible-renos"] = (f"https://docs.openstack.org/releasenotes/kolla-ansible/{current_series}.html", "%s release notes")
131-
extlinks["ceph-doc"] = (f"https://docs.ceph.com/en/{ceph_series}/", "%s documentation")
128+
extlinks["skc-doc"] = (f"https://stackhpc-kayobe-config.readthedocs.io/en/stackhpc-{current_series}/%s", "%s documentation")
129+
extlinks["kayobe-renos"] = (f"https://docs.openstack.org/releasenotes/kayobe/{current_series}.html%s", "%s release notes")
130+
extlinks["kolla-ansible-renos"] = (f"https://docs.openstack.org/releasenotes/kolla-ansible/{current_series}.html%s", "%s release notes")
131+
extlinks["ceph-doc"] = (f"https://docs.ceph.com/en/{ceph_series}/%s", "%s documentation")

etc/kayobe/ansible/fix-hostname.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
- name: Fix hostname on storage nodes for cephadm
3-
hosts: storage
2+
- name: Ensure hostnames match inventory hostnames
3+
hosts: fix-hostname
44
gather_facts: false
55
vars:
66
ansible_user: "{{ bootstrap_user }}"

etc/kayobe/environments/ci-aio/inventory/groups

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33
[container-image-builders:children]
44
# Build container images on the all-in-one controller.
55
controllers
6+
7+
[fix-hostname:children]
8+
controllers

etc/kayobe/environments/ci-multinode/inventory/groups

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33
[container-image-builders:children]
44
# Build container images on the all-in-one controller.
55
controllers
6+
7+
[fix-hostname:children]
8+
storage

etc/kayobe/kolla-image-tags.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@
44
# where the key is the OS distro and the value is the tag to deploy.
55
kolla_image_tags:
66
openstack:
7-
rocky-9: 2024.1-rocky-9-placeholder
8-
ubuntu-jammy: 2024.1-ubuntu-jammy-placeholder
7+
rocky-9: 2024.1-rocky-9-20240725T165045
8+
ubuntu-jammy: 2024.1-ubuntu-jammy-20240725T165045
9+
heat:
10+
rocky-9: 2024.1-rocky-9-20240805T142526
11+
ubuntu-jammy: 2024.1-ubuntu-jammy-20240805T142526

etc/kayobe/kolla/globals.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ kolla_image_tags:
2222
# Variables defining which tag to use for each container's image.
2323
{{ lookup('pipe', 'python3 ' ~ kayobe_config_path ~ '/../../tools/kolla-images.py list-tag-vars') }}
2424

25-
#############################################################################
26-
# RabbitMQ
27-
28-
om_enable_rabbitmq_high_availability: true
29-
3025
#############################################################################
3126
# Monitoring and alerting related settings
3227

etc/kayobe/stackhpc.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,11 @@ stackhpc_kolla_source_version: "stackhpc/{{ openstack_release }}"
145145

146146
# Kolla Ansible source repository.
147147
stackhpc_kolla_ansible_source_url: "https://github.com/stackhpc/kolla-ansible"
148-
stackhpc_kolla_ansible_source_version: "stackhpc/{{ openstack_release }}"
148+
# FIXME: Waiting for
149+
# https://review.opendev.org/c/openstack/kolla-ansible/+/926198 to merge and
150+
# sync to stackhpc/2024.1
151+
# stackhpc_kolla_ansible_source_version: "stackhpc/{{ openstack_release }}"
152+
stackhpc_kolla_ansible_source_version: "fix-prometheus"
149153

150154
###############################################################################
151155
# Container image registry

releasenotes/config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
2-
# This needs to be updated to the latest release.
3-
release_tag_re: stackhpc/14\.\d+\.\d+\.\d
2+
# NOTE(upgrade): This needs to be updated to the current release's major version.
3+
release_tag_re: stackhpc/16\.\d+\.\d+\.\d
44
ignore_null_merges: false

releasenotes/notes/cve-2024-32498-2cbd205129351766.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
critical:
33
- |
44
Fixes `CVE-2024-32498
5-
<https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-32498>`_ with
5+
<https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-32498>`__ with
66
updated container images for Cinder, Glance and Nova services.
77

releasenotes/notes/kayobe-image-f1227adacb28f40b.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
features:
33
- |
44
StackHPC Kayobe Configuration container images for CI/CD with `Kayobe
5-
Automation <https://github.com/stackhpc/kayobe-automation>`_ are now
5+
Automation <https://github.com/stackhpc/kayobe-automation>`__ are now
66
published to GitHub Container Registry (GHCR) at
77
ghcr.io/stackhpc/stackhpc-kayobe-config. The image is tagged with the name
88
of the release branch, e.g. ``stackhpc/yoga``.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
---
22
features:
33
- |
4-
Adds the new magnum-capi-helm out of tree driver (see here https://github.com/stackhpc/magnum-capi-helm) into release train magnum containers
4+
Adds the new magnum-capi-helm out of tree driver (see here
5+
https://github.com/stackhpc/magnum-capi-helm) into release train magnum
6+
containers
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
other:
33
- |
4-
Changes the Grafana OpenStack dashboard to show HTTP status 300 as green instead of
5-
orange.
4+
Changes the Grafana OpenStack dashboard to show HTTP status 300 as green
5+
instead of orange.

releasenotes/notes/update-haproxy-dashboard-b8807c2a0645ca5e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ features:
33
- |
44
The HAProxy dashboard and alerts have been updated to use the new metrics
55
source in Kolla Ansible. For further details see `here
6-
<https://review.opendev.org/c/openstack/kolla-ansible/+/877118`__.
6+
<https://review.opendev.org/c/openstack/kolla-ansible/+/877118>`__.

releasenotes/notes/wallaby-c3c55c39c7b118f2.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
features:
33
- |
44
Adds support for package repository snapshots via `Pulp
5-
<https://pulpproject.org/>`_. A local Pulp server is deployed on the seed,
5+
<https://pulpproject.org/>`__. A local Pulp server is deployed on the seed,
66
which syncs package repositories and container images from the StackHPC
7-
`Ark <https://ark.stackhpc.com>`_ Pulp server. Control plane servers pull
7+
`Ark <https://ark.stackhpc.com>`__ Pulp server. Control plane servers pull
88
packages and container images from the local Pulp server.
99
- |
1010
The EPEL package repository is disabled by default. It may be enabled by

releasenotes/notes/xena-batch-bc1da4e4d0f6257e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
features:
33
- |
44
Adds a custom playbook to run the `Anomaly Detection Visualiser (ADVise)
5-
<https://github.com/stackhpc/advise>`_, ``advise-run.yml``.
5+
<https://github.com/stackhpc/advise>`__, ``advise-run.yml``.
66
- |
77
Adds a custom playbook to reset the RabbitMQ cluster and restart OpenStack
88
services that use it, ``rabbitmq-reset.yml``.

0 commit comments

Comments
 (0)