Merge "Add support for Ubuntu 24.04"

This commit is contained in:
Zuul 2024-11-18 15:20:37 +00:00 committed by Gerrit Code Review
commit e13f593f37
6 changed files with 21 additions and 26 deletions

View File

@ -32,7 +32,7 @@ libvirt-bin [platform:dpkg devstack]
libvirt [platform:rpm devstack] libvirt [platform:rpm devstack]
libvirt-dev [platform:dpkg devstack] libvirt-dev [platform:dpkg devstack]
libvirt-devel [platform:rpm devstack] libvirt-devel [platform:rpm devstack]
qemu [platform:dpkg devstack build-image-dib] qemu-system [platform:dpkg devstack build-image-dib]
qemu-kvm [platform:dpkg devstack] qemu-kvm [platform:dpkg devstack]
qemu-utils [platform:dpkg devstack build-image-dib] qemu-utils [platform:dpkg devstack build-image-dib]
qemu-system-data [platform:dpkg devstack] qemu-system-data [platform:dpkg devstack]

View File

@ -31,7 +31,7 @@ libvirt-clients [platform:dpkg]
libvirt [platform:rpm] libvirt [platform:rpm]
libvirt-dev [platform:dpkg] libvirt-dev [platform:dpkg]
libvirt-devel [platform:rpm] libvirt-devel [platform:rpm]
qemu [platform:dpkg] qemu-system [platform:dpkg]
qemu-kvm [platform:dpkg platform:rpm] qemu-kvm [platform:dpkg platform:rpm]
qemu-utils [platform:dpkg] qemu-utils [platform:dpkg]
qemu-system-data [platform:dpkg] qemu-system-data [platform:dpkg]

View File

@ -675,8 +675,8 @@ IRONIC_GRUB2_SHIM_FILE=${IRONIC_GRUB2_SHIM_FILE:-}
IRONIC_GRUB2_FILE=${IRONIC_GRUB2_FILE:-} IRONIC_GRUB2_FILE=${IRONIC_GRUB2_FILE:-}
IRONIC_GRUB2_NETWORK_FILE=${IRONIC_GRUB2_NETWORK_FILE:-} IRONIC_GRUB2_NETWORK_FILE=${IRONIC_GRUB2_NETWORK_FILE:-}
IRONIC_UEFI_FILES_DIR=${IRONIC_UEFI_FILES_DIR:-/var/lib/libvirt/images} IRONIC_UEFI_FILES_DIR=${IRONIC_UEFI_FILES_DIR:-/var/lib/libvirt/images}
UEFI_LOADER_PATH=$IRONIC_UEFI_FILES_DIR/OVMF_CODE.fd UEFI_LOADER_PATH=$IRONIC_UEFI_FILES_DIR/OVMF_CODE_4M.fd
UEFI_NVRAM_PATH=$IRONIC_UEFI_FILES_DIR/OVMF_VARS.fd UEFI_NVRAM_PATH=$IRONIC_UEFI_FILES_DIR/OVMF_VARS_4M.fd
if [[ $IRONIC_HW_ARCH == "aarch64" ]]; then if [[ $IRONIC_HW_ARCH == "aarch64" ]]; then
UEFI_LOADER_PATH=$IRONIC_UEFI_FILES_DIR/AAVMF_CODE.fd UEFI_LOADER_PATH=$IRONIC_UEFI_FILES_DIR/AAVMF_CODE.fd
@ -693,7 +693,7 @@ if [[ $IRONIC_HW_ARCH == "x86_64" ]]; then
fi fi
elif [[ $IRONIC_HW_ARCH == "aarch64" ]]; then elif [[ $IRONIC_HW_ARCH == "aarch64" ]]; then
if is_ubuntu; then if is_ubuntu; then
install_package qemu-system-arm qemu-efi qemu-efi-aarch64 install_package qemu-system-arm qemu-efi-aarch64
elif is_fedora; then elif is_fedora; then
install_package grub2-arm64-efi install_package grub2-arm64-efi
fi fi
@ -830,7 +830,7 @@ function get_uefi_loader {
fi fi
else else
if is_ubuntu; then if is_ubuntu; then
echo /usr/share/OVMF/OVMF_CODE.fd echo /usr/share/OVMF/OVMF_CODE_4M.fd
elif is_fedora; then elif is_fedora; then
echo /usr/share/edk2/ovmf/OVMF_CODE.fd echo /usr/share/edk2/ovmf/OVMF_CODE.fd
fi fi
@ -846,7 +846,7 @@ function get_uefi_nvram {
fi fi
else else
if is_ubuntu; then if is_ubuntu; then
echo /usr/share/OVMF/OVMF_VARS.fd echo /usr/share/OVMF/OVMF_VARS_4M.fd
elif is_fedora; then elif is_fedora; then
echo /usr/share/edk2/ovmf/OVMF_VARS.fd echo /usr/share/edk2/ovmf/OVMF_VARS.fd
fi fi

View File

@ -4,7 +4,7 @@
abstract: true abstract: true
description: Base job for devstack/tempest based ironic jobs. description: Base job for devstack/tempest based ironic jobs.
parent: devstack-tempest parent: devstack-tempest
nodeset: openstack-single-node-jammy nodeset: openstack-single-node-noble
post-run: playbooks/ci-workarounds/get_extra_logging.yaml post-run: playbooks/ci-workarounds/get_extra_logging.yaml
timeout: 10800 timeout: 10800
required-projects: required-projects:
@ -475,8 +475,8 @@
# representing June 2023 release. Ubuntu Kinetic is shipping Q3 2022 # representing June 2023 release. Ubuntu Kinetic is shipping Q3 2022
# i.e. OVN 22.09, so likely possible to remove sometime *after* # i.e. OVN 22.09, so likely possible to remove sometime *after*
# Ubuntu Mantic OVN 2023.03. # Ubuntu Mantic OVN 2023.03.
OVN_BRANCH: v23.06.0 OVN_BRANCH: v23.09.0
OVS_BRANCH: v3.1.1 OVS_BRANCH: v3.2.0-20-g1d78a3f31
devstack_services: devstack_services:
q-agt: False q-agt: False
q-dhcp: False q-dhcp: False
@ -520,8 +520,8 @@
# representing June 2023 release. Ubuntu Kinetic is shipping Q3 2022 # representing June 2023 release. Ubuntu Kinetic is shipping Q3 2022
# i.e. OVN 22.09, so likely possible to remove sometime *after* # i.e. OVN 22.09, so likely possible to remove sometime *after*
# Ubuntu Mantic which is OVN 2023.03. # Ubuntu Mantic which is OVN 2023.03.
OVN_BRANCH: v23.06.0 OVN_BRANCH: v23.09.0
OVS_BRANCH: v3.1.1 OVS_BRANCH: v3.2.0-20-g1d78a3f31
devstack_services: devstack_services:
q-agt: False q-agt: False
q-dhcp: False q-dhcp: False
@ -647,7 +647,7 @@
name: ironic-tempest-ipa-wholedisk-direct-tinyipa-multinode name: ironic-tempest-ipa-wholedisk-direct-tinyipa-multinode
description: ironic-tempest-ipa-wholedisk-direct-tinyipa-multinode description: ironic-tempest-ipa-wholedisk-direct-tinyipa-multinode
parent: tempest-multinode-full-base parent: tempest-multinode-full-base
nodeset: openstack-two-node-jammy nodeset: openstack-two-node-noble
pre-run: playbooks/ci-workarounds/pre.yaml pre-run: playbooks/ci-workarounds/pre.yaml
required-projects: required-projects:
- opendev.org/openstack/ironic - opendev.org/openstack/ironic
@ -817,7 +817,7 @@
name: ironic-tempest-ipa-wholedisk-direct-tinyipa-multinode-shard name: ironic-tempest-ipa-wholedisk-direct-tinyipa-multinode-shard
description: ironic-tempest-ipa-wholedisk-direct-tinyipa-multinode-shard description: ironic-tempest-ipa-wholedisk-direct-tinyipa-multinode-shard
parent: ironic-tempest-ipa-wholedisk-direct-tinyipa-multinode parent: ironic-tempest-ipa-wholedisk-direct-tinyipa-multinode
nodeset: openstack-two-node-jammy nodeset: openstack-two-node-noble
vars: vars:
tempest_test_regex: "BaremetalBasicOps" tempest_test_regex: "BaremetalBasicOps"
devstack_localrc: devstack_localrc:
@ -943,14 +943,6 @@
BUILD_TIMEOUT: 2000 BUILD_TIMEOUT: 2000
IRONIC_TEMPEST_BUILD_TIMEOUT: 2000 IRONIC_TEMPEST_BUILD_TIMEOUT: 2000
IRONIC_PING_TIMEOUT: 1440 IRONIC_PING_TIMEOUT: 1440
# TODO(TheJulia): Change this to UEFI once we have Ubuntu Jammy
# as it auto-attempts to UEFI boot PXE v4 and PXE v6. Prior just
# does IPv4 and we cannot easily edit the nvram to inject just v6.
# TODO(TheJulia): The devstack plugin also needs to be changed to
# dhcpv6-stateful instead of stateless when this is changed to UEFI
# as OVMF/E2DK does not support stateless.
IRONIC_BOOT_MODE: bios
# NOTE(rpittau): OLD TINYIPA JOBS # NOTE(rpittau): OLD TINYIPA JOBS
# Those jobs are used by other projects, we leave them here until # Those jobs are used by other projects, we leave them here until
@ -1258,7 +1250,7 @@
- job: - job:
name: ironic-cross-sushy name: ironic-cross-sushy
nodeset: ubuntu-jammy nodeset: ubuntu-noble
description: Ironic unit tests run with Sushy from source description: Ironic unit tests run with Sushy from source
parent: openstack-tox parent: openstack-tox
required-projects: required-projects:
@ -1273,8 +1265,8 @@
- ^tools/.*$ - ^tools/.*$
vars: vars:
# NOTE(dtantsur): change this every release cycle if needed. # NOTE(dtantsur): change this every release cycle if needed.
bindep_profile: test py310 bindep_profile: test py312
tox_envlist: py310 tox_envlist: py312
# This variable ensures that sushy is installed from source. # This variable ensures that sushy is installed from source.
tox_install_siblings: true tox_install_siblings: true
# NOTE(dtantsur): this job will be run on sushy as well, so it's # NOTE(dtantsur): this job will be run on sushy as well, so it's

View File

@ -3,6 +3,9 @@
name: metal3-base name: metal3-base
abstract: true abstract: true
description: Base job for metal3-dev-env based ironic jobs. description: Base job for metal3-dev-env based ironic jobs.
# NOTE(rpittau): metal3-dev-env does not support ubuntu noble yet
# so migration will happen later, for more info see:
# https://github.com/metal3-io/metal3-dev-env/issues/1430
nodeset: openstack-single-node-jammy nodeset: openstack-single-node-jammy
run: playbooks/metal3-ci/run.yaml run: playbooks/metal3-ci/run.yaml
post-run: playbooks/metal3-ci/post.yaml post-run: playbooks/metal3-ci/post.yaml

View File

@ -60,7 +60,7 @@
voting: false voting: false
- ironic-standalone-anaconda: - ironic-standalone-anaconda:
voting: false voting: false
- bifrost-integration-tinyipa-ubuntu-jammy: - bifrost-integration-tinyipa-ubuntu-noble:
voting: false voting: false
- bifrost-integration-redfish-vmedia-uefi-centos-9: - bifrost-integration-redfish-vmedia-uefi-centos-9:
voting: false voting: false