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>
This commit is contained in:
parent
b73efaff05
commit
50754ca31d
@ -5,6 +5,9 @@ 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
|
||||
|
@ -5,27 +5,23 @@ 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:
|
||||
|
@ -5,27 +5,23 @@ 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:
|
||||
|
@ -5,27 +5,23 @@ 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:
|
||||
|
Loading…
Reference in New Issue
Block a user