Problem:
From time to time I’ve run into the following issue where clients of my can not download certain packages from Katello/Pulp resulting in a 404 error not found. I don’t quiet understand why that is the case as clients can download other packages from the same content view or even same repo. If I check the content view from the GUI I can see the package/s being listed.
In the past what usually got it working for me is manually syncing the repos and creating a new content view version. However in the current case that’s not helping and I’m not sure what else I can try out here. Any thoughts?
Foreman and Proxy versions:
foreman: 3.11.0
Foreman and Proxy plugin versions:
foreman-tasks 9.1.1
foreman_puppet 6.3.0
foreman_remote_execution 13.1.0
katello 4.13.0
Distribution and version:
Rocky Linux release 8.10 (Green Obsidian)
Other relevant data:
[root@localhost thrall]# dnf update -y
...
[MIRROR] ffmpeg-5.1.6-1.el9.x86_64.rpm: Status code: 404 for https://foreman.my.company.com/pulp/content/MyCompany/Production/RockyLinux9All/custom/RockyLinux9/RockyLinux9RPMFusion/Packages/f/ffmpeg-5.1.6-1.el9.x86_64.rpm (IP: 10.1.10.10)
[MIRROR] ffmpeg-5.1.6-1.el9.x86_64.rpm: Status code: 404 for https://foreman.my.company.com/pulp/content/MyCompany/Production/RockyLinux9All/custom/RockyLinux9/RockyLinux9RPMFusion/Packages/f/ffmpeg-5.1.6-1.el9.x86_64.rpm (IP: 10.1.10.10)
[MIRROR] ffmpeg-5.1.6-1.el9.x86_64.rpm: Status code: 404 for https://foreman.my.company.com/pulp/content/MyCompany/Production/RockyLinux9All/custom/RockyLinux9/RockyLinux9RPMFusion/Packages/f/ffmpeg-5.1.6-1.el9.x86_64.rpm (IP: 10.1.10.10)
[MIRROR] ffmpeg-5.1.6-1.el9.x86_64.rpm: Status code: 404 for https://foreman.my.company.com/pulp/content/MyCompany/Production/RockyLinux9All/custom/RockyLinux9/RockyLinux9RPMFusion/Packages/f/ffmpeg-5.1.6-1.el9.x86_64.rpm (IP: 10.1.10.10)
[FAILED] ffmpeg-5.1.6-1.el9.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Error: Error downloading packages:
ffmpeg-5.1.6-1.el9.x86_64: Cannot download, all mirrors were already tried without success
Package action failed, exiting...
Exit status: 1
[root@localhost]# wget --no-check-certificate https://foreman.my.company.com/pulp/content/MyCompany/Production/RockyLinux9All/custoges/f/ffmpeg-5.1.6-1.el9.x86_64.rpm
--2024-09-12 09:14:28-- https://foreman.my.company.com/pulp/content/MyCompany/Production/RockyLinux9All/custoges/f/ffmpeg-5.1.6-1.el9.x86_64.rpm
Resolving foreman.my.company.com (foreman.my.company.com)... 10.1.10.10
Connecting to foreman.my.company.com (foreman.my.company.com)|10.1.10.10|:443... connected.
WARNING: The certificate of ‘foreman.my.company.com’ is not trusted.
WARNING: The certificate of ‘foreman.my.company.com’ doesn't have a known issuer.
HTTP request sent, awaiting response... 404 Not Found
2024-09-12 09:14:29 ERROR 404: Not Found.