Skip to content

2024.1: 2023.1 merge #1052

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 234 commits into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
234 commits
Select commit Hold shift + click to select a range
ded3c04
kayobe-env: Unstick KOLLA_SOURCE_PATH and KOLLA_VENV_PATH
markgoddard Sep 20, 2023
d1a47be
Fix OSD summary pie chart
jovial Nov 28, 2023
b81ee74
Add a note about network interfaces changes
priteau Dec 5, 2023
d422259
Synchronise with kayobe stable/yoga
priteau Dec 8, 2023
78c3257
Bump seed Pulp to 3.43.1
m-bull Jan 10, 2024
ac809cb
Skip docker registry login by default, login only when pulp is deployed
MoteHue Jan 19, 2024
f70698b
Update .gitreview for unmaintained/yoga
openstackadmin Feb 5, 2024
1b958ba
Bump kolla image tags for ubuntu jammy 2023.1 except for neutron
seunghun1ee Feb 7, 2024
dd18412
Deprecate network configuration in environments
assumptionsandg Feb 7, 2024
5650007
Merge branch 'stackhpc/2023.1' into bugfix/antelope/osd-summary
jovial Feb 9, 2024
2268aff
Upgrade neutron kolla tag but ovs is not included
seunghun1ee Feb 7, 2024
2257103
CI: Fail aio job when Terraform reaches max attempts
markgoddard Feb 13, 2024
6cff19b
Merge pull request #938 from stackhpc/zed-yoga-merge
markgoddard Feb 13, 2024
4837c8d
Merge pull request #940 from stackhpc/yoga-fix-tf-retries
markgoddard Feb 14, 2024
d9c3e65
Merge branch 'stackhpc/yoga' into update/seed-pulp-3.43.1
m-bull Feb 14, 2024
56abaa7
Reduce Elasticsearch/OpenSearch heap size to 200m in ci-aio env
markgoddard Feb 14, 2024
b293231
Disable Heat in ci-aio env
markgoddard Feb 14, 2024
23247d1
Reduce aio flavor to en1.medium
markgoddard Feb 14, 2024
1d75be4
CI: Add tags to aio VMs
markgoddard Feb 14, 2024
bf7649e
CI: Add a workflow to clean up stale instances
markgoddard Feb 14, 2024
c338dd9
CI: Use skc-ci-aio user for aio jobs
markgoddard Feb 14, 2024
3818ff9
Ubuntu Focal to Jammy migration support (#902)
seunghun1ee Feb 15, 2024
55672df
Stop warning about invalid group name characters
priteau Feb 16, 2024
f2ba8ec
Fix growroot playbook for NVMe devices
priteau Feb 17, 2024
ca7fd1d
CI: Clean up instances in BUILD state, list by ID
markgoddard Feb 19, 2024
186a03c
CI: Use correct URL for upper constraints
markgoddard Feb 19, 2024
dd288f1
Merge pull request #942 from stackhpc/yoga-medium-aio
markgoddard Feb 19, 2024
98cfeba
Merge pull request #945 from stackhpc/silence-group-name-warning
markgoddard Feb 19, 2024
8ddb62d
bumping ansible vault
GregWhiteyBialas Feb 19, 2024
591f5cf
Merge pull request #941 from stackhpc/yoga-aio-tags
markgoddard Feb 20, 2024
82c52b3
Merge pull request #949 from stackhpc/vault_module_bump
markgoddard Feb 20, 2024
0030f3e
docs: Update network interface note to mention group_vars
markgoddard Feb 20, 2024
391eff3
Merge pull request #816 from stackhpc/rl9-network-interfaces
markgoddard Feb 20, 2024
b3e2c56
Enable AiO jobs to be cancelled even if they're underway.
MaxBed4d Feb 9, 2024
4d3356e
Merge pull request #866 from stackhpc/update/seed-pulp-3.43.1
markgoddard Feb 20, 2024
5ddab7d
Merge pull request #926 from stackhpc/Enable-Job-Cancellation
markgoddard Feb 20, 2024
a679cd4
Merge pull request #943 from stackhpc/yoga-aio-user
markgoddard Feb 20, 2024
22c15b7
Merge stackhpc/yoga into stackhpc/zed
markgoddard Feb 20, 2024
858af17
Merge stackhpc/zed into stackhpc/2023.1
markgoddard Feb 20, 2024
2ce47a0
CI: Add cancellation support to check-tags job
markgoddard Feb 20, 2024
1ba626b
Merge stackhpc/zed into stackhpc/2023.1
markgoddard Feb 20, 2024
ce21220
Merge pull request #947 from stackhpc/fix-growroot
markgoddard Feb 20, 2024
b4c00af
Merge pull request #803 from stackhpc/bugfix/antelope/osd-summary
markgoddard Feb 20, 2024
6ca2eb6
Adds alerts for software raid failures (#935)
jovial Feb 20, 2024
880d0b2
docs: guide for migrating to containerized libvirt in R8/R9 migration
bbezak Feb 19, 2024
dce592c
Remove Ubuntu Jammy upgrade release note
markgoddard Feb 21, 2024
b23dfe8
Merge pull request #948 from stackhpc/nova-libvirt-container
markgoddard Feb 21, 2024
1b271ba
Merge pull request #950 from stackhpc/zed-yoga-merge
markgoddard Feb 21, 2024
a37584b
Merge stackhpc/zed into stackhpc/2023.1
markgoddard Feb 21, 2024
4259854
Merge pull request #951 from stackhpc/2023.1-zed-merge
markgoddard Feb 21, 2024
5931ff0
Various os_capacity fixes
assumptionsandg Oct 9, 2023
75f4857
Update Kolla container images for Ubuntu Jammy Zed (#904)
seunghun1ee Feb 21, 2024
ed7b03f
Merge pull request #697 from stackhpc/os-capacity-more-fixes
markgoddard Feb 21, 2024
0e7ea64
Ensure cron service is started for smartmon
technowhizz Dec 28, 2023
3fca474
Bump RL9 host image to RL9.3 (#897)
MoteHue Feb 21, 2024
ffe3ed3
Add Ubuntu Jammy upgrade doc
Alex-Welsh Feb 15, 2024
a00ffc1
Merge pull request #856 from stackhpc/smartmon-update
markgoddard Feb 21, 2024
a41fe3f
Merge pull request #946 from stackhpc/jammy-docs
markgoddard Feb 21, 2024
df7481b
Merge branch 'stackhpc/yoga' into remove-network-config
markgoddard Feb 21, 2024
e22e6e1
Update neutron tag to include OVS images
seunghun1ee Feb 21, 2024
b189927
Merge pull request #920 from stackhpc/remove-network-config
markgoddard Feb 21, 2024
b7d5113
Add missing haproxy and letsencrypt images
seunghun1ee Feb 21, 2024
27ebaa5
Set kolla_build_neutron_ovs to true if regex empty
seunghun1ee Feb 15, 2024
a9a3980
Add missing quotes
seunghun1ee Feb 21, 2024
2249baf
Change the variable definition location
seunghun1ee Feb 21, 2024
b0965ae
Merge pull request #914 from stackhpc/2023.1-kolla-image-upgrade
markgoddard Feb 21, 2024
9f1bf56
Merge pull request #953 from stackhpc/update-container-image-build
seunghun1ee Feb 22, 2024
8c79f54
Merge stackhpc/yoga into stackhpc/zed
markgoddard Feb 22, 2024
2dbc711
Merge stackhpc/zed into stackhpc/2023.1
markgoddard Feb 22, 2024
d5dff92
Fix query for top Ceph pools by capacity used
priteau Feb 22, 2024
adb4a85
Merge pull request #956 from stackhpc/ceph-pool-capacity-topk
priteau Feb 22, 2024
1bf22fc
Merge pull request #954 from stackhpc/zed-yoga-merge
markgoddard Feb 22, 2024
e4036c3
Merge pull request #955 from stackhpc/2023.1-zed-merge
markgoddard Feb 22, 2024
93ba47e
Default to RegionOne for os-capacity
assumptionsandg Feb 22, 2024
98c5516
Merge pull request #958 from stackhpc/os-capacity-fix-region
assumptionsandg Feb 23, 2024
0aa2c97
Moving variable from play to group_vars
grzegorzkoper Jan 24, 2024
11d036c
Merge pull request #960 from stackhpc/growroot_yoga_cherry
markgoddard Feb 26, 2024
ed6eab9
Document update of IPA kernel URL
priteau Feb 27, 2024
3919a23
Merge pull request #961 from stackhpc/bifrost-ipa-kernel-update
markgoddard Feb 27, 2024
e4f7036
Override kolla_base_distro_version
MoteHue Feb 8, 2024
0bc60fc
Add docs page for running Tempest
Alex-Welsh Feb 21, 2024
99a3cac
Merge pull request #959 from stackhpc/tempest-docs
markgoddard Feb 28, 2024
3217a11
Update etc/kayobe/kolla/globals.yml
MoteHue Feb 29, 2024
0c2c43b
Bump magnum-capi-helm version to latest
Feb 29, 2024
85ed3b5
Bump Magnum
darmach Feb 16, 2024
a291be1
bump magnum tag
Feb 29, 2024
727fe74
reno
Feb 29, 2024
fc46ea4
Fix os-capacity playbook crash on delegate_to
assumptionsandg Feb 29, 2024
06febec
Merge pull request #964 from stackhpc/feature/yoga-backport-bump-capi
scrungus Mar 1, 2024
3064fbe
Improved AIO deployment script
Alex-Welsh Feb 27, 2024
2ead2e7
Merge pull request #965 from stackhpc/os-capacity-fix-playbook
markgoddard Mar 1, 2024
47818f5
magnum_tag
scrungus Mar 1, 2024
67275aa
Merge pull request #962 from stackhpc/fix-aio-script
markgoddard Mar 1, 2024
c5ff013
Merge pull request #966 from stackhpc/magnum_tag
markgoddard Mar 1, 2024
29a36ba
Merge stackhpc/yoga into stackhpc/zed
markgoddard Mar 1, 2024
564a20a
docs: Update microversions in tempest.conf example for Zed
markgoddard Mar 1, 2024
068b668
Update magnum container images for Zed
markgoddard Mar 1, 2024
e890445
Merge stackhpc/zed into stackhpc/2023.1
markgoddard Mar 1, 2024
21dbda5
docs: Update microversions in tempest.conf example for 2023.1
markgoddard Mar 1, 2024
2d97d59
Update magnum container images for 2023.1
markgoddard Mar 1, 2024
b0743ed
Correctly map kolla_base_distro_version
MoteHue Mar 1, 2024
3d9a2eb
Merge pull request #967 from stackhpc/zed-yoga-merge
markgoddard Mar 1, 2024
a3a8c10
Replace references to CentOS with Rocky Linux
markgoddard Mar 1, 2024
b83cec2
docs: Add BASE_IMAGE build-arg for kayobe image build
markgoddard Mar 1, 2024
ecea918
Merge pull request #969 from stackhpc/2023.1-zed-merge
markgoddard Mar 1, 2024
287e89b
Merge pull request #970 from stackhpc/zed-tempest-docs
markgoddard Mar 1, 2024
100f544
Fix libvirt error for tenks on Rocky Linux 9
Alex-Welsh Mar 5, 2024
0a49a85
Merge pull request #971 from stackhpc/aufn-libvirt
Alex-Welsh Mar 5, 2024
4a20e11
Update etc/kayobe/environments/aufn-ceph/a-universe-from-nothing.sh
MoteHue Mar 6, 2024
4964645
Switch ansible-modules-hashivault back to upstream
mnasiadka Mar 6, 2024
65a3d38
Merge pull request #891 from stackhpc/pulp-post-deploy-login
markgoddard Mar 6, 2024
aaecbcb
Merge pull request #923 from stackhpc/fix-ubuntu-cloud-ci-zed
markgoddard Mar 6, 2024
be1b504
Switch ansible-modules-hashivault back to upstream
mnasiadka Mar 6, 2024
a062a8c
Merge pull request #974 from stackhpc/yoga_hashivault_upstream
mnasiadka Mar 6, 2024
5107e36
Merge pull request #973 from stackhpc/hashivault_upstream
mnasiadka Mar 6, 2024
ecd1dc9
Remove kolla-limit from host configure example
Alex-Welsh Mar 6, 2024
74a4ac7
Merge pull request #975 from stackhpc/docs-antelope-fix
markgoddard Mar 6, 2024
2a4211f
Fix certificate path for os-capacity haproxy in Antelope
assumptionsandg Feb 7, 2024
9a13807
Merge pull request #915 from stackhpc/os-capacity-fix-haproxy-path
assumptionsandg Mar 7, 2024
1455b28
Update upgrading docs to include Opensearch issue
technowhizz Mar 7, 2024
2940c8d
Move release note to correct place
technowhizz Mar 7, 2024
329197a
Add Nova Compute Ironic failover procedure
dougszumski Mar 6, 2024
ce92414
Post service deploy hook for OpenStack Capacity
assumptionsandg Dec 8, 2023
3a83118
Merge pull request #979 from stackhpc/fix-grafana-ceph-release-note
markgoddard Mar 8, 2024
99eccbf
Merge pull request #978 from stackhpc/zed-doc-known-issue-opensearch
markgoddard Mar 8, 2024
a8cefd0
squash: Address comments from Alex
dougszumski Mar 8, 2024
417d7ac
Expand notes on re-deploying
dougszumski Mar 8, 2024
be85a63
Merge upstream unmaintained/yoga into stackhpc/yoga
markgoddard Mar 8, 2024
fcfff10
Add Trivy image scanning (#436)
JohnGarbutt Mar 8, 2024
2ec32ce
bump magnum-capi-helm version
Mar 8, 2024
ee1aa83
Add note about upstream bug
dougszumski Mar 8, 2024
8d7077f
reno
Mar 8, 2024
2ae28e0
Fix Ceph "Objects in the Cluster" dashboard panel
priteau Mar 8, 2024
c512085
Merge pull request #982 from stackhpc/grafana-ceph-objects
priteau Mar 11, 2024
1e33f3d
Fix tempest doc long line
Alex-Welsh Mar 11, 2024
e989f4f
CI: Support unmaintained branches in release determination
markgoddard Mar 11, 2024
6b347d2
Merge pull request #983 from stackhpc/tempest-doc
markgoddard Mar 11, 2024
bc3e75f
Merge branch 'stackhpc/yoga' into yoga-upstream-merge
markgoddard Mar 11, 2024
842f205
Expand Magnum Cluster API docs (#972)
sd109 Mar 11, 2024
8de89d7
Merge pull request #980 from stackhpc/yoga-upstream-merge
markgoddard Mar 12, 2024
1f0c49a
Fix broken link
sd109 Mar 12, 2024
9ae8503
Merge pull request #985 from stackhpc/fix/magnum-docs-link
markgoddard Mar 12, 2024
5e0dc70
Fix Jinja templating in Barbican Vault config
MoteHue Mar 12, 2024
6b54ecc
bump magnum-capi-helm version
Mar 8, 2024
5d54d0b
Bump container image tags
Mar 12, 2024
33328d9
Merge pull request #986 from stackhpc/fix-vault-backed-barbican-config
markgoddard Mar 13, 2024
0347257
Merge pull request #987 from stackhpc/update/magnum-capi-antelope
markgoddard Mar 13, 2024
27d147c
Use StackHPC downstream requirements fork
assumptionsandg Mar 8, 2024
0ada338
Add missing grafana plugins from upstream kolla
technowhizz Mar 13, 2024
e054b4d
bump tag
Mar 13, 2024
77a950e
Bump tags for grafana
technowhizz Mar 13, 2024
fe51c28
Add release note
technowhizz Mar 13, 2024
99ccda6
Merge pull request #988 from stackhpc/add-missing-plugins
technowhizz Mar 14, 2024
e1f3f8d
Fix releasenote location
markgoddard Mar 15, 2024
f1564f4
hotfix: Fix setting containers_list and running without a command
markgoddard Mar 15, 2024
37b387a
hotfix: Fix failure message
markgoddard Mar 15, 2024
d2ed09e
Run OVN playbook without limit during upgrade
Alex-Welsh Mar 18, 2024
55b60c0
Merge pull request #994 from stackhpc/fix-ubuntu-upgrade
markgoddard Mar 18, 2024
d766150
Merge pull request #829 from stackhpc/os-capacity-deploy-hook
markgoddard Mar 18, 2024
6eb5017
Merge pull request #992 from stackhpc/fix-reno
markgoddard Mar 18, 2024
c591acd
Merge pull request #981 from stackhpc/use-fork-requirements
markgoddard Mar 18, 2024
2d60dbb
Merge branch 'stackhpc/yoga' into merge-yoga-zed
Alex-Welsh Mar 18, 2024
88cedda
Merge pull request #995 from stackhpc/merge-yoga-zed
Alex-Welsh Mar 19, 2024
35d6091
Merge branch 'stackhpc/zed' into merge-zed-antelope
Alex-Welsh Mar 19, 2024
4a41ac6
Merge pull request #993 from stackhpc/hotfix-fix
markgoddard Mar 19, 2024
10222b1
Merge pull request #997 from stackhpc/merge-zed-antelope
Alex-Welsh Mar 19, 2024
7067c92
Merge pull request #981 from stackhpc/use-fork-requirements
markgoddard Mar 18, 2024
a9e87f6
Merge pull request #999 from stackhpc/use-fork-requirements-yoga
seunghun1ee Mar 20, 2024
381f3bb
Merge branch 'stackhpc/yoga' into zed-yoga-merge
seunghun1ee Mar 20, 2024
a6ca953
Merge pull request #1001 from stackhpc/zed-yoga-merge
markgoddard Mar 20, 2024
4ee0f70
feature reno
Mar 20, 2024
d40b1eb
Merge pull request #984 from stackhpc/yoga-bump-magnum-tag
markgoddard Mar 20, 2024
d68a23f
Update cephadm collection version
bbezak Mar 20, 2024
aca602e
Rebuild heat images with yaql 3.0.0 for 2023.1
seunghun1ee Mar 20, 2024
9f6a017
Rebuild heat images with yaql 3.0.0 for zed
seunghun1ee Mar 20, 2024
91cc9ec
Rebuild heat images with yaql 3.0.0 for yoga
seunghun1ee Mar 20, 2024
c444a60
Update Magnum CAPI Helm driver version (#1007)
sd109 Mar 20, 2024
08b2f47
Merge pull request #1004 from stackhpc/update-heat-2023.1
seunghun1ee Mar 21, 2024
15cee99
Merge pull request #977 from stackhpc/bugfix/nova-compute-ironic-fail…
dougszumski Mar 21, 2024
9beb7fb
Fail on any unparsed Ansible inventory
markgoddard Mar 21, 2024
f8ce8a6
Merge pull request #1009 from stackhpc/fail-unparsed-inventory
markgoddard Mar 22, 2024
1fd7190
Update docs to reflect upstream Magnum driver changes (#1000)
sd109 Mar 22, 2024
8c55e94
Merge pull request #1006 from stackhpc/update-heat-yoga
markgoddard Mar 25, 2024
19dadf4
Merge pull request #1005 from stackhpc/update-heat-zed
markgoddard Mar 25, 2024
99838a8
docs: Add an upgrade doc note about Glance show_multiple_locations
markgoddard Mar 26, 2024
173b978
Merge pull request #1012 from stackhpc/zed-ceph-cow
markgoddard Mar 27, 2024
8f6fcb8
Fix host image builds on Arc runners
Alex-Welsh Mar 28, 2024
368a487
Merge pull request #1014 from stackhpc/yoga-build-host-image-on-arc
markgoddard Apr 2, 2024
c1a31ac
Fix AIO connectivity loss in automated script
Alex-Welsh Apr 2, 2024
331453f
Merge pull request #1015 from stackhpc/fix-aio-networking
markgoddard Apr 3, 2024
faaabbb
Fix AIO deploy script
Alex-Welsh Apr 4, 2024
9179111
Merge pull request #1017 from stackhpc/fix-fix-aio
markgoddard Apr 5, 2024
2d8d500
ci-multinode: Use skc-ci-aio user for ci-multinode env
markgoddard Apr 8, 2024
d77fcb1
ci-multinode: Use Ark package repositories to install packages
markgoddard Apr 8, 2024
c57f2c3
ci-multinode: Allow rebooting for SELinux state
markgoddard Apr 8, 2024
e2b2f40
ci-multinode: Add API FQDNs to /etc/hosts in fix-networking.yml
markgoddard Apr 8, 2024
2ca68f1
ci-multinode: Wait for connection in fix-networking.yml
markgoddard Apr 10, 2024
33c0d38
ci-multinode: Use qemu virtualisation
markgoddard Apr 10, 2024
eb1f88e
ci-multinode: Set default Ceph release to Quincy on Rocky Linux 9
markgoddard Apr 8, 2024
5037816
os_capacity: Add tags to playbook, update vault docs
markgoddard Apr 10, 2024
a6082d0
Update Magnum driver from v0.12.0 to v0.13.0
sd109 Apr 11, 2024
ee07cd3
Merge pull request #1021 from stackhpc/yoga-multinode-ci-aio-user
markgoddard Apr 11, 2024
8de731c
Merge stackhpc/yoga into stackhpc/zed
markgoddard Apr 11, 2024
72219af
Merge stackhpc/zed into stackhpc/2023.1
markgoddard Apr 11, 2024
55b343b
Revert "docs: Add an upgrade doc note about Glance show_multiple_loca…
markgoddard Apr 11, 2024
4947838
Update Magnum image tags
sd109 Apr 11, 2024
8592e45
Merge pull request #1025 from stackhpc/zed-yoga-merge
markgoddard Apr 12, 2024
ba5c309
Merge pull request #1026 from stackhpc/2023.1-zed-merge
markgoddard Apr 12, 2024
39fa643
Fix tox whitespace warning
Alex-Welsh Apr 15, 2024
f2523ec
Add release note
Apr 15, 2024
948c530
Merge branch 'stackhpc/2023.1' into update/magnum-driver-version
sd109 Apr 15, 2024
d883f21
Merge pull request #1024 from stackhpc/update/magnum-driver-version
markgoddard Apr 15, 2024
5a804a7
Merge pull request #1029 from stackhpc/whitespace
markgoddard Apr 15, 2024
c2bd71b
Add retries to overcloud host image pulp tasks
markgoddard Nov 16, 2023
680bb72
Update Ubuntu horizon tag to fix CVE-2023-31122
seunghun1ee Apr 15, 2024
a8fb2c8
Merge pull request #1031 from stackhpc/yoga-host-image-retries
markgoddard Apr 16, 2024
6a20fe7
Merge pull request #1030 from stackhpc/update-horizon-2023.1
seunghun1ee Apr 16, 2024
c2edb38
Raise alert on degraded network bonds
priteau Apr 16, 2024
03bf3f6
Merge pull request #1033 from stackhpc/bond-degraded-alert
markgoddard Apr 18, 2024
b19b42e
docs: Remove prometheus and grafana config symlinks
markgoddard Apr 18, 2024
f00221e
Merge pull request #1037 from stackhpc/2023.1-no-symlinks
markgoddard Apr 18, 2024
e0f3aca
docs: Add more context and links to vault docs
markgoddard Apr 22, 2024
95d22d9
Merge pull request #1042 from stackhpc/2023.1-vault-docs
markgoddard Apr 22, 2024
0243ad8
Magnum - removed appending to ca.cart
darmach Apr 22, 2024
e859424
Merge pull request #1043 from stackhpc/fix-magnum-certs
darmach Apr 23, 2024
6cf594d
Add alert to detect bonds with a single link
priteau Apr 23, 2024
966fb62
Merge pull request #1044 from stackhpc/bond-single-link-alert
priteau Apr 23, 2024
084e47a
add playbook with workaround for 'tc mirred to Houston'
bbezak Mar 26, 2024
5485a0f
Merge pull request #1013 from stackhpc/fix-houston-tc-mirred
bbezak Apr 24, 2024
2d8c15b
Correct backup for seed images in RL9 migration
MoteHue Apr 25, 2024
28a04d7
Merge pull request #1049 from stackhpc/correct-rl9-seed-backup
markgoddard Apr 25, 2024
7bc2a23
Merge stackhpc/yoga into stackhpc/zed
markgoddard Apr 25, 2024
501a89e
Merge stackhpc/zed into stackhpc/2023.1
markgoddard Apr 25, 2024
850c11c
Merge stackhpc/2023.1 into stackhpc/2024.1
markgoddard Apr 25, 2024
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
278 changes: 187 additions & 91 deletions .github/workflows/overcloud-host-image-build.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/workflows/overcloud-host-image-promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
id: openstack_release
run: |
BRANCH=$(awk -F'=' '/defaultbranch/ {print $2}' .gitreview)
echo "openstack_release=${BRANCH}" | sed "s|stable/||" >> $GITHUB_OUTPUT
echo "openstack_release=${BRANCH}" | sed -E "s,(stable|unmaintained)/,," >> $GITHUB_OUTPUT
working-directory: src/kayobe-config

- name: Clone StackHPC Kayobe repository
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/overcloud-host-image-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
id: openstack_release
run: |
BRANCH=$(awk -F'=' '/defaultbranch/ {print $2}' src/kayobe-config/.gitreview)
echo "openstack_release=${BRANCH}" | sed "s|stable/||" >> $GITHUB_OUTPUT
echo "openstack_release=${BRANCH}" | sed -E "s,(stable|unmaintained)/,," >> $GITHUB_OUTPUT

- name: Clone StackHPC Kayobe repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
- name: Install OpenStack client
run: |
source venvs/kayobe/bin/activate &&
pip install python-openstackclient -c https://opendev.org/openstack/requirements/raw/branch/stable/${{ steps.openstack_release.outputs.openstack_release }}/upper-constraints.txt
pip install python-openstackclient -c https://releases.openstack.org/constraints/upper/${{ steps.openstack_release.outputs.openstack_release }}

- name: Output Rocky Linux 9 image tag
id: rocky_9_image_tag
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/stackhpc-all-in-one.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ on:
vm_flavor:
description: Flavor for the all-in-one VM
type: string
default: en1.large
default: en1.medium
vm_network:
description: Network for the all-in-one VM
type: string
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
# NOTE: Runner needs unzip and nodejs packages.
all-in-one:
name: All in one
if: inputs.if
if: ${{ inputs.if && !cancelled() }}
runs-on: arc-skc-aio-runner
permissions: {}
env:
Expand Down Expand Up @@ -156,6 +156,7 @@ jobs:
aio_vm_network = "${{ env.VM_NETWORK }}"
aio_vm_subnet = "${{ env.VM_SUBNET }}"
aio_vm_volume_size = "${{ env.VM_VOLUME_SIZE }}"
aio_vm_tags = ${{ env.VM_TAGS }}
EOF
working-directory: ${{ github.workspace }}/terraform/aio
env:
Expand All @@ -167,6 +168,7 @@ jobs:
VM_SUBNET: ${{ inputs.vm_subnet }}
VM_INTERFACE: ${{ inputs.vm_interface }}
VM_VOLUME_SIZE: ${{ inputs.upgrade && '45' || '35' }}
VM_TAGS: '["skc-ci-aio", "PR=${{ github.event.number }}"]'

- name: Terraform Plan
run: terraform plan
Expand All @@ -181,13 +183,15 @@ jobs:
for attempt in $(seq 5); do
if terraform apply -auto-approve; then
echo "Created infrastructure on attempt $attempt"
break
exit 0
fi
echo "Failed to create infrastructure on attempt $attempt"
sleep 10
terraform destroy -auto-approve
sleep 60
done
echo "Failed to create infrastructure after $attempt attempts"
exit 1
working-directory: ${{ github.workspace }}/terraform/aio
env:
OS_CLOUD: ${{ inputs.OS_CLOUD }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stackhpc-check-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ env:
jobs:
check-tags:
name: Check container image tags
if: inputs.if
if: ${{ inputs.if && ! cancelled() }}
runs-on: arc-skc-aio-runner
permissions: {}
env:
Expand Down
77 changes: 77 additions & 0 deletions .github/workflows/stackhpc-ci-cleanup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
---
name: Clean up stale CI resources
on:
schedule:
# Every 2 hours at quarter past
- cron: '15 0/2 * * *'

jobs:
ci-cleanup:
name: Clean up stale CI resources
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
runs-on: ubuntu-latest
permissions: {}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: src/kayobe-config

- name: Setup Python
uses: actions/setup-python@v5

- name: Generate clouds.yaml
run: |
cat << EOF > clouds.yaml
${{ secrets.CLOUDS_YAML }}
EOF

- name: Determine OpenStack release
id: openstack_release
run: |
BRANCH=$(awk -F'=' '/defaultbranch/ {print $2}' src/kayobe-config/.gitreview)
echo "openstack_release=${BRANCH}" | sed -E "s,(stable|unmaintained)/,," >> $GITHUB_OUTPUT

- name: Install OpenStack client
run: |
pip install python-openstackclient -c https://releases.openstack.org/constraints/upper/${{ steps.openstack_release.outputs.openstack_release }}

- name: Clean up aio instances over 3 hours old
run: |
result=0
changes_before=$(date -Imin -d -3hours)
for status in ACTIVE BUILD ERROR SHUTOFF; do
for instance in $(openstack server list --tags skc-ci-aio --os-compute-api-version 2.66 --format value --column ID --changes-before $changes_before --status $status); do
echo "Cleaning up $status instance $instance"
openstack server show $instance
if ! openstack server delete $instance; then
echo "Failed to delete $status instance $instance"
result=1
fi
done
done
exit $result
env:
OS_CLOUD: openstack
OS_APPLICATION_CREDENTIAL_ID: ${{ secrets.OS_APPLICATION_CREDENTIAL_ID }}
OS_APPLICATION_CREDENTIAL_SECRET: ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }}

- name: Clean up host image builder instances over 5 hours old
run: |
result=0
changes_before=$(date -Imin -d -5hours)
for status in ACTIVE BUILD ERROR SHUTOFF; do
for instance in $(openstack server list --tags skc-host-image-build --os-compute-api-version 2.66 --format value --column ID --changes-before $changes_before --status $status); do
echo "Cleaning up $status instance $instance"
openstack server show $instance
if ! openstack server delete $instance; then
echo "Failed to delete $status instance $instance"
result=1
fi
done
done
exit $result
env:
OS_CLOUD: openstack
OS_APPLICATION_CREDENTIAL_ID: ${{ secrets.OS_APPLICATION_CREDENTIAL_ID }}
OS_APPLICATION_CREDENTIAL_SECRET: ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }}
143 changes: 112 additions & 31 deletions .github/workflows/stackhpc-container-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ on:
type: boolean
required: false
default: true
push-dirty:
description: Push scanned images that have vulnerabilities?
type: boolean
required: false
# NOTE(Alex-Welsh): This default should be flipped once we resolve existing failures
default: true

env:
ANSIBLE_FORCE_COLOR: True
Expand All @@ -54,7 +60,7 @@ jobs:
id: openstack_release
run: |
BRANCH=$(awk -F'=' '/defaultbranch/ {print $2}' .gitreview)
echo "openstack_release=${BRANCH}" | sed "s|stable/||" >> $GITHUB_OUTPUT
echo "openstack_release=${BRANCH}" | sed -E "s,(stable|unmaintained)/,," >> $GITHUB_OUTPUT

# Generate a tag to apply to all built container images.
# Without this, each kayobe * container image build command would use a different tag.
Expand Down Expand Up @@ -100,7 +106,15 @@ jobs:
- name: Install package dependencies
run: |
sudo apt update
sudo apt install -y build-essential git unzip nodejs python3-wheel python3-pip python3-venv
sudo apt install -y build-essential git unzip nodejs python3-wheel python3-pip python3-venv curl jq wget

- name: Install gh
run: |
sudo mkdir -p -m 755 /etc/apt/keyrings && wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null
sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
sudo apt update
sudo apt install gh -y

- name: Checkout
uses: actions/checkout@v4
Expand All @@ -118,6 +132,10 @@ jobs:
run: |
docker ps

- name: Install Trivy
run: |
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b /usr/local/bin v0.49.0

- name: Install Kayobe
run: |
mkdir -p venvs &&
Expand All @@ -132,6 +150,10 @@ jobs:
- name: Install Docker Python SDK
run: |
sudo pip install docker

- name: Get Kolla tag
id: write-kolla-tag
run: echo "kolla-tag=${{ needs.generate-tag.outputs.openstack_release }}-${{ matrix.distro }}-${{ matrix.distro == 'rocky' && '9' || 'jammy' }}-${{ needs.generate-tag.outputs.datetime_tag }}" >> $GITHUB_OUTPUT

- name: Configure localhost as a seed
run: |
Expand All @@ -153,67 +175,124 @@ jobs:
env:
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}

- name: Build and push kolla overcloud images
- name: Create build logs output directory
run: mkdir image-build-logs

- name: Build kolla overcloud images
id: build_overcloud_images
continue-on-error: true
run: |
args="${{ github.event.inputs.regexes }}"
args="${{ inputs.regexes }}"
args="$args -e kolla_base_distro=${{ matrix.distro }}"
args="$args -e kolla_tag=$KOLLA_TAG"
args="$args -e kolla_tag=${{ steps.write-kolla-tag.outputs.kolla-tag }}"
args="$args -e stackhpc_repo_mirror_auth_proxy_enabled=true"
if ${{ inputs.push }} == 'true'; then
args="$args --push"
fi
source venvs/kayobe/bin/activate &&
source src/kayobe-config/kayobe-env --environment ci-builder &&
kayobe overcloud container image build $args
env:
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
KOLLA_TAG: "${{ needs.generate-tag.outputs.openstack_release }}-${{ matrix.distro }}-${{ matrix.distro == 'rocky' && '9' || 'jammy' }}-${{ needs.generate-tag.outputs.datetime_tag }}"
if: github.event.inputs.overcloud == 'true'
if: inputs.overcloud

- name: Copy overcloud container image build logs to output directory
run: sudo mv /var/log/kolla-build.log image-build-logs/kolla-build-overcloud.log
if: inputs.overcloud

- name: Build and push kolla seed images
- name: Build kolla seed images
id: build_seed_images
continue-on-error: true
run: |
args="-e kolla_base_distro=${{ matrix.distro }}"
args="$args -e kolla_tag=$KOLLA_TAG"
args="$args -e kolla_tag=${{ steps.write-kolla-tag.outputs.kolla-tag }}"
args="$args -e stackhpc_repo_mirror_auth_proxy_enabled=true"
if ${{ inputs.push }} == 'true'; then
args="$args --push"
fi
source venvs/kayobe/bin/activate &&
source src/kayobe-config/kayobe-env --environment ci-builder &&
kayobe seed container image build $args
env:
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
KOLLA_TAG: "${{ needs.generate-tag.outputs.openstack_release }}-${{ matrix.distro }}-${{ matrix.distro == 'rocky' && '9' || 'jammy' }}-${{ needs.generate-tag.outputs.datetime_tag }}"
if: github.event.inputs.seed == 'true'
if: inputs.seed

- name: Copy seed container image build logs to output directory
run: sudo mv /var/log/kolla-build.log image-build-logs/kolla-build-seed.log
if: inputs.seed

- name: Get built container images
run: |
docker image ls --filter "reference=ark.stackhpc.com/stackhpc-dev/*:*${{ matrix.distro }}*${{ needs.generate-tag.outputs.datetime_tag }}" > ${{ matrix.distro }}-container-images
run: docker image ls --filter "reference=ark.stackhpc.com/stackhpc-dev/*:${{ steps.write-kolla-tag.outputs.kolla-tag }}" > ${{ matrix.distro }}-container-images

- name: Fail if no images have been built
run: if [ $(wc -l < ${{ matrix.distro }}-container-images) -le 1 ]; then exit 1; fi

- name: Upload container images artifact
- name: Scan built container images
run: src/kayobe-config/tools/scan-images.sh ${{ matrix.distro }} ${{ steps.write-kolla-tag.outputs.kolla-tag }}

- name: Move image scan logs to output artifact
run: mv image-scan-output image-build-logs/image-scan-output

- name: Fail if no images have passed scanning
run: if [ $(wc -l < image-build-logs/image-scan-output/clean-images.txt) -le 0 ]; then exit 1; fi
if: ${{ !inputs.push-dirty }}

- name: Copy clean images to push-attempt-images list
run: cp image-build-logs/image-scan-output/clean-images.txt image-build-logs/push-attempt-images.txt
if: inputs.push

- name: Append dirty images to push list
run: |
cat image-build-logs/image-scan-output/dirty-images.txt >> image-build-logs/push-attempt-images.txt
if: ${{ inputs.push && inputs.push-dirty }}

- name: Push images
run: |
touch image-build-logs/push-failed-images.txt
source venvs/kayobe/bin/activate &&
source src/kayobe-config/kayobe-env --environment ci-builder &&
kayobe playbook run ${KAYOBE_CONFIG_PATH}/ansible/docker-registry-login.yml &&

while read -r image; do
# Retries!
for i in {1..5}; do
if docker push $image; then
echo "Pushed $image"
break
elif $i == 5; then
echo "Failed to push $image"
echo $image >> image-build-logs/push-failed-images.txt
else
echo "Failed on retry $i"
sleep 5
fi;
done
done < image-build-logs/push-attempt-images.txt
shell: bash
env:
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
if: inputs.push

- name: Upload output artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.distro }} container images
path: ${{ matrix.distro }}-container-images
name: ${{ matrix.distro }}-logs
path: image-build-logs
retention-days: 7
if: ${{ !cancelled() }}

- name: Fail when images failed to build
run: echo "An image build failed. Check the workflow artifact for build logs" && exit 1
if: ${{ steps.build_overcloud_images.outcome == 'failure' || steps.build_seed_images.outcome == 'failure' }}

- name: Fail when images failed to push
run: if [ $(wc -l < image-build-logs/push-failed-images.txt) -gt 0 ]; then cat image-build-logs/push-failed-images.txt && exit 1; fi
if: ${{ !cancelled() }}

- name: Fail when images failed scanning
run: if [ $(wc -l < image-build-logs/dirty-images.txt) -gt 0 ]; then cat image-build-logs/dirty-images.txt && exit 1; fi
if: ${{ !inputs.push-dirty && !cancelled() }}

sync-container-repositories:
name: Trigger container image repository sync
needs:
- container-image-build
if: github.repository == 'stackhpc/stackhpc-kayobe-config' && inputs.push
runs-on: ubuntu-latest
permissions: {}
steps:
# NOTE(mgoddard): Trigger another CI workflow in the
# stackhpc-release-train repository.
- name: Trigger container image repository sync
run: |
filter='${{ inputs.regexes }}'
if [[ -n $filter ]] && [[ ${{ github.event.inputs.seed }} == 'true' ]]; then
if [[ -n $filter ]] && [[ ${{ inputs.seed }} == 'true' ]]; then
filter="$filter bifrost"
fi
gh workflow run \
Expand All @@ -224,7 +303,9 @@ jobs:
-f sync-old-images=false
env:
GITHUB_TOKEN: ${{ secrets.STACKHPC_RELEASE_TRAIN_TOKEN }}
if: ${{ github.repository == 'stackhpc/stackhpc-kayobe-config' && inputs.push && !cancelled() }}

- name: Display link to container image repository sync workflows
run: |
echo "::notice Container image repository sync workflows: https://github.com/stackhpc/stackhpc-release-train/actions/workflows/container-sync.yml"
if: ${{ github.repository == 'stackhpc/stackhpc-kayobe-config' && inputs.push && !cancelled() }}
Loading