Skip to content

Commit c12519b

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 <[email protected]> (cherry picked from commit f951d7e)
1 parent 9edaf72 commit c12519b

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
@@ -394,6 +394,29 @@
394394
vars:
395395
kayobe_control_host_become: false
396396

397+
- job:
398+
name: kayobe-seed-vm-centos9s-cloud-image
399+
parent: kayobe-seed-vm-base
400+
nodeset: kayobe-centos9s
401+
voting: false
402+
vars:
403+
seed_vm_use_cirros: false
404+
405+
- job:
406+
name: kayobe-seed-vm-rocky9-cloud-image
407+
parent: kayobe-seed-vm-base
408+
nodeset: kayobe-rocky9
409+
vars:
410+
seed_vm_use_cirros: false
411+
412+
- job:
413+
name: kayobe-seed-vm-ubuntu-noble-cloud-image
414+
parent: kayobe-seed-vm-base
415+
nodeset: kayobe-ubuntu-noble
416+
voting: false
417+
vars:
418+
seed_vm_use_cirros: false
419+
397420
- job:
398421
name: kayobe-seed-vm-q35-base
399422
parent: kayobe-seed-vm-base

zuul.d/project.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@
7676
- kayobe-seed-images-rocky9-podman
7777
- kayobe-seed-images-ubuntu-noble
7878
- kayobe-seed-images-ubuntu-noble-podman
79+
- kayobe-seed-vm-centos9s-cloud-image
7980
- kayobe-seed-vm-centos9s-q35
81+
- kayobe-seed-vm-rocky9-cloud-image
8082
- kayobe-seed-vm-rocky9-q35
83+
- kayobe-seed-vm-ubuntu-noble-cloud-image
8184
- kayobe-seed-vm-ubuntu-noble-q35

0 commit comments

Comments
 (0)