Bug 26546 - mirrors.mageia.org/status only reports the status of mirrors with working http connections.
Summary: mirrors.mageia.org/status only reports the status of mirrors with working htt...
Status: NEW
Alias: None
Product: Websites
Classification: Unclassified
Component: mirrors.mageia.org (show other bugs)
Version: trunk
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Sysadmin Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-27 00:20 CEST by Thomas Andrews
Modified: 2020-06-04 22:16 CEST (History)
4 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Thomas Andrews 2020-04-27 00:20:07 CEST
As it says in the summary, the mirrors.mageia.org/status page only reports the status of mirrors with working http connections. Mirrors that provide rsync or ftp connections but with non-working http are being ignored.

An example, as I write this, would be ftp.belnet.be. Users who might want to use this mirror, or are using it already, should be able to check its status.

If a mirror does have a working http connection, I don't know of any reason to report its ftp and rsync status as well, but then perhaps there is one.
Comment 1 r howard 2020-04-27 00:55:15 CEST
Is it possible to add a status column which could display "up", "down" status or something similar?

CC: (none) => rihoward1

Comment 2 Dave Hodgins 2020-04-27 01:11:41 CEST
Also, Mageia 6 should be dropped from the status page, since it's no longer
supported.

CC: (none) => davidwhodgins

Comment 3 r howard 2020-04-27 01:30:52 CEST
In my comment 1 I confused http://mirrors.mageia.org/ with http://mirrors.mageia.org/status. Apologies.

http://mirrors.mageia.org/ is the "Mageia mirrors database" page and has listed a number of mirrors which seem to be no longer reachable for one reason or another.
Comment 4 Dave Hodgins 2020-04-27 02:13:57 CEST
Note that on https://mirrors.mageia.org/ the url column does indicate the
status of all of the connections, by the colour of the link. Red for those
that are not working.
Comment 5 Filip Komar 2020-04-27 20:21:58 CEST
Personally I'm not able to fix it as current is written in perl.
It even seems that is not copied automaticaly (bug 12220 comment 8) from git:
http://gitweb.mageia.org/software/infrastructure/mgamirrors/

I would be probably able to rewrite status and mirror list page in php. But I would still need assistance from sysadmins to put the new scripts in proper place.

CC: (none) => filip.komar

Comment 6 Dave Hodgins 2020-06-04 22:16:51 CEST
From what I can see, it's using php to create/update a database which would
be stored either in php-mysqli or php-pgsql.

Is phpmyadmin for mysql, or phppgadmin for postgresql available for sysadmins
to directly edit the database, and remove the entries for the stale mirrors?

Note You need to log in before you can comment on or make changes to this bug.