7602343b6a
Since all platforms have Python 3, use the new ensure-venv element from the dependent change to install bindep and os-testr. Since we are no longer using pip to install anything during the builder, this drops the dependency on pip-and-virtualenv from nodepool-base. Avoiding this element is our long-term goal, as it's modification to system state are problematic in a number of ways. To maintain the status-quo, the pip-and-virtualenv element is added explicitly to each build's element list, with a note on it's future. The current plan for backwards compatability is to replicate the environment pip-and-virtualenv provides in a base role/job that can be optionally included. To test this, provide a new node type "ubuntu-bionic-plain" that will not include the pip-and-virtualenv element. This is put on just one provider (rax) to minimise impact. The dependent-change (and a dib release) is required before merge so the ensure-venv element is available. Depends-On: https://review.opendev.org/707513 Change-Id: I85438baf5bb31790a56fe5b38327361f0a2398e9
166 lines
4.5 KiB
YAML
166 lines
4.5 KiB
YAML
elements-dir: /etc/nodepool/elements
|
|
images-dir: /opt/nodepool_dib
|
|
|
|
zookeeper-servers:
|
|
- host: zk01.openstack.org
|
|
port: 2181
|
|
- host: zk02.openstack.org
|
|
port: 2181
|
|
- host: zk03.openstack.org
|
|
port: 2181
|
|
|
|
# NOTE(pabelanger): To avoid a race conditions between multiple launchers, only
|
|
# nl01.o.o will manage min-ready of our labels. If nl01.o.o is ever disabled,
|
|
# another launcher will need to assume this logic.
|
|
labels:
|
|
- name: centos-7
|
|
min-ready: 1
|
|
- name: centos-8
|
|
min-ready: 1
|
|
- name: debian-buster
|
|
min-ready: 1
|
|
- name: debian-stretch
|
|
min-ready: 1
|
|
- name: fedora-30
|
|
min-ready: 1
|
|
- name: gentoo-17-0-systemd
|
|
min-ready: 1
|
|
- name: opensuse-15
|
|
min-ready: 1
|
|
- name: opensuse-tumbleweed
|
|
min-ready: 1
|
|
- name: ubuntu-bionic
|
|
# Common job platform
|
|
min-ready: 10
|
|
- name: ubuntu-xenial
|
|
min-ready: 1
|
|
- name: ubuntu-bionic-plain
|
|
|
|
providers:
|
|
- name: rax-dfw
|
|
region-name: 'DFW'
|
|
cloud: rax
|
|
boot-timeout: 120
|
|
launch-timeout: 600
|
|
rate: 0.001
|
|
diskimages: &provider_diskimages
|
|
- name: centos-7
|
|
config-drive: true
|
|
- name: centos-8
|
|
config-drive: true
|
|
- name: debian-buster
|
|
config-drive: true
|
|
- name: debian-stretch
|
|
config-drive: true
|
|
- name: fedora-30
|
|
config-drive: true
|
|
- name: gentoo-17-0-systemd
|
|
config-drive: true
|
|
- name: opensuse-15
|
|
config-drive: true
|
|
- name: opensuse-tumbleweed
|
|
config-drive: true
|
|
- name: ubuntu-bionic
|
|
config-drive: true
|
|
- name: ubuntu-xenial
|
|
config-drive: true
|
|
- name: ubuntu-bionic-plain
|
|
config-drive: true
|
|
pools:
|
|
- name: main
|
|
max-servers: 140
|
|
labels: &provider_pools_labels
|
|
- name: centos-7
|
|
min-ram: 8192
|
|
flavor-name: 'Performance'
|
|
diskimage: centos-7
|
|
key-name: infra-root-keys-2018-06-15
|
|
- name: centos-8
|
|
min-ram: 8192
|
|
flavor-name: 'Performance'
|
|
diskimage: centos-8
|
|
key-name: infra-root-keys-2018-06-15
|
|
- name: debian-buster
|
|
min-ram: 8000
|
|
flavor-name: 'Performance'
|
|
diskimage: debian-buster
|
|
key-name: infra-root-keys-2018-06-15
|
|
- name: debian-stretch
|
|
min-ram: 8000
|
|
flavor-name: 'Performance'
|
|
diskimage: debian-stretch
|
|
key-name: infra-root-keys-2018-06-15
|
|
- name: fedora-30
|
|
min-ram: 8000
|
|
flavor-name: 'Performance'
|
|
diskimage: fedora-30
|
|
key-name: infra-root-keys-2018-06-15
|
|
- name: gentoo-17-0-systemd
|
|
min-ram: 8000
|
|
flavor-name: 'Performance'
|
|
diskimage: gentoo-17-0-systemd
|
|
key-name: infra-root-keys-2018-06-15
|
|
- name: opensuse-15
|
|
min-ram: 8000
|
|
flavor-name: 'Performance'
|
|
diskimage: opensuse-15
|
|
key-name: infra-root-keys-2018-06-15
|
|
- name: opensuse-tumbleweed
|
|
min-ram: 8000
|
|
flavor-name: 'Performance'
|
|
diskimage: opensuse-tumbleweed
|
|
key-name: infra-root-keys-2018-06-15
|
|
- name: ubuntu-bionic
|
|
min-ram: 8192
|
|
flavor-name: 'Performance'
|
|
diskimage: ubuntu-bionic
|
|
key-name: infra-root-keys-2018-06-15
|
|
- name: ubuntu-bionic-plain
|
|
min-ram: 8192
|
|
flavor-name: 'Performance'
|
|
diskimage: ubuntu-bionic-plain
|
|
key-name: infra-root-keys-2018-06-15
|
|
- name: ubuntu-xenial
|
|
min-ram: 8192
|
|
flavor-name: 'Performance'
|
|
diskimage: ubuntu-xenial
|
|
key-name: infra-root-keys-2018-06-15
|
|
|
|
- name: rax-iad
|
|
region-name: 'IAD'
|
|
cloud: rax
|
|
boot-timeout: 120
|
|
launch-timeout: 600
|
|
rate: 0.001
|
|
diskimages: *provider_diskimages
|
|
pools:
|
|
- name: main
|
|
max-servers: 145
|
|
labels: *provider_pools_labels
|
|
|
|
- name: rax-ord
|
|
region-name: 'ORD'
|
|
cloud: rax
|
|
boot-timeout: 120
|
|
launch-timeout: 600
|
|
rate: 0.001
|
|
diskimages: *provider_diskimages
|
|
pools:
|
|
- name: main
|
|
max-servers: 195
|
|
labels:
|
|
labels: *provider_pools_labels
|
|
|
|
diskimages:
|
|
- name: centos-7
|
|
- name: centos-8
|
|
- name: debian-buster
|
|
- name: debian-stretch
|
|
- name: fedora-30
|
|
- name: gentoo-17-0-systemd
|
|
- name: opensuse-15
|
|
- name: opensuse-tumbleweed
|
|
- name: ubuntu-bionic
|
|
- name: ubuntu-xenial
|
|
- name: ubuntu-bionic-plain
|