Swap gitea03 into service and bring down gitea04

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

Change-Id: Id5817f8265996862a7e0810b9fb9e3d78be5d066
This commit is contained in:
Jeremy Stanley 2019-07-27 02:07:13 +00:00
parent 01a97664ea
commit 0256ba5219
3 changed files with 9 additions and 15 deletions

@ -188,12 +188,6 @@ all:
region_name: sjc1
public_v4: 38.108.68.110
public_v6: 2604:e100:3:0:f816:3eff:fe73:673f
gitea04.opendev.org:
ansible_host: 38.108.68.115
location:
cloud: openstackci-vexxhost
region_name: sjc1
public_v4: 38.108.68.115
gitea05.opendev.org:
ansible_host: 38.108.68.55
location:

@ -7,10 +7,10 @@ haproxy_listeners:
address: '38.108.68.172:3080'
- name: 'gitea02.opendev.org'
address: '38.108.68.23:3080'
#- name: 'gitea03.opendev.org'
# address: '38.108.68.133:3080'
- name: 'gitea04.opendev.org'
address: '38.108.68.115:3080'
- name: 'gitea03.opendev.org'
address: '38.108.68.110:3080'
#- name: 'gitea04.opendev.org'
# address: '38.108.68.115:3080'
- name: 'gitea05.opendev.org'
address: '38.108.68.55:3080'
- name: 'gitea06.opendev.org'
@ -27,10 +27,10 @@ haproxy_listeners:
address: '38.108.68.172:3000'
- name: 'gitea02.opendev.org'
address: '38.108.68.23:3000'
#- name: 'gitea03.opendev.org'
# address: '38.108.68.133:3000'
- name: 'gitea04.opendev.org'
address: '38.108.68.115:3000'
- name: 'gitea03.opendev.org'
address: '38.108.68.110:3000'
#- name: 'gitea04.opendev.org'
# address: '38.108.68.115:3000'
- name: 'gitea05.opendev.org'
address: '38.108.68.55:3000'
- name: 'gitea06.opendev.org'

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