Skip to content

Commit e098d3a

Browse files
committed
Merge stackhpc/2023.1 into stackhpc/2024.1
2 parents 88a6397 + 09275df commit e098d3a

File tree

7 files changed

+94
-6
lines changed

7 files changed

+94
-6
lines changed

.automation

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,17 @@ jobs:
137137
run: ssh-keygen -f id_rsa -N ''
138138
working-directory: ${{ github.workspace }}/terraform/aio
139139

140+
# TODO: Remove the following step in Antelope.
141+
# NOTE: In Ansible 2.10 and lower the synchronize module used in the
142+
# ansible/diagnostics.yml playbook does not respect SSH connection
143+
# variables. This may result in Permission Denied issues if using an SSH
144+
# key that is not in ~/.ssh.
145+
- name: Copy SSH keypair to .ssh/
146+
run: |
147+
install -d ~/.ssh -m 700 &&
148+
cp id_rsa* ~/.ssh/
149+
working-directory: ${{ github.workspace }}/terraform/aio
150+
140151
- name: Generate clouds.yaml
141152
run: |
142153
cat << EOF > clouds.yaml
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
# This workflow provides a workflow_dispatch (manual) trigger to deploy a
3+
# multi-node test cluster.
4+
5+
name: Multinode
6+
'on':
7+
workflow_dispatch:
8+
# NOTE: workflow_dispatch is limited to 10 inputs.
9+
inputs:
10+
multinode_name:
11+
description: Multinode cluster name
12+
type: string
13+
required: true
14+
os_distribution:
15+
description: Host OS distribution
16+
type: choice
17+
default: rocky
18+
options:
19+
- rocky
20+
- ubuntu
21+
neutron_plugin:
22+
description: Neutron ML2 plugin
23+
type: choice
24+
default: ovn
25+
options:
26+
- ovn
27+
- ovs
28+
upgrade:
29+
description: Whether to perform an upgrade
30+
type: boolean
31+
default: false
32+
break_on:
33+
description: When to break execution for manual interaction
34+
type: choice
35+
default: never
36+
options:
37+
- always
38+
- failure
39+
- never
40+
- success
41+
break_duration:
42+
description: How long to break execution for (minutes)
43+
type: number
44+
default: 60
45+
ssh_key:
46+
description: SSH public key to authorise on Ansible control host
47+
type: string
48+
terraform_kayobe_multinode_version:
49+
description: terraform-kayobe-multinode version
50+
type: string
51+
default: main
52+
jobs:
53+
multinode:
54+
name: Multinode
55+
uses: stackhpc/stackhpc-openstack-gh-workflows/.github/workflows/[email protected]
56+
with:
57+
multinode_name: ${{ inputs.multinode_name }}
58+
os_distribution: ${{ inputs.os_distribution }}
59+
os_release: ${{ inputs.os_distribution == 'rocky' && '9' || 'jammy' }}
60+
ssh_username: ${{ inputs.os_distribution == 'rocky' && 'cloud-user' || 'ubuntu' }}
61+
neutron_plugin: ${{ inputs.neutron_plugin }}
62+
upgrade: ${{ inputs.upgrade }}
63+
break_on: ${{ inputs.break_on }}
64+
# Workaround loss of number type using fromJSON: https://github.com/orgs/community/discussions/67182
65+
break_duration: ${{ fromJSON(inputs.break_duration) }}
66+
ssh_key: ${{ inputs.ssh_key }}
67+
stackhpc_kayobe_config_version: ${{ github.ref_name }}
68+
# NOTE(upgrade): Reference the PREVIOUS release here.
69+
stackhpc_kayobe_config_previous_version: stackhpc/zed
70+
terraform_kayobe_multinode_version: ${{ inputs.terraform_kayobe_multinode_version }}
71+
secrets: inherit

doc/source/configuration/monitoring.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ on the overcloud hosts:
7474
.. code-block:: console
7575
7676
(kayobe) [stack@node ~]$ cd etc/kayobe
77-
(kayobe) [stack@node kayobe]$ kayobe playbook run ansible/smartmontools.yml
77+
(kayobe) [stack@node kayobe]$ kayobe playbook run ansible/smartmon-tools.yml
7878
7979
SMART reporting should now be enabled along with a Prometheus alert for
8080
unhealthy disks and a Grafana dashboard called ``Hardware Overview``.

etc/kayobe/environments/aufn-ceph/tenks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ node_types:
2121
volumes:
2222
# There is a minimum disk space capacity requirement of 4GiB when using Ironic Python Agent:
2323
# https://github.com/openstack/ironic-python-agent/blob/master/ironic_python_agent/utils.py#L290
24-
- capacity: 10GiB
24+
- capacity: 15GiB
2525
# Ceph volume
26-
- capacity: 10GiB
26+
- capacity: 20GiB
2727
physical_networks:
2828
- provision-net
2929
- cloud-net
@@ -34,7 +34,7 @@ node_types:
3434
volumes:
3535
# There is a minimum disk space capacity requirement of 4GiB when using Ironic Python Agent:
3636
# https://github.com/openstack/ironic-python-agent/blob/master/ironic_python_agent/utils.py#L290
37-
- capacity: 10GiB
37+
- capacity: 15GiB
3838
physical_networks:
3939
- provision-net
4040
- cloud-net

etc/kayobe/kolla.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ kolla_build_blocks:
344344
magnum_base_footer: |
345345
RUN curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | head -n -1 | bash
346346
{% raw %}
347-
{% set magnum_capi_packages = ['magnum-capi-helm==1.0.0'] %}
347+
{% set magnum_capi_packages = ['magnum-capi-helm==1.1.0'] %}
348348
RUN {{ macros.install_pip(magnum_capi_packages | customizable("pip_packages")) }}
349349
{% endraw %}
350350
prometheus_alertmanager_repository_version: | # 2023.1 kolla has 0.24.0
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
features:
3+
- |
4+
``magnum-capi-helm`` driver has been updated to 1.1.0.
5+
Please see `magnum-capi-helm release notes <https://docs.openstack.org/releasenotes/magnum-capi-helm/unreleased.html#relnotes-1-1-0>`_
6+
for changes.

0 commit comments

Comments
 (0)