8c088d17f1
This enables the nodepool delete-after-upload option with keep-formats set to qcow2 on x86 image builders. This should clear out vhd and raw files after uploads for those formats are completed keeping only qcow2 longer term. This should reduce disk space overhead while still enabling us to convert from qcow2 to the other formats if that becomes necessary. Note that we do not enable this for arm64 before arm64 builders currently build raw images only and we still want at least one copy of the image to be kept even if it is raw (and not qcow2). Change-Id: I6cf481e0f9a5eaff35b5d961a084ae34a49ea6c6
273 lines
7.3 KiB
YAML
273 lines
7.3 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: linaro-regionone
|
|
region-name: 'RegionOne'
|
|
cloud: linaro
|
|
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: 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-8-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: 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
|
|
|
|
- name: osuosl-regionone
|
|
region-name: 'RegionOne'
|
|
cloud: osuosl
|
|
rate: 0.25
|
|
# 6 hours
|
|
image-upload-timeout: 21600
|
|
diskimages: *arm64_diskimages
|
|
|
|
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
|
|
- initialize-urandom
|
|
- 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-8-stream
|
|
elements: []
|
|
|
|
- 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-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.linaro.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.linaro.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.linaro.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.linaro.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.linaro.opendev.org/debian'
|
|
|
|
- name: centos-8-stream-arm64
|
|
parent: base
|
|
python-path: /usr/bin/python3
|
|
elements:
|
|
- centos-minimal
|
|
- epel
|
|
release: 8-stream
|
|
env-vars:
|
|
DIB_EPEL_DISABLED: '1'
|
|
|
|
- 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.linaro.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
|