From ceb711e6d96c3acaa239a4411eb8f33d9ac1e950 Mon Sep 17 00:00:00 2001
From: Ian Wienand <iwienand@redhat.com>
Date: Fri, 19 Jun 2020 08:39:34 +1000
Subject: [PATCH] Swap mirror-update01 for mirror-update02

This is a new Focal based host, which we want for it's more recent
rsync which hopefully causes less issues resyncing things to AFS
volumes.

See 4918594aa472010a8a112f5f4ed0a471a3351a91 for discussion of the
original issues; we have found that without "-t" all new data seems to
be copied continuously.  Empirical testing shows later rsync doesn't
have this issue.

Depends-On: https://review.opendev.org/736859
Change-Id: Iebfffdf8aea6f123e36f264c87d6775771ce2dd8
---
 doc/source/afs.rst                         | 2 +-
 inventory/base/hosts.yaml                  | 8 ++++----
 inventory/service/group_vars/graphite.yaml | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/doc/source/afs.rst b/doc/source/afs.rst
index c43dca6f81..2b55fc8a5f 100644
--- a/doc/source/afs.rst
+++ b/doc/source/afs.rst
@@ -27,7 +27,7 @@ At a Glance
   * afs02.dfw.openstack.org (a second fileserver in DFW)
   * afs01.ord.openstack.org (a fileserver in ORD)
   * mirror-update.openstack.org (host running legacy mirror update jobs)
-  * mirror-update01.opendev.org (host running mirror update jobs)
+  * mirror-update.opendev.org (host running mirror update jobs)
 :Puppet:
   * https://opendev.org/opendev/puppet-openafs
   * :git_file:`modules/openstack_project/manifests/afsdb.pp`
diff --git a/inventory/base/hosts.yaml b/inventory/base/hosts.yaml
index d006973e64..d5377a03e0 100644
--- a/inventory/base/hosts.yaml
+++ b/inventory/base/hosts.yaml
@@ -433,13 +433,13 @@ all:
         region_name: DFW
       public_v4: 104.239.240.194
       public_v6: 2001:4800:7819:104:be76:4eff:fe04:892f
-    mirror-update01.opendev.org:
-      ansible_host: 104.130.137.130
+    mirror-update02.opendev.org:
+      ansible_host: 104.239.149.38
       location:
         cloud: openstackci-rax
         region_name: DFW
-      public_v4: 104.130.137.130
-      public_v6: 2001:4800:7818:103:be76:4eff:fe04:9967
+      public_v4: 104.239.149.38
+      public_v6: 2001:4800:7819:105:be76:4eff:fe04:5864
     mirror-update01.openstack.org:
       ansible_host: 104.130.141.75
       location:
diff --git a/inventory/service/group_vars/graphite.yaml b/inventory/service/group_vars/graphite.yaml
index bd5418eaf7..69c6c05280 100644
--- a/inventory/service/group_vars/graphite.yaml
+++ b/inventory/service/group_vars/graphite.yaml
@@ -5,7 +5,7 @@ iptables_extra_allowed_hosts:
   - hostname: opendev.org
     port: 8125
     protocol: udp
-  - hostname: mirror-update01.openstack.org
+  - hostname: mirror-update02.openstack.org
     port: 8125
     protocol: udp