Skip to content

Commit f951d7e

Browse files
committed
CI: Test seed VM with distribution cloud images
Seed VM deployment testing was limited to the use of cirros images. Introduce jobs using distribution cloud images (e.g. GenericCloud) to test more realistic seed VM deployment scenarios. These jobs are in the experimental queue to avoid downloading large images on every change. Note that the Ubuntu Noble job is failing: the VM boots but is not able to get an IP address. Change-Id: I834259e7eeb6443cb0689997909d093e85decee6 Signed-off-by: Pierre Riteau <pierre@stackhpc.com>
1 parent 8fb065f commit f951d7e

File tree

3 files changed

+29
-1
lines changed

3 files changed

+29
-1
lines changed

playbooks/kayobe-seed-vm-base/overrides.yml.j2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ seed_vm_vcpus: 1
3434
# Reduce the memory footprint of the seed VM.
3535
seed_vm_memory_mb: "{{ 1 * 1024 }}"
3636

37-
# Use cirros rather than CentOS for the VM.
37+
{% if seed_vm_use_cirros | default(true) %}
38+
# Use cirros rather than distribution cloud image for the VM.
3839
seed_bootstrap_user: cirros
3940
seed_vm_root_image: /opt/cache/files/cirros-0.5.3-x86_64-disk.img
41+
{% endif %}
4042

4143
{% if seed_vm_boot_firmware is defined %}
4244
seed_vm_boot_firmware: "{{ seed_vm_boot_firmware }}"

zuul.d/jobs.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,29 @@
386386
vars:
387387
kayobe_control_host_become: false
388388

389+
- job:
390+
name: kayobe-seed-vm-centos9s-cloud-image
391+
parent: kayobe-seed-vm-base
392+
nodeset: kayobe-centos9s
393+
voting: false
394+
vars:
395+
seed_vm_use_cirros: false
396+
397+
- job:
398+
name: kayobe-seed-vm-rocky9-cloud-image
399+
parent: kayobe-seed-vm-base
400+
nodeset: kayobe-rocky9
401+
vars:
402+
seed_vm_use_cirros: false
403+
404+
- job:
405+
name: kayobe-seed-vm-ubuntu-noble-cloud-image
406+
parent: kayobe-seed-vm-base
407+
nodeset: kayobe-ubuntu-noble
408+
voting: false
409+
vars:
410+
seed_vm_use_cirros: false
411+
389412
- job:
390413
name: kayobe-seed-vm-q35-base
391414
parent: kayobe-seed-vm-base

zuul.d/project.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@
5858
- kayobe-seed-rocky9
5959
- kayobe-seed-rocky9-podman
6060
- kayobe-seed-upgrade-rocky9
61+
- kayobe-seed-vm-centos9s-cloud-image
6162
- kayobe-seed-vm-centos9s-q35
63+
- kayobe-seed-vm-rocky9-cloud-image
6264
- kayobe-seed-vm-rocky9-q35
65+
- kayobe-seed-vm-ubuntu-noble-cloud-image
6366
- kayobe-seed-vm-ubuntu-noble-q35

0 commit comments

Comments
 (0)