Skip to content

2023.1: zed merge #742

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 29 commits into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
bd6d2a2
feat: bump bifrost tag
jackhodgkiss Sep 22, 2023
94bd7cb
Merge pull request #689 from stackhpc/xena-wallaby-merge
markgoddard Oct 6, 2023
25a29c9
Merge branch 'stackhpc/xena' into bump-bifrost-xena-tag
jackhodgkiss Oct 20, 2023
62d0d33
feat: bump `bifrost` for `centos`
jackhodgkiss Oct 20, 2023
2044783
Merge pull request #660 from stackhpc/bump-bifrost-xena-tag
markgoddard Oct 27, 2023
57021fe
CI: Skip aio jobs based on changed files
markgoddard Oct 13, 2023
9a348c5
Disable custom apt config for non-overcloud hosts
Alex-Welsh Oct 30, 2023
e061186
Fix seed container image build
priteau Sep 4, 2023
3f3ab99
Merge pull request #732 from stackhpc/zed-seed-image-build-fix
markgoddard Nov 1, 2023
ec1ff05
Merge pull request #729 from stackhpc/non-overcloud-apt-conf-yoga
Alex-Welsh Nov 1, 2023
33f1d88
Merge pull request #726 from stackhpc/wallaby-ci-path-filter
markgoddard Nov 1, 2023
a166a97
Remove facts for purge-command-not-found.yml
Alex-Welsh Nov 1, 2023
e8831a4
Merge pull request #734 from stackhpc/gather-facts-pcnf
markgoddard Nov 2, 2023
1fc255d
Add Opensearch to AUFN services
MaxBed4d Oct 27, 2023
a2d8885
Merge pull request #735 from stackhpc/aufn-ceph_overcloud-services_in…
markgoddard Nov 2, 2023
368b160
Merge stackhpc/wallaby into stackhpc/xena
markgoddard Nov 2, 2023
6650794
CI: Add missing condition to PR workflow
markgoddard Nov 2, 2023
374cc79
Merge stackhpc/xena into stackhpc/yoga
markgoddard Nov 2, 2023
6900257
CI: Add conditions to PR workflow
markgoddard Nov 2, 2023
8ac2167
Merge stackhpc/yoga into stackhpc/zed
markgoddard Nov 2, 2023
ee9f163
Merge stackhpc/zed into stackhpc/2023.1
markgoddard Nov 2, 2023
23c3947
aufn-ceph: Sync overcloud-services.j2
markgoddard Nov 2, 2023
fd8830f
Merge branch stackhpc/zed into stackhpc/2023.1
markgoddard Nov 2, 2023
82e8ff2
CI: Add more conditions to PR workflow
markgoddard Nov 2, 2023
5dbeef8
Merge branch 'yoga-xena-merge' into zed-yoga-merge
markgoddard Nov 2, 2023
ece2fa7
Merge branch 'zed-yoga-merge' into 2023.1-zed-merge
markgoddard Nov 2, 2023
5867cce
CI: Add missing job dependencies to PR workflow
markgoddard Nov 3, 2023
f009c7a
Merge branch stackhpc/yoga into stackhpc/zed
markgoddard Nov 3, 2023
26e520f
Merge branch stackhpc/zed into stackhpc/2023.1
markgoddard Nov 3, 2023
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
22 changes: 22 additions & 0 deletions .github/path-filters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This file is a list of path filters for the PR workflow in .github/workflows/stackhpc-pull-request.yml.
aio:
- '.automation'
- '.automation.conf/config.sh'
- '.automation.conf/tempest/load-lists/default'
- '.automation.conf/tempest/load-lists/platform.2022.11-test-list.txt'
- '.automation.conf/tempest/load-lists/refstack-2019.11-test-list.txt'
- '.automation.conf/tempest/tempest-ci-aio.overrides.conf'
- '.github/workflows/stackhpc-all-in-one.yml'
- '.github/workflows/stackhpc-build-kayobe-image.yml'
- '.github/workflows/stackhpc-pull-request.yml'
- 'etc/kayobe/*.yml'
- 'etc/kayobe/ansible/configure-aio-resources.yml'
- 'etc/kayobe/ansible/growroot.yml'
- 'etc/kayobe/ansible/requirements.yml'
- 'etc/kayobe/ansible/scripts/aio-init.sh'
- 'etc/kayobe/environments/ci-aio/**'
- 'etc/kayobe/inventory/**'
- 'etc/kayobe/kolla/**'
- 'kayobe-env'
- 'requirements.txt'
- 'terraform/aio/**'
5 changes: 5 additions & 0 deletions .github/workflows/stackhpc-all-in-one.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ on:
description: Name of cloud in clouds.yaml
type: string
required: true
if:
description: Whether to run the workflow (workaround for required status checks issue)
type: boolean
default: true
secrets:
KAYOBE_VAULT_PASSWORD:
required: true
Expand All @@ -65,6 +69,7 @@ jobs:
# NOTE: Runner needs unzip and nodejs packages.
all-in-one:
name: All in one
if: inputs.if
runs-on: [self-hosted, stackhpc-kayobe-config-aio]
permissions: {}
env:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/stackhpc-build-kayobe-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ on:
type: string
required: false
default: "rockylinux:9"
if:
description: Whether to run the workflow (workaround for required status checks issue)
type: boolean
default: true
outputs:
kayobe_image:
description: Reference of Kayobe image that was built
Expand All @@ -32,6 +36,7 @@ env:
jobs:
build-kayobe-image:
name: Build kayobe image
if: inputs.if
runs-on: ubuntu-20.04
permissions:
contents: read
Expand Down
51 changes: 47 additions & 4 deletions .github/workflows/stackhpc-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,29 @@ name: Pull request
'on':
pull_request:
jobs:
# Detect which files have changed and use this to run jobs conditionally.
# Note that we can't use the workflow-level paths attribute since this
# would skip the workflow entirely, and would prevent us from making the
# aio jobs required to pass (a skip counts as a pass).
check-changes:
runs-on: ubuntu-20.04
permissions:
pull-requests: read
name: Check changed files
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
outputs:
aio: ${{ steps.changes.outputs.aio }}
steps:
- name: GitHub Checkout
uses: actions/checkout@v3

- name: Check changed files
uses: dorny/paths-filter@v2
id: changes
with:
# Filters are defined in this file.
filters: .github/path-filters.yml

tox:
runs-on: ubuntu-22.04
permissions: {}
Expand Down Expand Up @@ -36,14 +59,27 @@ jobs:
- name: Run Tox ${{ matrix.environment }} 🧪
run: tox -e ${{ matrix.environment }}

# A skipped job is treated as success when used as a required status check.
# The registered required status checks refer to the name of the job in the
# called reusable workflow rather than the jobs in this file. The following
# jobs need to run unconditionally to allow GitHub required status checks to
# pass even when there are changed files. The `! failure()` condition runs
# when the parent jobs completed successfully or were skipped. We pass an
# 'if' argument to the called workflow to allow running it conditionally.

build-kayobe-image:
name: Build Kayobe Image
needs:
- check-changes
uses: ./.github/workflows/stackhpc-build-kayobe-image.yml
with:
if: ${{ needs.check-changes.outputs.aio == 'true' }}
if: github.repository == 'stackhpc/stackhpc-kayobe-config'

all-in-one-ubuntu-jammy-ovs:
name: aio (Ubuntu Jammy OVS)
needs:
- check-changes
- build-kayobe-image
uses: ./.github/workflows/stackhpc-all-in-one.yml
with:
Expand All @@ -53,12 +89,14 @@ jobs:
ssh_username: ubuntu
neutron_plugin: ovs
OS_CLOUD: sms-lab-release
if: ${{ needs.check-changes.outputs.aio == 'true' }}
secrets: inherit
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

all-in-one-ubuntu-jammy-ovn:
name: aio (Ubuntu Jammy OVN)
needs:
- check-changes
- build-kayobe-image
uses: ./.github/workflows/stackhpc-all-in-one.yml
with:
Expand All @@ -68,12 +106,14 @@ jobs:
ssh_username: ubuntu
neutron_plugin: ovn
OS_CLOUD: sms-lab-release
if: ${{ needs.check-changes.outputs.aio == 'true' }}
secrets: inherit
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

all-in-one-rocky-9-ovs:
name: aio (Rocky 9 OVS)
needs:
- check-changes
- build-kayobe-image
uses: ./.github/workflows/stackhpc-all-in-one.yml
with:
Expand All @@ -83,12 +123,14 @@ jobs:
ssh_username: cloud-user
neutron_plugin: ovs
OS_CLOUD: sms-lab-release
if: ${{ needs.check-changes.outputs.aio == 'true' }}
secrets: inherit
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

all-in-one-rocky-9-ovn:
name: aio (Rocky 9 OVN)
needs:
- check-changes
- build-kayobe-image
uses: ./.github/workflows/stackhpc-all-in-one.yml
with:
Expand All @@ -98,5 +140,6 @@ jobs:
ssh_username: cloud-user
neutron_plugin: ovn
OS_CLOUD: sms-lab-release
if: ${{ needs.check-changes.outputs.aio == 'true' }}
secrets: inherit
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
2 changes: 1 addition & 1 deletion etc/kayobe/ansible/purge-command-not-found.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
become: true
failed_when: false
ignore_unreachable: true
when: ansible_facts.os_family == "Debian"
when: os_distribution == "ubuntu"
10 changes: 8 additions & 2 deletions etc/kayobe/apt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,18 @@ stackhpc_apt_repositories:
signed_by: docker.asc
architecture: amd64

apt_repositories: "{{ stackhpc_apt_repositories }}"
# Do not replace apt configuration for non-overcloud hosts. This can result in
# errors if apt reconfiguration is performed before local repository mirrors
# are deployed.
apt_repositories: "{{ stackhpc_apt_repositories if 'overcloud' in group_names else [] }}"

# Whether to disable repositories in /etc/apt/sources.list. This may be used
# when replacing the distribution repositories via apt_repositories.
# Default is false.
apt_disable_sources_list: true
# Do not disable the default apt configuration for non-overcloud hosts. This
# can result in errors if apt reconfiguration is performed before local
# repository mirrors are deployed.
apt_disable_sources_list: "{{ 'overcloud' in group_names }}"

###############################################################################
# Dummy variable to allow Ansible to accept this file.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -472,9 +472,6 @@ storage
[prometheus-alertmanager:children]
monitoring

[prometheus-msteams:children]
monitoring

[prometheus-openstack-exporter:children]
monitoring

Expand Down Expand Up @@ -523,3 +520,9 @@ ovn-database

[ovn-sb-db:children]
ovn-database

[venus-api:children]
venus

[venus-manager:children]
venus
7 changes: 7 additions & 0 deletions releasenotes/notes/bump-bifrost-xena-c0c65bd823ed15fa.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
fixes:
- |
Rebuild and bump the Bifrost container for Xena to include fix for
`Error while running update_to_latest_versions: ''BIOSSetting''
object has no attribute` during `Ironic database migrations on upgrade`

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
fixes:
- |
Disabled custom APT configuration for non-overcloud hosts (Ubuntu Only).
This resolves the issue of the seed hypervisor attempting to pull packages
from the repository on the seed before it has been deployed.