Bug 3166 - use MirrorManager2 for download management (for better mirror choosing) and also configure it for DNF
Summary: use MirrorManager2 for download management (for better mirror choosing) and a...
Status: NEW
Alias: None
Product: Infrastructure
Classification: Unclassified
Component: Others (show other bugs)
Version: unspecified
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Sysadmin Team
QA Contact:
URL: https://github.com/fedora-infra/mirro...
Whiteboard:
Keywords:
: 11454 17400 (view as bug list)
Depends on: 3234
Blocks: 4041 8023 16002
  Show dependency treegraph
 
Reported: 2011-10-24 13:40 CEST by Christian Lohmaier
Modified: 2024-10-21 16:40 CEST (History)
16 users (show)

See Also:
Source RPM: urpmi
CVE:
Status comment:


Attachments

Description Christian Lohmaier 2011-10-24 13:40:57 CEST
As mageia did not include
https://qa.mandriva.com/show_bug.cgi?id=56879

urpm still relies on the timezone to choose a mirror, and as there still is no working fallback in urpmi either, when that one mirror is not up-to-date or has some other failure, updating/installing a package will fail.

That's why I propose to drop the client-side mirror choosing altogether and use mirrorbrain instead.

Mirrorbrain itself doesn't need much resources, but has the benefit of

* checking mirrors whether they are up-to-date
* handing out the geographically closest mirror/mirror within the same ASN if possible, with the option to prefer powerful mirrors over weaker ones by giving the mirrors appropriate scores
* creation of mirrorlists
* managing of mirrors in once place
* can create torrents as well (as one part of bug#890)
* and as all links are passed through one instance, it is easier to create downloadstats (bug #2330)

With mirrorbrain, the problem with the installer also is gone (you can only give one specific URL when adding media in the installer, the installer is not aware of mirrorlist method)
Manuel Hiebel 2011-10-24 19:02:25 CEST

CC: (none) => rdalverny, thierry.vignaud

Thierry Vignaud 2011-10-25 10:02:21 CEST

Product: Infrastructure => Mageia
Keywords: (none) => PATCH
Component: Others => RPM Packages
Version: unspecified => Cauldron
Assignee: sysadmin-bugs => bugsquad

Thierry Vignaud 2011-10-25 10:02:28 CEST

Source RPM: (none) => urpmi

Comment 1 Romain d'Alverny 2011-10-31 14:18:09 CET Comment hidden (obsolete)

Depends on: (none) => 3234

Comment 2 Christian Lohmaier 2011-10-31 18:21:04 CET Comment hidden (obsolete)
Nicolas Vigier 2011-11-08 17:25:16 CET

CC: (none) => boklm, nanardon

Comment 3 Marja Van Waes 2012-01-01 14:44:00 CET Comment hidden (obsolete)

CC: (none) => marja11, remco

Comment 4 Remco Rijnders 2012-01-02 18:32:22 CET Comment hidden (obsolete)
Comment 5 Christian Lohmaier 2012-01-03 15:02:28 CET Comment hidden (obsolete)
Comment 6 Romain d'Alverny 2012-01-03 16:07:34 CET Comment hidden (obsolete)
Comment 7 andré blais 2012-01-04 06:22:36 CET Comment hidden (obsolete)

CC: (none) => andre999mga

Comment 8 Christian Lohmaier 2012-01-04 12:16:40 CET Comment hidden (obsolete)
Comment 9 Jeff Johnson 2012-01-07 20:16:16 CET Comment hidden (obsolete)

CC: (none) => n3npq

Comment 10 Romain d'Alverny 2012-01-07 20:58:02 CET Comment hidden (obsolete)
Comment 11 Jeff Johnson 2012-01-07 22:09:58 CET Comment hidden (obsolete)
Comment 12 Remco Rijnders 2012-04-11 20:22:30 CEST Comment hidden (obsolete)
Comment 13 Romain d'Alverny 2012-04-26 16:05:20 CEST Comment hidden (obsolete)
Comment 14 Marja Van Waes 2012-04-26 16:07:57 CEST Comment hidden (obsolete)

Assignee: bugsquad => mageia-webteam

Comment 15 Marja Van Waes 2012-05-26 13:04:18 CEST Comment hidden (obsolete)

Keywords: (none) => NEEDINFO

Comment 16 Romain d'Alverny 2012-05-26 17:37:21 CEST Comment hidden (obsolete)

Version: Cauldron => unspecified
Assignee: mageia-webteam => sysadmin-bugs
Product: Mageia => Infrastructure
Severity: normal => enhancement
Component: RPM Packages => Others

Sander Lepik 2012-05-26 18:52:11 CEST

CC: (none) => sander.lepik
Keywords: NEEDINFO => (none)

Comment 17 Marja Van Waes 2012-11-10 13:25:06 CET Comment hidden (obsolete)

CC: (none) => mageia-webteam

Comment 18 Thierry Vignaud 2012-11-11 14:36:09 CET Comment hidden (obsolete)
Comment 19 Romain d'Alverny 2012-11-11 14:48:29 CET
What support do you need from the web site? (or do you mean, support from an installed mirrorbrain instance?)
Comment 20 Thierry Vignaud 2012-11-19 23:58:53 CET Comment hidden (obsolete)
Comment 21 Christian Lohmaier 2012-11-20 01:29:35 CET Comment hidden (obsolete)
Comment 22 Thierry Vignaud 2012-11-20 01:39:32 CET Comment hidden (obsolete)
Thierry Vignaud 2012-11-20 07:23:20 CET

Summary: use mirrorbrain for download managemenet instead of broken mirror-choosing by timezone => use mirrorbrain for download management instead of broken mirror-choosing by timezone

Comment 23 Pascal Terjan 2013-10-13 16:49:55 CEST
*** Bug 11454 has been marked as a duplicate of this bug. ***

CC: (none) => pterjan

Comment 24 David Walser 2013-10-23 15:30:10 CEST Comment hidden (obsolete)
Nicolas Vigier 2014-03-24 10:52:39 CET

CC: boklm => (none)

Marja Van Waes 2016-02-06 15:55:31 CET

Blocks: (none) => 17400

andré blais 2016-02-09 03:36:16 CET

CC: andr55 => andre999mga

Neal Gompa 2016-02-09 08:28:06 CET

Blocks: 17400 => (none)
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=17400

Comment 25 Marja Van Waes 2016-02-09 09:05:17 CET Comment hidden (obsolete)

Summary: use mirrorbrain for download management instead of broken mirror-choosing by timezone => use mirrorbrain for download management (for better mirror choosing and for DNF)

Marja Van Waes 2016-02-09 09:13:33 CET

Blocks: (none) => 17400

Florian Hubold 2016-02-19 17:01:24 CET

CC: (none) => doktor5000

Comment 26 Neal Gompa 2016-03-14 10:38:40 CET Comment hidden (obsolete)

CC: (none) => ngompa13

Comment 27 Filip Komar 2016-03-14 13:36:25 CET Comment hidden (obsolete)

CC: (none) => filip.komar

Comment 28 Christian Lohmaier 2016-03-14 14:08:42 CET Comment hidden (obsolete)
Comment 29 Christian Lohmaier 2016-03-14 16:47:48 CET Comment hidden (obsolete)
Comment 30 Thomas Backlund 2016-03-14 23:55:49 CET Comment hidden (obsolete)

CC: (none) => tmb

Manuel Hiebel 2017-07-26 16:47:08 CEST

Blocks: (none) => 8023

Remco Rijnders 2017-07-27 08:01:49 CEST

CC: remco => (none)

Comment 31 Olav Vitters 2020-04-20 14:21:13 CEST
I've just obsoleted MirrorBrain in Cauldron as it hasn't been updated (or developed) since 2015. The alternative seems to be MirrorManager2, by Fedora infrastructure team. Either this bug needs to be updated or WONTFIX and a new bug.

CC: (none) => olav

Comment 32 Morgan Leijström 2022-08-10 10:41:48 CEST
This issue need a kick.

I think a new bug is in order, written by someone knowing more than me ;)

Related:
https://wiki.mageia.org/en/Feature:Migrate_to_MirrorBrain
https://wiki.mageia.org/en/Feature:Urpmi_redirects_if_local_mirror_unavailable
https://wiki.mageia.org/en/Mirrors_policy

CC: (none) => fri

Comment 33 Morgan Leijström 2022-08-10 10:43:39 CEST
Kind of duplicate:

Bug 17400 - Deploy and configure MirrorBrain to manage mirrors and generate metalinks for DNF
Comment 34 Marja Van Waes 2024-10-20 14:43:43 CEST
(In reply to Olav Vitters from comment #31)
> I've just obsoleted MirrorBrain in Cauldron as it hasn't been updated (or
> developed) since 2015. The alternative seems to be MirrorManager2, by Fedora
> infrastructure team. Either this bug needs to be updated or WONTFIX and a
> new bug.

Changing the Summary and obsoleting most comments.

If a sysadmin thinks this is doable, it is indeed better to create a new bug report

Keywords: PATCH => (none)
URL: http://www.mirrorbrain.org/ => https://github.com/fedora-infra/mirrormanager2
Summary: use mirrorbrain for download management (for better mirror choosing and for DNF) => use MirrorManager2 for download management (for better mirror choosing and for DNF)

Comment 35 katnatek 2024-10-20 19:49:11 CEST
(In reply to Marja Van Waes from comment #34)
> (In reply to Olav Vitters from comment #31)
> > I've just obsoleted MirrorBrain in Cauldron as it hasn't been updated (or
> > developed) since 2015. The alternative seems to be MirrorManager2, by Fedora
> > infrastructure team. Either this bug needs to be updated or WONTFIX and a
> > new bug.
> 
> Changing the Summary and obsoleting most comments.
> 
> If a sysadmin thinks this is doable, it is indeed better to create a new bug
> report

Perhaps can be closed as duplicate of bug#17400 ?
Comment 36 Marja Van Waes 2024-10-21 16:33:25 CEST
(In reply to katnatek from comment #35)
> (In reply to Marja Van Waes from comment #34)
> > (In reply to Olav Vitters from comment #31)
> > > I've just obsoleted MirrorBrain in Cauldron as it hasn't been updated (or
> > > developed) since 2015. The alternative seems to be MirrorManager2, by Fedora
> > > infrastructure team. Either this bug needs to be updated or WONTFIX and a
> > > new bug.
> > 
> > Changing the Summary and obsoleting most comments.
> > 
> > If a sysadmin thinks this is doable, it is indeed better to create a new bug
> > report
> 
> Perhaps can be closed as duplicate of bug#17400 ?

Thanks for the suggestion. I'll do it the other way around, don't want to spend time on obsoleting comments again, in that report. Besides, this one is older. I've adjusted the summary to be clearer about the correct configuration for DNF also needing to be done.

Summary: use MirrorManager2 for download management (for better mirror choosing and for DNF) => use MirrorManager2 for download management (for better mirror choosing) and also configure it for DNF

Comment 37 Marja Van Waes 2024-10-21 16:35:19 CEST
*** Bug 17400 has been marked as a duplicate of this bug. ***
Comment 38 Marja Van Waes 2024-10-21 16:40:30 CEST
(In reply to Marja Van Waes from comment #37)
> *** Bug 17400 has been marked as a duplicate of this bug. ***

Adding two Blocks: and the See Also: from bug 17400

Blocks: 17400 => 4041, 16002
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=19432


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