From d97eff271ccaeb70874d61b3ac19d45b7f88042c Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Mon, 15 Nov 2021 16:51:55 +1100 Subject: [PATCH] Revert "Enable mirroring of centos stream 9 contents" This reverts commit 8591ce2b5c689b5e438fc0bfe9d410be7e344fb1. It did not click that this is written to use /afs/.openstack.org/mirror/centos-stream as the base directory. The mirror/ directory has volumes mounted in it -- i.e. centos-stream has to be a new volume (and also has to be "vos released" separately, the existing script won't do it). The simplest way to do this is to treat this separately. I'll propose this in a follow-on. Change-Id: If7b8239adf7635da4f0c317287d23daf5ab0f4bf --- .../mirror-update/files/centos-mirror-update | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/playbooks/roles/mirror-update/files/centos-mirror-update b/playbooks/roles/mirror-update/files/centos-mirror-update index 59ed2e93a7..1f1a13aa35 100755 --- a/playbooks/roles/mirror-update/files/centos-mirror-update +++ b/playbooks/roles/mirror-update/files/centos-mirror-update @@ -35,30 +35,6 @@ RSYNC="rsync ${_DRY_RUN} -rltvz" BASE="/afs/.openstack.org/mirror/centos" K5START="k5start -t -f /etc/centos.keytab service/centos-mirror -- $TIMEOUT" -# -# -- Centos 9-stream -- -# - -# Since CentOS Stream 9, CentOS mirrofs have moved OS repos from basedir centos to centos-stream -BASE_STREAM="/afs/.openstack.org/mirror/centos-stream" - -MIRROR=rsync://dfw.mirror.rackspace.com/centos-stream/9-stream/ # somewhere in US - -if ! [ -f ${BASE_STREAM}/9-stream ]; then - $K5START mkdir -p ${BASE_STREAM}/9-stream -fi -date --iso-8601=ns -echo "Running Centos 9-stream rsync..." -$K5START ${RSYNC} \ - --delete \ - --delete-excluded \ - --exclude="iso" \ - --exclude="debug" \ - --exclude="s390x" \ - --exclude="source" \ - --exclude="ppc64le" \ - $MIRROR ${BASE_STREAM}/9-stream - # # -- Centos 8-stream -- #