project-config/nodepool/nl01.openstack.org.yaml
Paul Belanger 50754ca31d
Have nl01.o.o manage min-ready of labels
Due to how multiple nodepool-launchers work today, it is possible to
have greater then min-ready of a label. To avoid this, nl01.o.o will
now be the only launcher to send min-ready requests to zookeeper.

Ideally, nodepool will be updated to support shared configuration in
the future.

Change-Id: I1cf0253343a80146f538ca5e4c83bde5c0173be3
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-02-13 15:04:31 -05:00

227 lines
6.1 KiB
YAML

elements-dir: /etc/nodepool/elements
images-dir: /opt/nodepool_dib
zookeeper-servers:
- host: nodepool.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
max-ready-age: 3600
- name: debian-jessie
min-ready: 1
max-ready-age: 3600
- name: fedora-26
min-ready: 1
max-ready-age: 3600
- name: fedora-27
min-ready: 1
max-ready-age: 3600
- name: opensuse-423
min-ready: 1
max-ready-age: 3600
- name: ubuntu-trusty
min-ready: 1
max-ready-age: 3600
- name: ubuntu-xenial
min-ready: 10
max-ready-age: 3600
providers:
- name: rax-dfw
region-name: 'DFW'
cloud: rax
boot-timeout: 120
launch-timeout: 600
rate: 0.001
diskimages:
- name: centos-7
config-drive: true
- name: debian-jessie
config-drive: true
- name: fedora-26
config-drive: true
- name: fedora-27
config-drive: true
- name: opensuse-423
config-drive: true
- name: ubuntu-trusty
config-drive: true
- name: ubuntu-xenial
config-drive: true
pools:
- name: main
max-servers: 140
labels:
- name: centos-7
min-ram: 8192
flavor-name: 'Performance'
diskimage: centos-7
key-name: infra-root-keys
- name: debian-jessie
min-ram: 8000
flavor-name: 'Performance'
diskimage: debian-jessie
key-name: infra-root-keys
- name: fedora-26
min-ram: 8000
flavor-name: 'Performance'
diskimage: fedora-26
key-name: infra-root-keys
- name: fedora-27
min-ram: 8000
flavor-name: 'Performance'
diskimage: fedora-27
key-name: infra-root-keys
- name: opensuse-423
min-ram: 8000
flavor-name: 'Performance'
diskimage: opensuse-423
key-name: infra-root-keys
- name: ubuntu-trusty
min-ram: 8192
flavor-name: 'Performance'
diskimage: ubuntu-trusty
key-name: infra-root-keys
- name: ubuntu-xenial
min-ram: 8192
flavor-name: 'Performance'
diskimage: ubuntu-xenial
key-name: infra-root-keys
- name: rax-iad
region-name: 'IAD'
cloud: rax
boot-timeout: 120
launch-timeout: 600
rate: 0.001
diskimages:
- name: centos-7
config-drive: true
- name: debian-jessie
config-drive: true
- name: fedora-26
config-drive: true
- name: fedora-27
config-drive: true
- name: opensuse-423
config-drive: true
- name: ubuntu-trusty
config-drive: true
- name: ubuntu-xenial
config-drive: true
pools:
- name: main
max-servers: 145
labels:
- name: centos-7
min-ram: 8192
flavor-name: 'Performance'
diskimage: centos-7
key-name: infra-root-keys
- name: debian-jessie
min-ram: 8000
flavor-name: 'Performance'
diskimage: debian-jessie
key-name: infra-root-keys
- name: fedora-26
min-ram: 8000
flavor-name: 'Performance'
diskimage: fedora-26
key-name: infra-root-keys
- name: fedora-27
min-ram: 8000
flavor-name: 'Performance'
diskimage: fedora-27
key-name: infra-root-keys
- name: opensuse-423
min-ram: 8000
flavor-name: 'Performance'
diskimage: opensuse-423
key-name: infra-root-keys
- name: ubuntu-trusty
min-ram: 8192
flavor-name: 'Performance'
diskimage: ubuntu-trusty
key-name: infra-root-keys
- name: ubuntu-xenial
min-ram: 8192
flavor-name: 'Performance'
diskimage: ubuntu-xenial
key-name: infra-root-keys
- name: rax-ord
region-name: 'ORD'
cloud: rax
boot-timeout: 120
launch-timeout: 600
rate: 0.001
diskimages:
- name: centos-7
config-drive: true
- name: debian-jessie
config-drive: true
- name: fedora-26
config-drive: true
- name: fedora-27
config-drive: true
- name: opensuse-423
config-drive: true
- name: ubuntu-trusty
config-drive: true
- name: ubuntu-xenial
config-drive: true
pools:
- name: main
max-servers: 195
labels:
- name: centos-7
min-ram: 8192
flavor-name: 'Performance'
diskimage: centos-7
key-name: infra-root-keys
- name: debian-jessie
min-ram: 8000
flavor-name: 'Performance'
diskimage: debian-jessie
key-name: infra-root-keys
- name: fedora-26
min-ram: 8000
flavor-name: 'Performance'
diskimage: fedora-26
key-name: infra-root-keys
- name: fedora-27
min-ram: 8000
flavor-name: 'Performance'
diskimage: fedora-27
key-name: infra-root-keys
- name: opensuse-423
min-ram: 8000
flavor-name: 'Performance'
diskimage: opensuse-423
key-name: infra-root-keys
- name: ubuntu-trusty
min-ram: 8192
flavor-name: 'Performance'
diskimage: ubuntu-trusty
key-name: infra-root-keys
- name: ubuntu-xenial
min-ram: 8192
flavor-name: 'Performance'
diskimage: ubuntu-xenial
key-name: infra-root-keys
diskimages:
- name: centos-7
- name: debian-jessie
- name: fedora-26
- name: fedora-27
- name: gentoo
- name: opensuse-423
- name: ubuntu-trusty
- name: ubuntu-xenial