automatically drop stale mirrors from mirrorlist

Description

The mirrorlist is static currently and stale mirrors need to be removed manually.
This ticket is to implement a script that will read mirrorchecker results and provide only fresh mirrors to end users. It can later be used to provide as well

Activity

Show:
Evgheni Dereveanchin
October 19, 2020, 2:23 PM

The current list of mirrors is static and accessed by users via this URL:

https://mirrorlist.ovirt.org/mirrorlist-ovirt-OVIRT_RELEASE-DISTRO_VER

Which is in turn sending requests to

https://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-OVIRT_RELEASE-DISTRO_VER

The new app should print out mirrors in the same format but instead of being a static list of mirrors it should use the results of mirrorchecker to drop stale ones.

 

We can also back up by using the static mirror list in case mirrorchecker is unavailable or reports everything as stale:

https://gerrit.ovirt.org/gitweb?p=ovirt-mirrorchecker.git;a=blob;f=configs/mirrors.txt;h=cd5760ce765fbb9e3c25f07ced538c231439dc04;hb=refs/heads/master

We’d likely also want to always retain resources.ovirt.org regardless of what mirrorchecker tells us. WDYT?

Assignee

Shlomi Zidmi

Reporter

Evgheni Dereveanchin

Blocked By

None

Priority

Medium
Configure