Skip to content

Commit afacf82

Browse files
authored
Merge branch 'stackhpc/yoga' into os_capacity
2 parents eb7fabb + 763c275 commit afacf82

11 files changed

+60
-16
lines changed

.github/workflows/stackhpc-container-image-build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,10 @@ jobs:
167167
env:
168168
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
169169

170+
- name: Prune local Kolla container images over 1 week old
171+
run: |
172+
sudo docker image prune --all --force --filter until=168h --filter="label=kolla_version"
173+
170174
- name: Build and push kolla overcloud images
171175
run: |
172176
args="${{ github.event.inputs.regexes }}"
@@ -200,17 +204,16 @@ jobs:
200204
run: |
201205
sudo docker image ls --filter "reference=ark.stackhpc.com/stackhpc-dev/${{ matrix.distro }}-*:${{ needs.generate-tag.outputs.kolla_tag }}" > ${{ matrix.distro }}-container-images
202206
207+
- name: Fail if no images have been built
208+
run: if [ $(wc -l < ${{ matrix.distro }}-container-images) -le 1 ]; then exit 1; fi
209+
203210
- name: Upload container images artifact
204211
uses: actions/upload-artifact@v3
205212
with:
206213
name: ${{ matrix.distro }} container images
207214
path: ${{ matrix.distro }}-container-images
208215
retention-days: 7
209216

210-
- name: Prune local Kolla container images over 1 week old
211-
run: |
212-
sudo docker image prune --all --force --filter until=168h --filter="label=kolla_version"
213-
214217
sync-container-repositories:
215218
name: Trigger container image repository sync
216219
needs:

doc/source/configuration/vault.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,18 @@ Enable the required TLS variables in kayobe and kolla
229229
230230
kayobe overcloud service deploy
231231
232+
If VM provisioning fails with an error with this format:
233+
234+
.. code-block::
235+
236+
Unable to establish connection to http://<kolla internal vip/fqdn>:9696/v2.0/ports/some-sort-of-uuid: Connection aborted
237+
238+
Restart the nova-compute container on all hypervisors:
239+
240+
.. code-block::
241+
242+
kayobe overcloud host command run --command "docker restart nova_compute" --become --show-output -l compute
243+
232244
Barbican integration
233245
====================
234246

doc/source/configuration/walled-garden.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ proxy:
7777
- "127.0.0.1"
7878
- "localhost"
7979
- "{{ ('http://' ~ docker_registry) | urlsplit('hostname') if docker_registry else '' }}"
80-
- "{{ admin_oc_net_name | net_ip(inventory_hostname=groups['seed'][0]) }}"
80+
- "{{ lookup('vars', admin_oc_net_name ~ '_ips')[groups.seed.0] }}"
81+
- "{{ lookup('vars', admin_oc_net_name ~ '_ips')[inventory_hostname] }}"
8182
- "{{ kolla_external_fqdn }}"
8283
- "{{ kolla_internal_fqdn }}"
8384

etc/kayobe/ansible/reboot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
- name: Reboot the host
33
hosts: seed-hypervisor:seed:overcloud:infra-vms
4-
serial: "{{ lookup('env', 'ANSIBLE_SERIAL') | default(0, true) }}"
4+
serial: "{{ lookup('env', 'ANSIBLE_SERIAL') | default(1, true) }}"
55
tags:
66
- reboot
77
tasks:

etc/kayobe/pulp-host-image-versions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
# These images must be in SMS, since they are used by our AIO CI runners
44
stackhpc_centos_8_stream_overcloud_host_image_version: "yoga-20230525T095243"
55
stackhpc_rocky_8_overcloud_host_image_version: "yoga-20230629T135322"
6-
stackhpc_rocky_9_overcloud_host_image_version: "yoga-20230515T145140"
6+
stackhpc_rocky_9_overcloud_host_image_version: "yoga-20230929T133006"
77
stackhpc_ubuntu_focal_overcloud_host_image_version: "yoga-20230609T120720"
88
stackhpc_ubuntu_jammy_overcloud_host_image_version: "yoga-20230609T120720"

etc/kayobe/pulp-repo-versions.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ stackhpc_pulp_repo_centos_stream_9_storage_ceph_pacific_version: 20230308T155704
1919
stackhpc_pulp_repo_docker_ce_ubuntu_version: 20230908T013529
2020
stackhpc_pulp_repo_docker_version: 20230801T003759
2121
stackhpc_pulp_repo_elasticsearch_logstash_kibana_7_x_version: 20230727T144020
22-
stackhpc_pulp_repo_epel_9_version: 20230302T031902
2322
stackhpc_pulp_repo_elrepo_9_version: 20230907T075311
23+
stackhpc_pulp_repo_epel_9_version: 20230929T005202
2424
stackhpc_pulp_repo_epel_modular_version: 20220913T043117
25-
stackhpc_pulp_repo_epel_version: 20230206T150339
25+
stackhpc_pulp_repo_epel_version: 20230929T005202
2626
stackhpc_pulp_repo_grafana_version: 20230903T003752
2727
stackhpc_pulp_repo_mariadb_10_6_centos8_version: 20230815T010124
2828
stackhpc_pulp_repo_mlnx_ofed_5_7_1_0_2_0_rhel8_6_version: 20220920T151419
@@ -41,16 +41,21 @@ stackhpc_pulp_repo_rocky_8_7_baseos_version: 20221202T032715
4141
stackhpc_pulp_repo_rocky_8_7_extras_version: 20221201T192704
4242
stackhpc_pulp_repo_rocky_8_7_nfv_version: 20221202T032715
4343
stackhpc_pulp_repo_rocky_8_7_powertools_version: 20221202T032715
44+
stackhpc_pulp_repo_rocky_8_8_appstream_version: 20230928T024829
45+
stackhpc_pulp_repo_rocky_8_8_baseos_version: 20230928T024829
46+
stackhpc_pulp_repo_rocky_8_8_extras_version: 20230928T024829
47+
stackhpc_pulp_repo_rocky_8_8_nfv_version: 20230922T023520
48+
stackhpc_pulp_repo_rocky_8_8_powertools_version: 20230928T024829
4449
stackhpc_pulp_repo_rocky_9_1_appstream_version: 20230228T044432
4550
stackhpc_pulp_repo_rocky_9_1_baseos_version: 20230228T044432
4651
stackhpc_pulp_repo_rocky_9_1_crb_version: 20230228T044432
4752
stackhpc_pulp_repo_rocky_9_1_extras_version: 20230228T044432
4853
stackhpc_pulp_repo_rocky_9_1_highavailability_version: 20230228T044432
49-
stackhpc_pulp_repo_rocky_9_2_appstream_version: 20230825T131407
50-
stackhpc_pulp_repo_rocky_9_2_baseos_version: 20230825T131407
51-
stackhpc_pulp_repo_rocky_9_2_crb_version: 20230825T131407
52-
stackhpc_pulp_repo_rocky_9_2_extras_version: 20230825T131407
53-
stackhpc_pulp_repo_rocky_9_2_highavailability_version: 20230805T012805
54+
stackhpc_pulp_repo_rocky_9_2_appstream_version: 20230928T024829
55+
stackhpc_pulp_repo_rocky_9_2_baseos_version: 20230928T024829
56+
stackhpc_pulp_repo_rocky_9_2_crb_version: 20230928T024829
57+
stackhpc_pulp_repo_rocky_9_2_extras_version: 20230915T001040
58+
stackhpc_pulp_repo_rocky_9_2_highavailability_version: 20230918T015928
5459
stackhpc_pulp_repo_treasuredata_4_version: 20230903T003752
5560
stackhpc_pulp_repo_ubuntu_cloud_archive_version: 20230908T112533
5661
stackhpc_pulp_repo_ubuntu_focal_security_version: 20230908T101641

etc/kayobe/pulp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,8 @@ stackhpc_pulp_sync_centos_stream8: "{{ os_distribution == 'centos' }}"
217217

218218
# Whether to sync Rocky Linux 8 packages.
219219
stackhpc_pulp_sync_rocky_8: "{{ os_distribution == 'rocky' and os_release == '8' }}"
220-
# Rocky 8 minor version number. Supported values: 6, 7
221-
stackhpc_pulp_repo_rocky_8_minor_version: 7
220+
# Rocky 8 minor version number. Supported values: 6, 7, 8
221+
stackhpc_pulp_repo_rocky_8_minor_version: 8
222222
# Rocky 8 Snapshot versions. The defaults use the appropriate version from
223223
# pulp-repo-versions.yml for the selected minor release.
224224
stackhpc_pulp_repo_rocky_8_appstream_version: "{{ lookup('vars', 'stackhpc_pulp_repo_rocky_8_%s_appstream_version' % stackhpc_pulp_repo_rocky_8_minor_version) }}"

etc/kayobe/stackhpc-overcloud-dib.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,16 @@ stackhpc_overcloud_dib_packages:
6767
- "vim"
6868
- "git"
6969
- "less"
70+
- "python3"
7071
- "{% if os_distribution == 'ubuntu' %}netbase{% endif %}"
7172
- "{% if os_distribution == 'ubuntu' %}iputils-ping{% endif %}"
7273
- "{% if os_distribution == 'ubuntu' %}curl{% endif %}"
7374
- "{% if os_distribution == 'ubuntu' %}apt-utils{% endif %}"
7475
- "{% if os_distribution == 'centos' %}openssh-clients{% endif %}"
7576
- "{% if os_distribution == 'rocky' %}NetworkManager-config-server{% endif %}"
7677
- "{% if os_distribution == 'rocky' %}linux-firmware{% endif %}"
78+
- "{% if os_distribution == 'rocky' %}cloud-utils-growpart{% endif %}"
79+
- "{% if os_distribution == 'ubuntu' %}cloud-guest-utils{% endif %}"
7780

7881
# StackHPC overcloud DIB image block device configuration.
7982
# This image layout conforms to the CIS partition benchmarks.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
security:
3+
- |
4+
The Rocky 8 minor version has been bumped to 8.8 and new snapshots have
5+
been created to include fixes for Zenbleed (CVE-2023-20593), Downfall
6+
(CVE-2022-40982). It is recommended that you update your OS packages and
7+
reboot into the kernel as soon as possible.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
security:
3+
- |
4+
The snapshots for Rocky 9.2 have been refreshed to include fixes for
5+
Zenbleed (CVE-2023-20593), Downfall (CVE-2022-40982). It is recommended
6+
that you update your OS packages and reboot into the kernel as soon as
7+
possible.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
upgrade:
3+
- |
4+
The ``reboot.yml`` custom Ansible playbook now defaults to reboot only one
5+
host at a time. Existing behaviour can be retained by setting
6+
ANSIBLE_SERIAL=0.

0 commit comments

Comments
 (0)