Swap gitea02 into service and bring down gitea03

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

Change-Id: I4b51291311064c60d4bb2d90bec6e5cb90a54f3c
This commit is contained in:
Jeremy Stanley 2019-07-26 17:41:55 +00:00
parent 9c5e54a89c
commit 55f657c68d
3 changed files with 9 additions and 15 deletions

View File

@ -181,12 +181,6 @@ all:
region_name: sjc1
public_v4: 38.108.68.23
public_v6: 2604:e100:3:0:f816:3eff:fef9:dcf4
gitea03.opendev.org:
ansible_host: 38.108.68.133
location:
cloud: openstackci-vexxhost
region_name: sjc1
public_v4: 38.108.68.133
gitea04.opendev.org:
ansible_host: 38.108.68.115
location:

View File

@ -5,10 +5,10 @@ haproxy_listeners:
servers:
- name: 'gitea01.opendev.org'
address: '38.108.68.172:3080'
#- name: 'gitea02.opendev.org'
# address: '38.108.68.122:3080'
- name: 'gitea03.opendev.org'
address: '38.108.68.133: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: 'gitea05.opendev.org'
@ -25,10 +25,10 @@ haproxy_listeners:
servers:
- name: 'gitea01.opendev.org'
address: '38.108.68.172:3000'
#- name: 'gitea02.opendev.org'
# address: '38.108.68.122:3000'
- name: 'gitea03.opendev.org'
address: '38.108.68.133: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: 'gitea05.opendev.org'

View File

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