Skip to content

Commit

Permalink
Merge pull request #1242 from stackhpc/2024.1-2023.1-merge
Browse files Browse the repository at this point in the history
2024.1: 2023.1 merge
  • Loading branch information
markgoddard committed Aug 22, 2024
2 parents 947c373 + 0729994 commit 3381a58
Show file tree
Hide file tree
Showing 7 changed files with 84 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .automation
71 changes: 71 additions & 0 deletions .github/workflows/stackhpc-multinode.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
# This workflow provides a workflow_dispatch (manual) trigger to deploy a
# multi-node test cluster.

name: Multinode
'on':
workflow_dispatch:
# NOTE: workflow_dispatch is limited to 10 inputs.
inputs:
multinode_name:
description: Multinode cluster name
type: string
required: true
os_distribution:
description: Host OS distribution
type: choice
default: rocky
options:
- rocky
- ubuntu
neutron_plugin:
description: Neutron ML2 plugin
type: choice
default: ovn
options:
- ovn
- ovs
upgrade:
description: Whether to perform an upgrade
type: boolean
default: false
break_on:
description: When to break execution for manual interaction
type: choice
default: never
options:
- always
- failure
- never
- success
break_duration:
description: How long to break execution for (minutes)
type: number
default: 60
ssh_key:
description: SSH public key to authorise on Ansible control host
type: string
terraform_kayobe_multinode_version:
description: terraform-kayobe-multinode version
type: string
default: main
jobs:
multinode:
name: Multinode
uses: stackhpc/stackhpc-openstack-gh-workflows/.github/workflows/[email protected]
with:
multinode_name: ${{ inputs.multinode_name }}
os_distribution: ${{ inputs.os_distribution }}
os_release: ${{ inputs.os_distribution == 'rocky' && '9' || 'jammy' }}
ssh_username: ${{ inputs.os_distribution == 'rocky' && 'cloud-user' || 'ubuntu' }}
neutron_plugin: ${{ inputs.neutron_plugin }}
upgrade: ${{ inputs.upgrade }}
break_on: ${{ inputs.break_on }}
# Workaround loss of number type using fromJSON: https://github.com/orgs/community/discussions/67182
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: stackhpc/2023.1
terraform_kayobe_multinode_version: ${{ inputs.terraform_kayobe_multinode_version }}
secrets: inherit
2 changes: 1 addition & 1 deletion doc/source/configuration/monitoring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ on the overcloud hosts:
.. code-block:: console
(kayobe) [stack@node ~]$ cd etc/kayobe
(kayobe) [stack@node kayobe]$ kayobe playbook run ansible/smartmontools.yml
(kayobe) [stack@node kayobe]$ kayobe playbook run ansible/smartmon-tools.yml
SMART reporting should now be enabled along with a Prometheus alert for
unhealthy disks and a Grafana dashboard called ``Hardware Overview``.
Expand Down
6 changes: 3 additions & 3 deletions etc/kayobe/environments/aufn-ceph/tenks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ node_types:
volumes:
# There is a minimum disk space capacity requirement of 4GiB when using Ironic Python Agent:
# https://github.com/openstack/ironic-python-agent/blob/master/ironic_python_agent/utils.py#L290
- capacity: 10GiB
- capacity: 15GiB
# Ceph volume
- capacity: 10GiB
- capacity: 20GiB
physical_networks:
- provision-net
- cloud-net
Expand All @@ -34,7 +34,7 @@ node_types:
volumes:
# There is a minimum disk space capacity requirement of 4GiB when using Ironic Python Agent:
# https://github.com/openstack/ironic-python-agent/blob/master/ironic_python_agent/utils.py#L290
- capacity: 10GiB
- capacity: 15GiB
physical_networks:
- provision-net
- cloud-net
Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/kolla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ kolla_build_blocks:
magnum_base_footer: |
RUN curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | head -n -1 | bash
{% raw %}
{% set magnum_capi_packages = ['magnum-capi-helm==1.0.0'] %}
{% set magnum_capi_packages = ['magnum-capi-helm==1.1.0'] %}
RUN {{ macros.install_pip(magnum_capi_packages | customizable("pip_packages")) }}
{% endraw %}
prometheus_alertmanager_repository_version: | # 2023.1 kolla has 0.24.0
Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/kolla/kolla-build.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ base_tag = jammy-20231004
{% elif kolla_base_distro == 'rocky' %}
base_tag = 9.{{ stackhpc_pulp_repo_rocky_9_minor_version }}
{% endif %}
build_args = {{ kolla_build_args.items() | map('join', ':') | join(',') }}
build_args = {{ (kolla_build_args | default({})).items() | map('join', ':') | join(',') }}

[openstack-base]
type = git
Expand Down
6 changes: 6 additions & 0 deletions releasenotes/notes/magnum-capi-1-1-0-68f14759413316c4.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
features:
- |
``magnum-capi-helm`` driver has been updated to 1.1.0.
Please see `magnum-capi-helm release notes <https://docs.openstack.org/releasenotes/magnum-capi-helm/unreleased.html#relnotes-1-1-0>`_
for changes.

0 comments on commit 3381a58

Please sign in to comment.