Mirror OBS ha-clustering repo for CentOS 7

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 <radoslaw.piliszek@gmail.com>
This commit is contained in:
Radosław Piliszek 2019-09-17 10:23:48 +02:00
parent 823298b365
commit dc2510aac7

View File

@ -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