Skip to content

Commit 9f640b5

Browse files
committed
testo
1 parent 9ea95e6 commit 9f640b5

File tree

6 files changed

+24
-14
lines changed

6 files changed

+24
-14
lines changed

.github/workflows/overcloud-host-image-build.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,11 @@ jobs:
171171
172172
- name: Write Terraform network interface config
173173
run: |
174-
mkdir -p etc/kayobe/environments/$KAYOBE_ENVIRONMENT/inventory/group_vars/seed
175-
cat << EOF > etc/kayobe/environments/$KAYOBE_ENVIRONMENT/inventory/group_vars/seed/tf-network-interfaces
174+
mkdir -p src/kayobe-config/etc/kayobe/environments/$KAYOBE_ENVIRONMENT/inventory/group_vars/seed
175+
rm -f src/kayobe-config/etc/kayobe/environments/$KAYOBE_ENVIRONMENT/inventory/group_vars/seed/network-interfaces
176+
cat << EOF > src/kayobe-config/etc/kayobe/environments/$KAYOBE_ENVIRONMENT/inventory/group_vars/seed/network-interfaces
176177
admin_interface: "{{ access_interface.value }}"
178+
aio_interface: "{{ access_interface.value }}"
177179
EOF
178180
179181
- name: Manage SSH keys
@@ -234,6 +236,7 @@ jobs:
234236
-e stackhpc_overcloud_dib_name=overcloud-centos-8-stream
235237
env:
236238
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
239+
if: inputs.centos
237240

238241
- name: Show last error logs
239242
continue-on-error: true
@@ -486,7 +489,7 @@ jobs:
486489
run: |
487490
mkdir logs
488491
scp -r rocky@$(jq -r .access_ip_v4.value src/kayobe-config/etc/kayobe/environments/ci-builder/tf-outputs.yml):/opt/kayobe/images/*/*.std* ./logs/
489-
scp -r rocky@$(jq -r .access_ip_v4.value src/kayobe-config/etc/kayobe/environments/ci-builder/tf-outputs.yml):/tmp/updated_images.txt ./logs/
492+
scp -r rocky@$(jq -r .access_ip_v4.value src/kayobe-config/etc/kayobe/environments/ci-builder/tf-outputs.yml):/tmp/updated_images.txt ./logs/ || true
490493
if: always()
491494

492495
- name: Fail if any overcloud host image builds failed
@@ -504,6 +507,7 @@ jobs:
504507
with:
505508
name: Build logs
506509
path: ./logs
510+
if: always()
507511

508512
- name: Destroy
509513
run: terraform destroy -auto-approve

etc/kayobe/environments/ci-builder/inventory/group_vars/seed/network-interfaces

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,12 @@
22
###############################################################################
33
# Network interface definitions for the controller group.
44

5-
# Seed interface on all-in-one network.
6-
aio_interface: eth0
5+
# Controller interface on all-in-one network.
6+
aio_interface: breth1
7+
# Use dummy1 if it exists, otherwise the bridge will have no ports.
8+
aio_bridge_ports: "{{ ['dummy1'] if 'dummy1' in hostvars[inventory_hostname].ansible_facts else [] }}"
9+
10+
###############################################################################
11+
# Dummy variable to allow Ansible to accept this file.
12+
workaround_ansible_issue_8743: yes
13+

etc/kayobe/overcloud-dib.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ overcloud_dib_host_packages_extra:
7171
overcloud_dib_git_elements_extra:
7272
- repo: "https://github.com/stackhpc/stackhpc-image-elements"
7373
local: "{{ source_checkout_path }}/stackhpc-image-elements"
74-
version: "v1.6.1"
74+
version: "fix-rocky-containerfile"
7575
elements_path: "elements"
7676

7777
# List of git repositories containing Diskimage Builder (DIB) elements. See

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-20240326T091511"
55
stackhpc_rocky_8_overcloud_host_image_version: "yoga-20240326T091511"
6-
stackhpc_rocky_9_overcloud_host_image_version: "yoga-20240326T091511"
6+
stackhpc_rocky_9_overcloud_host_image_version: "yoga-20240327T123643"
77
stackhpc_ubuntu_focal_overcloud_host_image_version: "yoga-20240326T091511"
88
stackhpc_ubuntu_jammy_overcloud_host_image_version: "yoga-20240326T091511"

etc/kayobe/pulp-repo-versions.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ stackhpc_pulp_repo_rocky_9_3_crb_version: 20231215T005810
6464
stackhpc_pulp_repo_rocky_9_3_extras_version: 20231211T120328
6565
stackhpc_pulp_repo_rocky_9_3_highavailability_version: 20231214T005538
6666
stackhpc_pulp_repo_treasuredata_4_version: 20230903T003752
67-
stackhpc_pulp_repo_ubuntu_cloud_archive_version: 20231019T125502
68-
stackhpc_pulp_repo_ubuntu_focal_security_version: 20231018T165217
69-
stackhpc_pulp_repo_ubuntu_focal_version: 20231018T165217
70-
stackhpc_pulp_repo_ubuntu_jammy_security_version: 20231020T074329
71-
stackhpc_pulp_repo_ubuntu_jammy_version: 20231020T074329
67+
stackhpc_pulp_repo_ubuntu_cloud_archive_version: 20240327T041648
68+
stackhpc_pulp_repo_ubuntu_focal_security_version: 20240327T041026
69+
stackhpc_pulp_repo_ubuntu_focal_version: 20240327T041026
70+
stackhpc_pulp_repo_ubuntu_jammy_security_version: 20240327T015223
71+
stackhpc_pulp_repo_ubuntu_jammy_version: 20240327T015223

etc/kayobe/stackhpc-overcloud-dib.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ stackhpc_overcloud_dib_name: "deployment_image"
2121

2222
# StackHPC overcloud DIB image elements.
2323
stackhpc_overcloud_dib_elements:
24-
- "{{ os_distribution }}-{% if os_distribution == 'rocky' %}container-stackhpc{% else %}minimal{% endif %}"
24+
- "{{ os_distribution }}-{% if os_distribution == 'rocky' %}container{% else %}minimal{% endif %}"
2525
- "cloud-init-datasources"
2626
- "{% if os_distribution in ['centos', 'rocky'] %}disable-selinux{% endif %}"
2727
- "enable-serial-console"
@@ -41,7 +41,6 @@ stackhpc_overcloud_dib_env_vars:
4141
DIB_CLOUD_INIT_DATASOURCES: "ConfigDrive"
4242
DIB_CONTAINERFILE_RUNTIME: "docker"
4343
DIB_CONTAINERFILE_NETWORK_DRIVER: "host"
44-
DIB_CONTAINERFILE_DOCKERFILE: "/opt/kayobe/src/stackhpc-image-elements/elements/rocky-container-stackhpc/containerfiles/9-stackhpc"
4544
# NOTE: Not currently syncing Ubuntu packages, since the on_demand mirror in
4645
# Ark does not work if the upstream mirror pulls packages (which it does
4746
# sometimes).

0 commit comments

Comments
 (0)