In recent CI jobs (here's an example) we've run multiple times into the following error:
Failure downloading https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-9.noarch.rpm, HTTP Error 403: Forbidden
It is not 100 % reproducible, seems to happen randomly. Any hint what might be wrong?
So... It looks like somehow that link is getting updated every minute or two. ;(
I suspect possibly changes made for epel10?
CC: @carlwgeorge @dherrera
# date; stat /srv/pub/epel/epel-next-release-latest-9.noarch.rpm Mon Dec 9 06:04:25 PM UTC 2024 File: /srv/pub/epel/epel-next-release-latest-9.noarch.rpm -> 9/Everything/x86_64/Packages/e/epel-next-release-9-8.el9.noarch.rpm Size: 67 Blocks: 8 IO Block: 65536 symbolic link Device: 2eh/46d Inode: 341 Links: 1 Access: (0777/lrwxrwxrwx) Uid: ( 263/ UNKNOWN) Gid: ( 263/ UNKNOWN) Context: system_u:object_r:nfs_t:s0 Access: 2024-12-09 18:03:03.631498000 +0000 Modify: 2024-12-09 18:03:03.631498000 +0000 Change: 2024-12-09 18:03:03.631498000 +0000 Birth: -
Metadata Update from @phsmoura: - Issue priority set to: Waiting on Assignee (was: Needs Review) - Issue tagged with: low-gain, low-trouble, ops
I'm looking into it, but it most likely have to do with this method
https://pagure.io/fedora-infra/ansible/blob/main/f/roles/bodhi2/backend/files/new-updates-sync#_465-505
Metadata Update from @dherrera: - Issue untagged with: low-gain, low-trouble, ops - Issue priority set to: Needs Review (was: Waiting on Assignee)
Metadata Update from @dherrera: - Issue priority set to: Waiting on Assignee (was: Needs Review) - Issue tagged with: low-gain, low-trouble, ops
Here are all of the EPEL 10 changes we've made to that section of the code.
I was looking into it, and It doesn't have to do with those changes :)
https://pagure.io/fedora-infra/ansible/blob/main/f/roles/bodhi2/backend/files/new-updates-sync#_455-458
This method is supposed to check for the relative and absolute paths of the epel-next-release-latest rpm on the x80_64 folder, but because of the way it's being checked, the absolute path can end up being from any architecture. This is what it's being checked later to see if the current symlink is pointing to the correct path.
Metadata Update from @dherrera: - Issue untagged with: low-gain, low-trouble, ops
Metadata Update from @dherrera: - Issue assigned to dherrera
Sent a PR that should fix this problem
https://pagure.io/fedora-infra/ansible/pull-request/2405
Metadata Update from @dherrera: - Issue tagged with: low-gain, low-trouble, ops
Good find, that does look to be the problem.
Yeah, great work.
I'm pushing the pr now.
I hope this fixes the issue? If you are still seeing it, please re-open.
Metadata Update from @kevin: - Issue close_status updated to: Fixed with Explanation - Issue status updated to: Closed (was: Open)
Yeah, we are no more seeing the problems. Thanks for the fix!
Log in to comment on this ticket.