#12275 The `openh264` package fails to install because of the GPG key
Closed: Fixed 8 months ago by patrikp. Opened 10 months ago by jkonecny.

  • Describe the issue
    In Fedora Rawhide (42) after branching the openh264 package from Fedora rawhide openh264 (From Cisco) - x86_64 repository can't be installed. I'm getting this error:
PGP check for package "openh264-2.4.1-2.fc41.x86_64" (/var/cache/libdnf5/fedora-cisco-openh264-4896e02bbb10d47b/packages/openh264-2.4.1-2.fc41.x86_64.rpm) from repo "fedora-cisco-openh264" has failed: Import of the key didn't help, wrong key?

Easy to reproduce:

podman pull fedora:rawhide
podman run --rm -it fedora:rawhide
sudo dnf install -y openh264
  • When do you need this? (YYYY/MM/DD)
    Sooner is better. It's blocking my testing but mainly it's blocking use of Rawhide for people.

  • When is this no longer needed or useful? (YYYY/MM/DD)
    Definitely useful all the time.

  • If we cannot complete your request, what is the impact?
    Impacted people are everyone using Fedora Rawhide.


Metadata Update from @phsmoura:
- Issue tagged with: high-gain, medium-trouble, ops

10 months ago

I did a new openh264-2.4.1-2.fc42 build yesterday to fix this. Can someone from releng send it to Cisco for hosting please?

Metadata Update from @jnsamyak:
- Issue assigned to jnsamyak

10 months ago

I'm trying to follow this: https://docs.fedoraproject.org/en-US/infra/releng_misc_guide/sop_generating_openh264_composes/

Not sure what is the point of contact for the mailing, maybe @patrikp @kevin @humaton knows more.

Okay, I looked at my mails from the past, I know who to send these mail to!

The 2.4.1 builds for f42 are sent to Cisco for hosting, I'll give an update here when they update their CDN. The email has been sent!

Quick update, there were some issues with maximum e-mail attachment sizes, so the tarball was split to smaller pieces and re-sent again today.

Hey @patrikp, can you please take a follow-up from cisco folks, I don't see the CDN getting updated still :/

Metadata Update from @jnsamyak:
- Assignee reset

9 months ago

Metadata Update from @jnsamyak:
- Issue assigned to patrikp

9 months ago

I sent another e-mail asking for confirmation just now. :thumbsup:

I’ve received confirmation that the request has been received by the current maintainers of the publishing process and should be completed in the next couple of days.

However, we are blocked by this issue: https://pagure.io/fedora-infrastructure/issue/12112

I just received confirmation that the binaries are now published and available, and indeed they are.

$ curl -I http://ciscobinary.openh264.org/openh264-2.4.1-2.fc41.x86_64.rpm
HTTP/1.1 200 OK

However, we are still blocked by the issue linked above.

Any updates @patrikp, what's the current status/blocker here?

Looks like the the issues were solved and I synced the repodata this morning. Not sure how long it'll take for MirrorManager to pick it up, let's wait a while...

Looks like the the issues were solved and I synced the repodata this morning. Not sure how long it'll take for MirrorManager to pick it up, let's wait a while...

Should MirrorManager have picked this up by now ? I'm still unable to install openh264 in a fedora:rawhide container image 5 days on, repodata still contains the old f41 build only.

Yes, it should have.

@abompard can you take a look? something with the new nfs volume not working right?

Is there supposed to be a rawhide repo? I'm only seeing this on the volume:

$ ls /srv/codecs.fedoraproject.org/openh264/
24  25  26  27  28  29  30  31  32  33  34  35  36  37  38  39  40  41  42  epel

I think rawhide is 42.

Could the rawhide RPMs be built in a rawhide directory like normal Fedora?

@abompard, yes these rawhide builds are intended to go in 42 directory itself

OK, since this layout is different from the normal Fedora layout, it's going to need a change in MirrorManager's configuration file on each release. Am I right on this @adrian ?
It's a bit of a burden, how hard would it be to put them in a rawhide directory? (to find the lesser of the two evils)

@abompard Isn't this something which is handled and we need to adjust the repository_redirect table?

Oh, maybe, I don't know about this table. There are still quite a few places in MirrorManager that are unknown to me.

You just need to edit the table that rawhide points to 42.

Before:

select * from repository_redirect where from_repo like '%rawhide%';
 id  |                from_repo                 |            to_repo             
-----+------------------------------------------+--------------------------------
 556 | fedora-install-rawhide                   | rawhide
 335 | fedora-rawhide                           | rawhide
 336 | updates-testing-debug-frawhide           | rawhide-debug
 337 | fedora-source-rawhide                    | rawhide-source
 338 | updates-testing-source-frawhide          | rawhide-source
 339 | updates-released-frawhide                | rawhide
 340 | updates-testing-frawhide                 | rawhide
 341 | fedora-debug-rawhide                     | rawhide-debug
 342 | updates-released-source-frawhide         | rawhide-source
 343 | updates-released-debug-frawhide          | rawhide-debug
 707 | fedora-modular-debug-rawhide             | rawhide
 751 | fedora-cisco-openh264-rawhide            | fedora-cisco-openh264-41
 812 | fedora-cisco-openh264-debug-rawhide      | fedora-cisco-openh264-debug-41
 705 | fedora-modular-rawhide                   | rawhide
 706 | fedora-modular-source-rawhide            | rawhide
 727 | updates-released-modular-frawhide        | rawhide
 728 | updates-testing-modular-frawhide         | rawhide
 729 | updates-released-modular-debug-frawhide  | rawhide
 730 | updates-testing-modular-debug-frawhide   | rawhide
 731 | updates-testing-modular-source-frawhide  | rawhide
 732 | updates-released-modular-source-frawhide | rawhide

I did this:

delete from repository_redirect where from_repo = fedora-cisco-openh264-rawhide;
delete from repository_redirect where from_repo = 'fedora-cisco-openh264-debug-rawhide';

insert into repository_redirect (from_repo , to_repo) values ('fedora-cisco-openh264-rawhide','fedora-cisco-openh264-42');
insert into repository_redirect (from_repo , to_repo) values ('fedora-cisco-openh264-debug-rawhide','fedora-cisco-openh264-debug-42');               

and After

 mirrormanager2=# select * from repository_redirect where from_repo like '%rawhide%';
 id  |                from_repo                 |            to_repo             
-----+------------------------------------------+--------------------------------
 556 | fedora-install-rawhide                   | rawhide
 335 | fedora-rawhide                           | rawhide
 336 | updates-testing-debug-frawhide           | rawhide-debug
 337 | fedora-source-rawhide                    | rawhide-source
 338 | updates-testing-source-frawhide          | rawhide-source
 339 | updates-released-frawhide                | rawhide
 340 | updates-testing-frawhide                 | rawhide
 341 | fedora-debug-rawhide                     | rawhide-debug
 342 | updates-released-source-frawhide         | rawhide-source
 343 | updates-released-debug-frawhide          | rawhide-debug
 903 | fedora-cisco-openh264-rawhide            | fedora-cisco-openh264-42
 904 | fedora-cisco-openh264-debug-rawhide      | fedora-cisco-openh264-debug-42
 707 | fedora-modular-debug-rawhide             | rawhide
 705 | fedora-modular-rawhide                   | rawhide
 706 | fedora-modular-source-rawhide            | rawhide
 727 | updates-released-modular-frawhide        | rawhide
 728 | updates-testing-modular-frawhide         | rawhide
 729 | updates-released-modular-debug-frawhide  | rawhide
 730 | updates-testing-modular-debug-frawhide   | rawhide
 731 | updates-testing-modular-source-frawhide  | rawhide
 732 | updates-released-modular-source-frawhide | rawhide

I always used the update command. But besides that it looks correct.

Looking at the metalink now I see rawhide pointing to 42.

Hello,
I tried recreating it via the steps listed in the ticket and it seems to be fixed now.
$ podman pull fedora:rawhide
$ podman run --rm -it fedora:rawhide
$ sudo dnf install -y openh264
...
Installing openh264-0:2.4.1-2.fc42.x86_64
...

$ dnf list openh264
Installed packages
openh264.x86_64 2.4.1-2.fc42 fedora-cisco-openh264

@jkonecny Could you please confirm if this ticket can be closed?

Looks fixed now. Thanks!

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

8 months ago

Log in to comment on this ticket.

Metadata
Boards 1
Ops Status: Backlog