From dc2510aac7993be82d23bbd5a0e1c7bd0af7c7ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Tue, 17 Sep 2019 10:23:48 +0200 Subject: [PATCH] Mirror OBS ha-clustering repo for CentOS 7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Kolla uses this to build hacluster images. Direct usage is causing timeouts recently. I changed the formatting to make it more readable and slapped a comment note for maintainers. Change-Id: I68d7155718c0ae0744198ca96aca1a207bab7ed6 Signed-off-by: Radosław Piliszek --- .../files/opensuse-mirror-update | 28 +++++++++++-------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/playbooks/roles/mirror-update/files/opensuse-mirror-update b/playbooks/roles/mirror-update/files/opensuse-mirror-update index f10e04993c..60e377a5a2 100755 --- a/playbooks/roles/mirror-update/files/opensuse-mirror-update +++ b/playbooks/roles/mirror-update/files/opensuse-mirror-update @@ -25,17 +25,23 @@ fi BASE="/afs/.openstack.org/mirror/opensuse" MIRROR="rsync://mirror.us.leaseweb.net/opensuse" OBS_MIRROR="rsync://provo-mirror.opensuse.org/opensuse/repositories" -OBS_REPOS=('Virtualization:/containers/openSUSE_Leap_42.3' - 'Virtualization:/containers/openSUSE_Leap_15.0' - 'Virtualization:/containers:/images:/openSUSE-Leap-15.0' - 'Cloud:/OpenStack:/Queens/openSUSE_Leap_42.3' - 'Cloud:/OpenStack:/Queens/openSUSE_Leap_15.0' - 'Cloud:/OpenStack:/Rocky/openSUSE_Leap_42.3' - 'Cloud:/OpenStack:/Rocky/openSUSE_Leap_15.0' - 'Cloud:/OpenStack:/Stein/openSUSE_Leap_15.0' - 'Cloud:/OpenStack:/Stein/openSUSE_Leap_15.1' - 'Cloud:/OpenStack:/Master/openSUSE_Leap_15.0' - 'Cloud:/OpenStack:/Master/openSUSE_Leap_15.1') +OBS_REPOS=( + 'Virtualization:/containers/openSUSE_Leap_42.3' + 'Virtualization:/containers/openSUSE_Leap_15.0' + 'Virtualization:/containers:/images:/openSUSE-Leap-15.0' + + 'Cloud:/OpenStack:/Queens/openSUSE_Leap_42.3' + 'Cloud:/OpenStack:/Queens/openSUSE_Leap_15.0' + 'Cloud:/OpenStack:/Rocky/openSUSE_Leap_42.3' + 'Cloud:/OpenStack:/Rocky/openSUSE_Leap_15.0' + 'Cloud:/OpenStack:/Stein/openSUSE_Leap_15.0' + 'Cloud:/OpenStack:/Stein/openSUSE_Leap_15.1' + 'Cloud:/OpenStack:/Master/openSUSE_Leap_15.0' + 'Cloud:/OpenStack:/Master/openSUSE_Leap_15.1' + + # NOTE(yoctozepto): kolla uses the following for hacluster + 'network:/ha-clustering:/Stable/CentOS_CentOS-7' +) K5START="k5start -t -f /etc/opensuse.keytab service/opensuse-mirror -- $TIMEOUT" # NOTE(hwoarang): Ensure old distros are not mirrored aymore