From 8b8bf13e4dc8828933642b64292c1e36177a127d Mon Sep 17 00:00:00 2001
From: Clark Boylan <clark.boylan@gmail.com>
Date: Mon, 13 Mar 2023 08:32:17 -0700
Subject: [PATCH] Remove gitea01-04 from our haproxy config

We have six new larger gitea backend servers that are replacing the old
gitea01-08 set. gitea05-08 has already been removed and deleted. This is
the first step is beginning to shutdown gitea01-04.

We should consider holding in this state for a time to monitor that the
new servers are holding up against demand before we stop replicating to
these servers. Removing replication is the point where it is more
difficult to put them back into production.

Change-Id: Idc90a9f381eaa287d240b94cf1490de112430475
---
 inventory/service/group_vars/gitea-lb.yaml | 24 ----------------------
 1 file changed, 24 deletions(-)

diff --git a/inventory/service/group_vars/gitea-lb.yaml b/inventory/service/group_vars/gitea-lb.yaml
index d33c01a0dd..47e409ba6e 100644
--- a/inventory/service/group_vars/gitea-lb.yaml
+++ b/inventory/service/group_vars/gitea-lb.yaml
@@ -3,18 +3,6 @@ gitea_lb_listeners:
     bind:
       - ':::80'
     servers:
-      - name: 'gitea01.opendev.org'
-        address: '38.108.68.172:3080'
-        check_method: 'check'
-      - name: 'gitea02.opendev.org'
-        address: '38.108.68.23:3080'
-        check_method: 'check'
-      - name: 'gitea03.opendev.org'
-        address: '38.108.68.110:3080'
-        check_method: 'check'
-      - name: 'gitea04.opendev.org'
-        address: '38.108.68.147:3080'
-        check_method: 'check'
       - name: 'gitea09.opendev.org'
         address: '38.108.68.113:3080'
         check_method: 'check'
@@ -37,18 +25,6 @@ gitea_lb_listeners:
     bind:
       - ':::443'
     servers:
-      - name: 'gitea01.opendev.org'
-        address: '38.108.68.172:3081'
-        check_method: 'check check-ssl verify none'
-      - name: 'gitea02.opendev.org'
-        address: '38.108.68.23:3081'
-        check_method: 'check check-ssl verify none'
-      - name: 'gitea03.opendev.org'
-        address: '38.108.68.110:3081'
-        check_method: 'check check-ssl verify none'
-      - name: 'gitea04.opendev.org'
-        address: '38.108.68.147:3081'
-        check_method: 'check check-ssl verify none'
       - name: 'gitea09.opendev.org'
         address: '38.108.68.113:3081'
         check_method: 'check check-ssl verify none'