[heroes] Mirrorbrain configuration adjustments
Dear Heroes, I was assigned https://bugzilla.opensuse.org/show_bug.cgi?id=1120962 and, together with Theo, managed to fix the issue. But I want to make sure all heroes are aware of the trouble and the reasons behind. First, the bug happened becuase of an outdated mirror (suse.inode.at in this case). The file yast2-trans-en_US.rpm was not updated on that mirror. In normal repos, this does not cause issues, as all RPMs are named NAME-VERSION.rpm, with a changing VERSION field. So if a mirror is not updating, it simply won't have the new RPMs with VERSION+1. Simple enough. For stuff in repo/oss/boot though, this does not apply: there are unversioned files, including a bunch of squashfs images. Most don't have a number in the name, so they are excempt from mirror redirection anyway, so all good.. except for yast_2_-* :( In the past, we had a block in apache;s configuration to redirect all of repo/oss/boot to downloadcontent, where we have control over the state and basically can guarantee it being up-to-date. Somewhen, this block had been disabled with a comment like: # why is that needed at all? # we have mirrors outside who can handle this content... So, by now we know the 'why' :) As said, together with Theo this block had been re-enabled and mirrorbrain is again redirectnig all of boot/ to downloadcontent.opensuse.org Additionally, I disabled suse.inode.at in the MB database: this mirror has not been updating in 1.5 years. I hope to have you informed sufficiently and nobody feels like I stepped on anybodys toes. Cheers Dominique
On 14/02/2019 16.15, Dominique Leuenberger / DimStar wrote:
For stuff in repo/oss/boot though, this does not apply: there are unversioned files, including a bunch of squashfs images. Most don't have a number in the name, so they are excempt from mirror redirection anyway, so all good.. except for yast_2_-* :(
That reminds me of a related issue where we have a (versioned) rpm replacing an earlier instance of the rpm of the same name and version. And then repo-metadata does not match what zypper gets from the repo. It is not https://github.com/openSUSE/open-build-service/issues/6690 but the effect is the same. Can we not have mirrorbrain check mtime of files as well, so that only mirrors with the current version of a file are served as redirect targets? My caching squid proxy at home also regularly gets confused by such replacing of rpms, but OBS guys seem to not think that it should be fixed in OBS.
Dominique Leuenberger / DimStar wrote:
Additionally, I disabled suse.inode.at in the MB database: this mirror has not been updating in 1.5 years.
I hope to have you informed sufficiently and nobody feels like I stepped on anybodys toes.
Thanks for taking care of it, Dominique. -- Per Jessen, Zürich (8.7°C) Member, openSUSE Heroes -- To unsubscribe, e-mail: heroes+unsubscribe@opensuse.org To contact the owner, e-mail: heroes+owner@opensuse.org
participants (3)
-
Bernhard M. Wiedemann
-
Dominique Leuenberger / DimStar
-
Per Jessen