Swap gitea05 into service and bring down 07 and 08

Add the gitea05.opendev.org server into the haproxy pools now that
it's been seeded with current data. Switch the create repos task
disable list from 05 to 07 and 08, and remove 07 and 08 from the
Ansible inventory and comment them out in the haproxy pools in
preparation for replacement.

To the casual observer it may appear gitea06 is being skipped, but
it was replaced first out of sequence due to filesystem corruption
during the PTG. The increased performance of the 75% of the nodes
which have already been replaced means we can get by doing the final
25% at the same time (so two servers at once).

Change-Id: Ia49157c16582b7ed0dbef3eb9d07bf7f1d4450b9
This commit is contained in:
Jeremy Stanley 2019-07-29 16:51:41 +00:00
parent bcb07033f5
commit 56a0b08aa5
3 changed files with 13 additions and 25 deletions

View File

@ -209,18 +209,6 @@ all:
region_name: sjc1
public_v4: 38.108.68.250
public_v6: 2604:e100:3:0:f816:3eff:fe72:b4a9
gitea07.opendev.org:
ansible_host: 38.108.68.86
location:
cloud: openstackci-vexxhost
region_name: sjc1
public_v4: 38.108.68.86
gitea08.opendev.org:
ansible_host: 38.108.68.22
location:
cloud: openstackci-vexxhost
region_name: sjc1
public_v4: 38.108.68.22
grafana02.openstack.org:
ansible_host: 2001:4800:7817:104:be76:4eff:fe04:60d5
location:

View File

@ -11,14 +11,14 @@ haproxy_listeners:
address: '38.108.68.110:3080'
- name: 'gitea04.opendev.org'
address: '38.108.68.147:3080'
#- name: 'gitea05.opendev.org'
# address: '38.108.68.55:3080'
- name: 'gitea05.opendev.org'
address: '38.108.68.131:3080'
- name: 'gitea06.opendev.org'
address: '38.108.68.250:3080'
- name: 'gitea07.opendev.org'
address: '38.108.68.86:3080'
- name: 'gitea08.opendev.org'
address: '38.108.68.22:3080'
#- name: 'gitea07.opendev.org'
# address: '38.108.68.86:3080'
#- name: 'gitea08.opendev.org'
# address: '38.108.68.22:3080'
- name: balance_git_https
bind:
- ':::443'
@ -31,14 +31,14 @@ haproxy_listeners:
address: '38.108.68.110:3000'
- name: 'gitea04.opendev.org'
address: '38.108.68.147:3000'
#- name: 'gitea05.opendev.org'
# address: '38.108.68.55:3000'
- name: 'gitea05.opendev.org'
address: '38.108.68.131:3000'
- name: 'gitea06.opendev.org'
address: '38.108.68.250:3000'
- name: 'gitea07.opendev.org'
address: '38.108.68.86:3000'
- name: 'gitea08.opendev.org'
address: '38.108.68.22:3000'
#- name: 'gitea07.opendev.org'
# address: '38.108.68.86:3000'
#- name: 'gitea08.opendev.org'
# address: '38.108.68.22:3000'
iptables_extra_public_tcp_ports:
- 443
- 80

View File

@ -23,7 +23,7 @@
force: yes
register: gitinfo
- hosts: "gitea:!gitea05.opendev.org:!disabled"
- hosts: "gitea:!gitea07.opendev.org:!gitea08.opendev.org:!disabled"
name: "Create repos on gitea servers"
strategy: free
max_fail_percentage: 1