#8653 Fedora 32 branched is pointing to rawhide in mirrormanager
Closed: Fixed 4 years ago by adrian. Opened 4 years ago by kevin.

Somehow fedora-32 is pointing to rawhide instead of development/32. ;(

➜ ~ curl "https://mirrors.fedoraproject.org/metalink?repo=fedora-32&arch=x86_64" | head -30
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0<?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="<a href="http://www.metalinker.org/"">http://www.metalinker.org/" type="dynamic" pubdate="Sat, 15 Feb 2020 18:20:29 GMT" generator="mirrormanager" xmlns:mm0="http://fedorahosted.org/mirrormanager">
<files>
<file name="repomd.xml">
<mm0:timestamp>1581704640</mm0:timestamp>
<size>6282</size>
<verification>
<hash type="md5">26e3771da290215e079689e8ee7b4e7f</hash>
<hash type="sha1">e0d3dfb6b7a520f480fab5f4a70e9f6a5e8c7406</hash>
<hash type="sha256">34427d8012731dfef251755c9edfb46e9c33b97903b2ad14500d442eb120c88b</hash>
<hash type="sha512">a58b529c01ab0fa929afc37f54e9d60855f8e45ddeacd838336c548eb21ffff0ea35f2b5c92b9622f6c8dff0c0e3fb043db6ade3aaf376163a8926c665214999</hash>
</verification>
<mm0:alternates>
<mm0:alternate>
<mm0:timestamp>1581411897</mm0:timestamp>
<size>6282</size>
<verification>
<hash type="md5">3284d9b18211cf276a78e45259521c47</hash>
<hash type="sha1">cb7cc641569608d1966f5254ee265159b5d4871d</hash>
<hash type="sha256">01643b10a73388d2af57bfd488494d7ddd183542f8dfd95e5d57f42a9fee7773</hash>
<hash type="sha512">6ab0d8c12a58a69228d76aae9fad7f68d946e756b2b851a40ecc3b88127776ed97b23d0a04869ab34384bb4fac4d7d9b76583ec4b8200c8646532c36f79e8500</hash>
</verification>
</mm0:alternate>
</mm0:alternates>
<resources maxconnections="1">
<url protocol="rsync" type="rsync" location="US" preference="100">rsync://mirror.math.princeton.edu/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/repomd.xml</url>
<url protocol="http" type="http" location="US" preference="100">http://mirror.math.princeton.edu/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/repomd.xml</url>
<url protocol="https" type="https" location="US" preference="99">https://mirror.mrjester.net/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/repomd.xml</url>
<url protocol="rsync" type="rsync" location="US" preference="99">rsync://mirror.mrjester.net/fedora-linux/development/rawhide/Everything/x86_64/os/repodata/repomd.xml</url>
<url protocol="http" type="http" location="US" preference="99">http://mirror.mrjester.net/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/repomd.xml</url>
...

@adrian can you take a look and repoint it? I guess it just never detected branched and kept it pointing to rawhide?

We did have a good branched compose, so not sure what happened.

orig reported at https://bugzilla.redhat.com/show_bug.cgi?id=1803338


The reason for this are our repository redirects. We always have N+1 -> rawhide.

I have deleted all redirects including 32. Should be soon live.

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

4 years ago

Ah, oops. Is there a SOP or quick process for this that we could add into the branching tasks?

Ah, oops. Is there a SOP or quick process for this that we could add into the branching tasks?

Sure. The following is necessary to remove the redirects:

mirrormanager2=> delete from repository_redirect where from_repo like '%32%';
DELETE 18

To create the redirects something like this is needed:

insert into repository_redirect (from_repo , to_repo) values ('fedora-32','rawhide');               
insert into repository_redirect (from_repo , to_repo) values ('fedora-source-32','rawhide-source');
insert into repository_redirect (from_repo , to_repo) values ('updates-released-f32','rawhide');
insert into repository_redirect (from_repo , to_repo) values ('updates-released-debug-f32','rawhide-debug');
insert into repository_redirect (from_repo , to_repo) values ('updates-released-source-f32','rawhide-source');
insert into repository_redirect (from_repo , to_repo) values ('updates-testing-f32','rawhide');
insert into repository_redirect (from_repo , to_repo) values ('updates-testing-debug-f32','rawhide-debug');
insert into repository_redirect (from_repo , to_repo) values ('updates-testing-source-f32','rawhide-source');
insert into repository_redirect (from_repo , to_repo) values ('fedora-modular-32','rawhide-modular');
insert into repository_redirect (from_repo , to_repo) values ('fedora-modular-debug-32','rawhide-modular-debug');
insert into repository_redirect (from_repo , to_repo) values ('fedora-modular-source-32','rawhide-modular-source');
insert into repository_redirect (from_repo , to_repo) values ('updates-released-modular-f32','rawhide-modular');
insert into repository_redirect (from_repo , to_repo) values ('updates-testing-modular-f32','rawhide-modular');
insert into repository_redirect (from_repo , to_repo) values ('updates-released-modular-debug-f32','rawhide-modular-debug');
insert into repository_redirect (from_repo , to_repo) values ('updates-testing-modular-debug-f32','rawhide-modular-debug');
insert into repository_redirect (from_repo , to_repo) values ('updates-testing-modular-source-f32','rawhide-modular-source');
insert into repository_redirect (from_repo , to_repo) values ('updates-released-modular-source-f32','rawhide-modular-source');
insert into repository_redirect (from_repo , to_repo) values ('fedora-debug-32','rawhide-debug');

The timing is probably important. This should not be run before MirrorManager has picked up the actual newly published repositories.

Login to comment on this ticket.

Metadata