#8653 Fedora 32 branched is pointing to rawhide in mirrormanager
Closed: Fixed by adrian. Opened 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



1581704640
6282

26e3771da290215e079689e8ee7b4e7f
e0d3dfb6b7a520f480fab5f4a70e9f6a5e8c7406
34427d8012731dfef251755c9edfb46e9c33b97903b2ad14500d442eb120c88b
a58b529c01ab0fa929afc37f54e9d60855f8e45ddeacd838336c548eb21ffff0ea35f2b5c92b9622f6c8dff0c0e3fb043db6ade3aaf376163a8926c665214999



1581411897
6282

3284d9b18211cf276a78e45259521c47
cb7cc641569608d1966f5254ee265159b5d4871d
01643b10a73388d2af57bfd488494d7ddd183542f8dfd95e5d57f42a9fee7773
6ab0d8c12a58a69228d76aae9fad7f68d946e756b2b851a40ecc3b88127776ed97b23d0a04869ab34384bb4fac4d7d9b76583ec4b8200c8646532c36f79e8500




rsync://mirror.math.princeton.edu/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/repomd.xml
http://mirror.math.princeton.edu/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/repomd.xml
https://mirror.mrjester.net/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/repomd.xml
rsync://mirror.mrjester.net/fedora-linux/development/rawhide/Everything/x86_64/os/repodata/repomd.xml
http://mirror.mrjester.net/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/repomd.xml
...

@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)

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.

Metadata