Swap gitea04 into service and bring down gitea05

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

Change-Id: I4cd1fef399e527771a26efee8a39952694f3ce6b
This commit is contained in:
Jeremy Stanley 2019-07-28 12:15:41 +00:00
parent a603b4bd38
commit 79c86cfe3d
3 changed files with 9 additions and 15 deletions

@ -195,12 +195,6 @@ all:
region_name: sjc1
public_v4: 38.108.68.147
public_v6: 2604:e100:3:0:f816:3eff:fe67:6c38
gitea05.opendev.org:
ansible_host: 38.108.68.55
location:
cloud: openstackci-vexxhost
region_name: sjc1
public_v4: 38.108.68.55
gitea06.opendev.org:
ansible_host: 38.108.68.250
location:

@ -9,10 +9,10 @@ haproxy_listeners:
address: '38.108.68.23: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: 'gitea04.opendev.org'
address: '38.108.68.147:3080'
#- name: 'gitea05.opendev.org'
# address: '38.108.68.55:3080'
- name: 'gitea06.opendev.org'
address: '38.108.68.250:3080'
- name: 'gitea07.opendev.org'
@ -29,10 +29,10 @@ haproxy_listeners:
address: '38.108.68.23: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: 'gitea04.opendev.org'
address: '38.108.68.147:3000'
#- name: 'gitea05.opendev.org'
# address: '38.108.68.55:3000'
- name: 'gitea06.opendev.org'
address: '38.108.68.250:3000'
- name: 'gitea07.opendev.org'

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