Add zk04.opendev.org

We will be rotating zk01-03.openstack.org out and replacing them with
zk04-06.opendev.org. This is the first change in that process which puts
zk04 into the rotation. This should only be landed when operators are
ready to manually stop zookeeper on zk03 (which is being replaced by
zk04 in this change).

Change-Id: Iea69130f6b3b2c8e54e3938c60e4a3295601c46f
This commit is contained in:
Clark Boylan 2021-04-15 12:12:33 -07:00
parent a582a24296
commit 7502b87837
6 changed files with 32 additions and 15 deletions

View File

@ -21,7 +21,7 @@ At a Glance
* nb03.opendev.org
* zk01.openstack.org
* zk02.openstack.org
* zk03.openstack.org
* zk04.opendev.org
:Puppet:
* https://opendev.org/opendev/puppet-openstackci/src/branch/master/manifests/nodepool_builder.pp
:Configuration:

View File

@ -314,7 +314,7 @@ cacti_hosts:
- ze12.opendev.org
- zk01.openstack.org
- zk02.openstack.org
- zk03.openstack.org
- zk04.opendev.org
- zm01.opendev.org
- zm02.opendev.org
- zm03.opendev.org

View File

@ -823,13 +823,30 @@ all:
region_name: DFW
public_v4: 172.99.117.32
public_v6: 2001:4800:7821:105:be76:4eff:fe04:d599
zk03.openstack.org:
ansible_host: 23.253.90.246
zk04.opendev.org:
ansible_host: 104.130.253.62
location:
cloud: openstackci-rax
region_name: DFW
public_v4: 23.253.90.246
public_v6: 2001:4800:7815:102:be76:4eff:fe02:f134
public_v4: 104.130.253.62
public_v6: 2001:4800:7818:103:be76:4eff:fe03:e80d
# Clarkb recording these here for ease of use later, but they need to be
# added to the inventory in a controlled manner as we rotate cluster
# members in and out.
#zk05.opendev.org:
# ansible_host: 104.130.253.65
# location:
# cloud: openstackci-rax
# region_name: DFW
# public_v4: 104.130.253.65
# public_v6: 2001:4800:7818:103:be76:4eff:fe03:5ef8
#zk06.opendev.org:
# ansible_host: 104.130.253.74
# location:
# cloud: openstackci-rax
# region_name: DFW
# public_v4: 104.130.253.74
# public_v6: 2001:4800:7818:103:be76:4eff:fe04:3d08
zm01.opendev.org:
ansible_host: 104.239.144.206
location:

View File

@ -49,5 +49,5 @@ results:
- zuul
- zuul-executor
zk01.openstack.org:
zk04.opendev.org:
- zookeeper

View File

@ -15,13 +15,13 @@
import json
testinfra_hosts = ['zk01.opendev.org']
testinfra_hosts = ['zk04.opendev.org']
def test_id_file(host):
# Test that wacky hostname regex works
myid = host.file('/var/zookeeper/data/myid')
assert myid.content == b'1\n'
assert myid.content == b'4\n'
def test_zk_listening(host):
zk = host.socket("tcp://0.0.0.0:2181")

View File

@ -229,8 +229,8 @@
nodes:
- name: bridge.openstack.org
label: ubuntu-bionic
- name: zk01.opendev.org
label: ubuntu-bionic
- name: zk04.opendev.org
label: ubuntu-focal
- name: nl01.opendev.org
label: ubuntu-focal
- name: nb01.opendev.org
@ -692,8 +692,8 @@
nodes:
- name: bridge.openstack.org
label: ubuntu-bionic
- name: zk01.opendev.org
label: ubuntu-bionic
- name: zk04.opendev.org
label: ubuntu-focal
vars:
run_playbooks:
- playbooks/service-zookeeper.yaml
@ -740,8 +740,8 @@
nodes:
- name: bridge.openstack.org
label: ubuntu-bionic
- name: zk01.opendev.org
label: ubuntu-bionic
- name: zk04.opendev.org
label: ubuntu-focal
- name: zm01.opendev.org
label: ubuntu-focal
- name: ze01.opendev.org