#528 Problem with mirrorlist for CentOS 8 Devel tree
Closed: Fixed with Explanation by arrfab. Opened by smooge.

<TrevorH> well I just did 3 dnf clean alls followed by a list and I get 404's on all 10 mirrors that the mirrorlist sends me
[2021-11-19-12:04] <TrevorH> the url I am getting is like http://uk.mirrors.clouvider.net/CentOS/8.5.2111/Devel/x86_64/repodata/repomd.xml
[2021-11-19-12:04] <TrevorH> no /os/
[2021-11-19-12:04] <TrevorH> mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=Devel&infra=$infra
[2021-11-19-12:05] <smooge> OK I will open a centos-infra for arrfab to look at on Monday
[2021-11-19-12:05] <TrevorH> curl -4 "http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=Devel&infra="
[2021-11-19-12:05] <TrevorH> no /os/ in any of those
[2021-11-19-12:06] <smooge> yeah I do not know how that program works to try and fix that search tree

The mirrorlist needs to point to the /os/ directory for these.


Metadata Update from @arrfab:
- Issue assigned to arrfab

Metadata Update from @arrfab:
- Issue tagged with: centos-common-infra, high-gain, medium-trouble

The problem is that the first tree for Devel had no os in the path, so the mirror crawler detected the change in the DB and added a "new" path, but after Devel was populated after release, it had its path as it was before, but creating dups in the DB :

|     500 | 8             | Devel/aarch64                        | devel                        | aarch64 |       0 | yes     |
|     245 | 8             | Devel/aarch64/os                     | devel                        | aarch64 |       0 | yes     |
|     501 | 8             | Devel/ppc64le                        | devel                        | ppc64le |       0 | yes     |
|     246 | 8             | Devel/ppc64le/os                     | devel                        | ppc64le |       0 | yes     |
|     502 | 8             | Devel/x86_64                         | devel                        | x86_64  |       0 | yes     |
|     247 | 8             | Devel/x86_64/os                      | devel                        | x86_64  |       0 | yes     |

So I just removed the newer 500,501,502 from mirrors db (repos table) and then the produced repos.json (pushed on all mirrorlist nodes) was correct again.

It seems to work fine :

curl 'http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=Devel'
http://mirror.kinamo.be/centos/8.5.2111/Devel/x86_64/os/
http://mirror.unix-solutions.be/centos/8.5.2111/Devel/x86_64/os/
http://ftp.belnet.be/mirror/ftp.centos.org/8.5.2111/Devel/x86_64/os/
http://centos.cu.be/8.5.2111/Devel/x86_64/os/
http://mirror.plusserver.com/centos/8.5.2111/Devel/x86_64/os/
http://ftp.rezopole.net/centos/8.5.2111/Devel/x86_64/os/
http://centos.mirrors.proxad.net/8.5.2111/Devel/x86_64/os/
http://mirror.dataone.nl/centos/8.5.2111/Devel/x86_64/os/
http://ftp.nluug.nl/ftp/pub/os/Linux/distr/CentOS/8.5.2111/Devel/x86_64/os/
http://mirror.serverius.net/centos/8.5.2111/Devel/x86_64/os/

Metadata Update from @arrfab:
- Issue close_status updated to: Fixed with Explanation
- Issue status updated to: Closed (was: Open)

Log in to comment on this ticket.

Metadata