project-config/nodepool/nb04.opendev.org.yaml
Clark Boylan 777ef2221c Convert python2 dib element scripts to python3
As part of the move to zuul jobs building images we've discovered we
have a couple of scripts that are invoked by python2. Python2 isn't
available be default in the test images and python2 is old enough now
that we should just use python3. This change updates things to make it
so.

We also drop initialize-urandom from our arm builds. We haven't used
this with x86 in some time and it was only really an issue for xenial
anyway. If x86 xenial doesn't need it then arm shouldn't either.

Change-Id: I3821336758b13051e9b331b8feb73fb1f8f1184a
2024-09-12 10:33:57 -07:00

264 lines
7.2 KiB
YAML

elements-dir: /etc/nodepool/elements
images-dir: /opt/nodepool_dib
# This portion of the config is updated by ansible to use the actual
# zookeeper servers.
zookeeper-servers:
- host: zk01.example.org
port: 2281
- host: zk02.example.org
port: 2281
- host: zk03.example.org
port: 2281
providers:
- name: osuosl-regionone
region-name: 'RegionOne'
cloud: osuosl
rate: 0.25
# 6 hours
image-upload-timeout: 21600
diskimages: &arm64_diskimages
- name: ubuntu-bionic-arm64
pause: false
config-drive: true
meta:
hw_firmware_type: uefi
os_command_line: "console=ttyAMA0"
hw_disk_bus: scsi
hw_scsi_model: virtio-scsi
- name: ubuntu-focal-arm64
pause: false
config-drive: true
meta:
hw_firmware_type: uefi
os_command_line: "console=ttyAMA0"
hw_disk_bus: scsi
hw_scsi_model: virtio-scsi
- name: ubuntu-jammy-arm64
pause: false
config-drive: true
meta:
hw_firmware_type: uefi
os_command_line: "console=ttyAMA0"
hw_disk_bus: scsi
hw_scsi_model: virtio-scsi
- name: ubuntu-noble-arm64
pause: false
config-drive: true
meta:
hw_firmware_type: uefi
os_command_line: "console=ttyAMA0"
hw_disk_bus: scsi
hw_scsi_model: virtio-scsi
- name: debian-bookworm-arm64
pause: false
config-drive: true
meta:
hw_firmware_type: uefi
os_command_line: "console=ttyAMA0"
hw_disk_bus: scsi
hw_scsi_model: virtio-scsi
- name: debian-bullseye-arm64
pause: false
config-drive: true
meta:
hw_firmware_type: uefi
os_command_line: "console=ttyAMA0"
hw_disk_bus: scsi
hw_scsi_model: virtio-scsi
- name: centos-9-stream-arm64
pause: false
config-drive: true
meta:
hw_firmware_type: uefi
os_command_line: "console=ttyAMA0"
hw_disk_bus: scsi
hw_scsi_model: virtio-scsi
- name: openEuler-22-03-LTS-arm64
pause: false
config-drive: true
meta:
hw_firmware_type: uefi
os_command_line: "console=ttyAMA0"
hw_disk_bus: scsi
hw_scsi_model: virtio-scsi
- name: rockylinux-9-arm64
pause: false
config-drive: true
meta:
hw_firmware_type: uefi
os_command_line: "console=ttyAMA0"
hw_disk_bus: scsi
hw_scsi_model: virtio-scsi
diskimages:
- name: base
abstract: True
rebuild-age: 604800 # 7 days
# No delete after upload for arm64 images because we only
# build raw images for arm. In that case we don't want to delete
# anything because there is only one copy.
elements:
- block-device-efi
- vm
- simple-init
- openstack-repos
- nodepool-base
- cache-devstack
- growroot
- infra-package-needs
- journal-to-console
env-vars:
TMPDIR: /opt/dib_tmp
DIB_CHECKSUM: '1'
DIB_IMAGE_CACHE: /opt/dib_cache
DIB_JOURNAL_SIZE: '512'
DIB_GRUB_TIMEOUT: '0'
GIT_HTTP_LOW_SPEED_TIME: '300'
GIT_HTTP_LOW_SPEED_LIMIT: '1000'
DIB_SHOW_IMAGE_USAGE: '1'
ZUUL_USER_SSH_PUBLIC_KEY: |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDh5u0DWNi0d3uqI82izAxVTUTrGl36L3szEqV9WrilGmxaTtp9X7HrktJ5J+rvxQqz39llTf1v7iYA4CNKto/48RBAB0mKEEI4x4iw+fu/BLU7nu7ewSfXLUxHahxaTgIk2KcbegknD5NzMjalyfNfgTPDGv8BjwHeeNdZmJMBvPFGu6fO48M4yK1tiQn0kAkaH4oII/M4pyF8vy9tPTODAD7RvnMvQAb08LZZvE/IPzJAHNXFRb1v+DBa38fOvdyaz/nibrsxiOWZxQVLgjYciUeDy1xvXADaWlqvxmLy+90LHbJFbGxK4AN0mWfwBiUMVyxZjkun39pjTNl2k09OhOq+R52UqnehMc4eBdZCddnCUq4/efbFCJkqe5wY+SE8fYybJjauUL64zyrwf6yfWkXvPVHWa9Y+NCmvH8PCBUcsQnwO7l/Yb4N+8+u6zkODyuc9wLAY+DpnptE3plXtvUs5negC4fvJSnOHpWXuoi9yzp7IlPf6fSjMMDQo0JjCYJwazdzqrIH2VSCcfHAqWF0ECR8IgwZV1bp0xFe0UN0Gjsgkozqf8rvs1AYyTSeD19Wg9j+crTke8E1sfoI/qFzHwzBQFKJ+2l0cs7pZWJBARlhbt1j1IouS2aH+74xwsavRhBz4IsFTPqWiP6JTrgk5cgKRnTqInzNfdaLeUw== zuul-worker@openstack.org
- name: base-debuntu
abstract: True
parent: base
env-vars:
DIB_APT_LOCAL_CACHE: '0'
DIB_DISABLE_APT_CLEANUP: '1'
DIB_DEBOOTSTRAP_EXTRA_ARGS: '--no-check-gpg'
############ CentOS and Fedora (and derivatives) #############
- name: centos-9-stream
elements: []
- name: rockylinux-8
elements: []
- name: rockylinux-9
elements: []
############ Debian #############
- name: debian-bookworm
elements: []
- name: debian-bullseye
elements: []
############ Gentoo #############
- name: gentoo-17-0-systemd
elements: []
############ Ubuntu #############
- name: ubuntu-bionic
elements: []
- name: ubuntu-focal
elements: []
- name: ubuntu-jammy
elements: []
- name: ubuntu-noble
elements: []
- name: ubuntu-xenial
elements: []
############ openEuler #############
- name: openEuler-22-03-LTS
elements: []
############ arm64 #############
- name: ubuntu-bionic-arm64
parent: base-debuntu
elements:
- ubuntu-minimal
release: bionic
env-vars:
DIB_DISTRIBUTION_MIRROR: 'http://mirror.regionone.osuosl.opendev.org/ubuntu-ports'
DIB_DEBIAN_COMPONENTS: 'main,universe'
- name: ubuntu-focal-arm64
parent: base-debuntu
elements:
- ubuntu-minimal
release: focal
env-vars:
DIB_DISTRIBUTION_MIRROR: 'http://mirror.regionone.osuosl.opendev.org/ubuntu-ports'
DIB_DEBIAN_COMPONENTS: 'main,universe'
- name: ubuntu-jammy-arm64
parent: base-debuntu
elements:
- ubuntu-minimal
release: jammy
rebuild-age: 172800 # 2 days
env-vars:
DIB_DISTRIBUTION_MIRROR: 'https://mirror.regionone.osuosl.opendev.org/ubuntu-ports'
DIB_DEBIAN_COMPONENTS: 'main,universe'
- name: ubuntu-noble-arm64
parent: base-debuntu
elements:
- ubuntu-minimal
release: noble
rebuild-age: 172800 # 2 days
env-vars:
DIB_DISTRIBUTION_MIRROR: 'https://mirror.regionone.osuosl.opendev.org/ubuntu-ports'
DIB_DEBIAN_COMPONENTS: 'main,universe'
- name: debian-bookworm-arm64
parent: base-debuntu
elements:
- debian-minimal
release: bookworm
rebuild-age: 172800 # 2 days
env-vars:
DIB_DISTRIBUTION_MIRROR: 'https://mirror.regionone.osuosl.opendev.org/debian'
- name: debian-bullseye-arm64
parent: base-debuntu
python-path: /usr/bin/python3
elements:
- debian-minimal
release: bullseye
env-vars:
DIB_DISTRIBUTION_MIRROR: 'https://mirror.regionone.osuosl.opendev.org/debian'
- name: centos-9-stream-arm64
parent: base
python-path: /usr/bin/python3
elements:
- centos-minimal
- epel
release: 9-stream
rebuild-age: 172800 # 2 days
env-vars:
DIB_EPEL_DISABLED: '1'
- name: openEuler-22-03-LTS-arm64
parent: base
python-path: /usr/bin/python3
elements:
- openeuler-minimal
release: 22.03-LTS
env-vars:
DIB_DISTRIBUTION_MIRROR: 'http://mirror.regionone.osuosl.opendev.org/openeuler'
- name: rockylinux-9-arm64
parent: base
python-path: /usr/bin/python3
elements:
- rocky-container
- epel
release: 9
rebuild-age: 172800 # 2 days