Add ubuntu jammy and noble images

Change-Id: Ie46aa2f46ed56c9e277b825a82a38b4c9c05b88e
This commit is contained in:
James E. Blair 2025-02-05 11:33:39 -08:00
parent 72865f82b5
commit 10eb78baf3
4 changed files with 113 additions and 0 deletions

@ -96,3 +96,56 @@
fstab:
options: "defaults,nobarrier,noatime"
fsck-passno: 1
- job:
name: opendev-build-diskimage-ubuntu-jammy
description: |
Build the OpenDev Ubuntu jammy VM image
parent: opendev-build-diskimage-base-debuntu
image-build-name: ubuntu-jammy
vars:
build_diskimage_image_name: ubuntu-jammy
build_diskimage_elements:
- *base_elements
- ubuntu-minimal
- cache-devstack
build_diskimage_environment:
DIB_RELEASE: 'jammy'
DIB_DISTRIBUTION_MIRROR: 'https://{{ zuul_site_mirror_fqdn }}/ubuntu'
DIB_DEBIAN_COMPONENTS: 'main,universe'
# NOTE(ianw) 2022-05-20 : we have found a problem on some cloud
# providers (OVH at least) where setting SSBD mitigation flags
# seems to be disabled and this causes endless kernel tracebacks
# from writing invalid flags into MSR registers, flooding the
# logs. By default spec_store_bypass_disable is set to
# "seccomp" which means the kernel forces every seccomp() call
# into this. Setting it to prctl means userspace has to opt-in
# with an explicit call. This is actually the default on more
# recent kernels; the reasons are many but the bug [1] goes
# through it with links to relevant changes.
#
# While we try and sort out either backporting this to upstream
# kernels or some other upstream workaround, we set
# spec_store_bypass_disable=prctl here to avoid this problem in
# our providers. The other bits are just the dib defaults which
# need to be replicated when overriding this.
#
# [1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1973839
DIB_BOOTLOADER_DEFAULT_CMDLINE: 'nofb nomodeset gfxpayload=text spec_store_bypass_disable=prctl'
- job:
name: opendev-build-diskimage-ubuntu-noble
description: |
Build the OpenDev Ubuntu noble VM image
parent: opendev-build-diskimage-base-debuntu
image-build-name: ubuntu-noble
vars:
build_diskimage_image_name: ubuntu-noble
build_diskimage_elements:
- *base_elements
- ubuntu-minimal
- cache-devstack
build_diskimage_environment:
DIB_RELEASE: 'noble'
DIB_DISTRIBUTION_MIRROR: 'https://{{ zuul_site_mirror_fqdn }}/ubuntu'
DIB_DEBIAN_COMPONENTS: 'main,universe'

@ -1,3 +1,11 @@
- image:
name: debian-bullseye
type: zuul
- image:
name: ubuntu-jammy
type: zuul
- image:
name: ubuntu-noble
type: zuul

@ -20,3 +20,33 @@
name: niz-debian-bullseye-16GB
image: debian-bullseye
flavor: 16GB
- label:
name: niz-ubuntu-jammy-4GB
image: ubuntu-jammy
flavor: 4GB
- label:
name: niz-ubuntu-jammy-8GB
image: ubuntu-jammy
flavor: 8GB
- label:
name: niz-ubuntu-jammy-16GB
image: ubuntu-jammy
flavor: 16GB
- label:
name: niz-ubuntu-noble-4GB
image: ubuntu-noble
flavor: 4GB
- label:
name: niz-ubuntu-noble-8GB
image: ubuntu-noble
flavor: 8GB
- label:
name: niz-ubuntu-noble-16GB
image: ubuntu-noble
flavor: 16GB

@ -22,6 +22,8 @@
flavor-name: gp.0.4.16
images:
- name: debian-bullseye
- name: ubuntu-jammy
- name: ubuntu-noble
- section:
name: raxflex-sjc3
@ -40,6 +42,20 @@
key-name: infra-root-keys-2024-04-08
- name: niz-debian-bullseye-16GB
key-name: infra-root-keys-2024-04-08
# jammy
- name: niz-ubuntu-jammy-4GB
key-name: infra-root-keys-2024-04-08
- name: niz-ubuntu-jammy-8GB
key-name: infra-root-keys-2024-04-08
- name: niz-ubuntu-jammy-16GB
key-name: infra-root-keys-2024-04-08
# noble
- name: niz-ubuntu-noble-4GB
key-name: infra-root-keys-2024-04-08
- name: niz-ubuntu-noble-8GB
key-name: infra-root-keys-2024-04-08
- name: niz-ubuntu-noble-16GB
key-name: infra-root-keys-2024-04-08
# Vexxhost
- section:
@ -54,6 +70,8 @@
flavor-name: v3-standard-4
images:
- name: debian-bullseye
- name: ubuntu-jammy
- name: ubuntu-noble
- section:
name: vexxhost-ca-ymq-1
@ -66,3 +84,7 @@
labels:
- name: niz-debian-bullseye-16GB
key-name: infra-root-keys-2024-04-08
- name: niz-ubuntu-jammy-16GB
key-name: infra-root-keys-2024-04-08
- name: niz-ubuntu-noble-16GB
key-name: infra-root-keys-2024-04-08