Remove nodepool builder puppetry and nb03.openstack.org

This should only land after we've launched a new nb03.opendev.org
running with the new nodepool arm64 docker image. Once that happens and
we are happy with how it is running we  can safely stop managing the
existing nb03.openstack.org server with puppet.

Change-Id: I8d224f9775bd461b43a2631897babd9e351ab6ae
This commit is contained in:
Clark Boylan 2020-09-03 16:25:37 -07:00
parent ebd9c4c59e
commit 1ea83138ef
9 changed files with 8 additions and 79 deletions

View File

@ -257,7 +257,7 @@ cacti_hosts:
- logstash.openstack.org - logstash.openstack.org
- nb01.opendev.org - nb01.opendev.org
- nb02.opendev.org - nb02.opendev.org
- nb03.openstack.org - nb03.opendev.org
- nl01.openstack.org - nl01.openstack.org
- nl02.openstack.org - nl02.openstack.org
- nl03.openstack.org - nl03.openstack.org

View File

@ -564,13 +564,6 @@ all:
region_name: DFW region_name: DFW
public_v4: 104.130.124.242 public_v4: 104.130.124.242
public_v6: 2001:4800:7818:104:be76:4eff:fe02:5608 public_v6: 2001:4800:7818:104:be76:4eff:fe02:5608
nb03.openstack.org:
ansible_host: 139.178.85.141
location:
cloud: openstackci-linaro-us
region_name: RegionOne
public_v4: 139.178.85.141
public_v6: ''
nb03.opendev.org: nb03.opendev.org:
ansible_host: 139.178.85.151 ansible_host: 139.178.85.151
location: location:

View File

@ -1,4 +1,4 @@
openstacksdk_config_owner: "{{ nodepool_user }}" openstacksdk_config_dir: /etc/openstack
openstacksdk_config_owner: root
openstacksdk_config_group: "{{ nodepool_group }}" openstacksdk_config_group: "{{ nodepool_group }}"
openstacksdk_config_dir: "~{{ openstacksdk_config_owner }}/.config/openstack"
openstacksdk_config_template: clouds/nodepool_clouds.yaml.j2 openstacksdk_config_template: clouds/nodepool_clouds.yaml.j2

View File

@ -1,4 +0,0 @@
openstacksdk_config_dir: /etc/openstack
openstacksdk_config_owner: root
openstacksdk_config_group: "{{ nodepool_group }}"
openstacksdk_config_template: clouds/nodepool_clouds.yaml.j2

View File

@ -111,11 +111,9 @@ groups:
mirror-update: mirror-update:
- mirror-update[0-9]*.opendev.org - mirror-update[0-9]*.opendev.org
nodepool: nodepool:
- nb[0-9]*.open*.org - nb[0-9]*.opendev.org
- nl[0-9]*.open*.org - nl[0-9]*.open*.org
nodepool-builder: nodepool-builder:
- nb[0-9]*.openstack.org
nodepool-builder_opendev:
- nb[0-9]*.opendev.org - nb[0-9]*.opendev.org
nodepool-launcher: nodepool-launcher:
- nl[0-9]*.open*.org - nl[0-9]*.open*.org
@ -154,7 +152,6 @@ groups:
- logstash-worker[0-9]*.open*.org - logstash-worker[0-9]*.open*.org
- logstash[0-9]*.open*.org - logstash[0-9]*.open*.org
- mirror-update[0-9]*.openstack.org - mirror-update[0-9]*.openstack.org
- nb[0-9]*.openstack.org
- openstackid-dev*.openstack.org - openstackid-dev*.openstack.org
- openstackid.org - openstackid.org
- openstackid[0-9]*.openstack.org - openstackid[0-9]*.openstack.org
@ -192,7 +189,6 @@ groups:
- logstash-worker[0-9]*.open*.org - logstash-worker[0-9]*.open*.org
- logstash[0-9]*.open*.org - logstash[0-9]*.open*.org
- mirror-update[0-9]*.openstack.org - mirror-update[0-9]*.openstack.org
- ^nb(?!03)[0-9]*\.openstack\.org
- openstackid[0-9]*.openstack.org - openstackid[0-9]*.openstack.org
- openstackid-dev[0-9]*.openstack.org - openstackid-dev[0-9]*.openstack.org
- paste[0-9]*.open*.org - paste[0-9]*.open*.org
@ -243,7 +239,7 @@ groups:
- grafana[0-9]*.open*.org - grafana[0-9]*.open*.org
- graphite*.open*.org - graphite*.open*.org
- health[0-9]*.openstack.org - health[0-9]*.openstack.org
- nb[0-9]*.open*.org - nb[0-9]*.opendev.org
- nl[0-9]*.open*.org - nl[0-9]*.open*.org
- openstackid-dev*.openstack.org - openstackid-dev*.openstack.org
- openstackid.org - openstackid.org

View File

@ -1,6 +1,6 @@
# Run this with "-f 20" # Run this with "-f 20"
- hosts: 'nodepool-builder_opendev:!disabled' - hosts: 'nodepool-builder:!disabled'
tasks: tasks:
- include_role: - include_role:
name: nodepool-builder name: nodepool-builder
@ -12,10 +12,3 @@
- include_role: - include_role:
name: nodepool-launcher name: nodepool-launcher
tasks_from: start tasks_from: start
- hosts: 'nb03.openstack.org:!disabled'
tasks:
- name: Start Nodepool Builder
service:
name: nodepool-builder
state: started

View File

@ -1,7 +1,7 @@
# Run this with "-f 20" # Run this with "-f 20"
- hosts: 'nodepool-builder_opendev:!disabled' - hosts: 'nodepool-builder:!disabled'
any_errors_fatal: true any_errors_fatal: true
tasks: tasks:
- include_role: - include_role:
@ -14,17 +14,3 @@
- include_role: - include_role:
name: nodepool-launcher name: nodepool-launcher
tasks_from: stop tasks_from: stop
- hosts: 'nb03.openstack.orgr:!disabled'
any_errors_fatal: true
tasks:
- name: Stop Nodepool Builder
service:
name: nodepool-builder
state: stopped
- name: Wait for (3h10m) to stop Nodepool Builder
wait_for:
path: /var/run/nodepool/nodepool-builder.pid
state: absent
timeout: 11400

View File

@ -1,4 +1,4 @@
- hosts: nodepool-builder_opendev:!disabled - hosts: nodepool-builder:!disabled
name: "Configure nodepool builders" name: "Configure nodepool builders"
strategy: free strategy: free
roles: roles:
@ -8,22 +8,6 @@
- configure-openstacksdk - configure-openstacksdk
- nodepool-builder - nodepool-builder
- hosts: 'localhost:!disabled'
name: Install puppet role/modules
strategy: linear
roles:
- puppet-setup-ansible
- hosts: 'nb03.openstack.org:!disabled'
name: "run puppet on all older servers"
strategy: free
roles:
- iptables
- nodepool-base-legacy
- configure-openstacksdk
- configure-kubectl
- puppet-run
- hosts: nodepool-launcher:!disabled - hosts: nodepool-launcher:!disabled
name: "Configure nodepool launchers" name: "Configure nodepool launchers"
strategy: free strategy: free

View File

@ -30,23 +30,6 @@
nodes: nodes:
- base - base
# NOTE(ianw): Run puppet3 tests until nb03.openstack.org is gone
# and we have no more puppet
- job:
name: system-config-zuul-role-integration-xenial-arm64
parent: system-config-zuul-role-integration
nodeset:
nodes:
- name: base
label: ubuntu-xenial-arm64
groups:
- name: puppet3
nodes:
- base
- name: openafs
nodes:
- base
- job: - job:
name: system-config-zuul-role-integration-bionic name: system-config-zuul-role-integration-bionic
parent: system-config-zuul-role-integration parent: system-config-zuul-role-integration
@ -148,7 +131,6 @@
check: check:
jobs: jobs:
- system-config-zuul-role-integration-xenial - system-config-zuul-role-integration-xenial
- system-config-zuul-role-integration-xenial-arm64
- system-config-zuul-role-integration-bionic - system-config-zuul-role-integration-bionic
- system-config-zuul-role-integration-bionic-arm64 - system-config-zuul-role-integration-bionic-arm64
- system-config-zuul-role-integration-focal - system-config-zuul-role-integration-focal
@ -160,7 +142,6 @@
gate: gate:
jobs: jobs:
- system-config-zuul-role-integration-xenial - system-config-zuul-role-integration-xenial
- system-config-zuul-role-integration-xenial-arm64
- system-config-zuul-role-integration-bionic - system-config-zuul-role-integration-bionic
- system-config-zuul-role-integration-bionic-arm64 - system-config-zuul-role-integration-bionic-arm64
- system-config-zuul-role-integration-focal - system-config-zuul-role-integration-focal