Problem:
Suddenly, clients are not able to download yum packages.
Expected outcome:
Packages should be available and downloadable
Foreman and Proxy versions:
2.3.3
Foreman and Proxy plugin versions:
Katello 3.18.2.1, foreman_remote_execution 4.2.2., foreman-tasks 3.0.5
Distribution and version:
RHEL 7
Other relevant data:
@iballou (per Dirk suggestion),
Suddenly my systems got this error when trying to check for yum content:
[root@XXXXXXXXX ~]# yum reinstall vim
Updating Subscription Management repositories.
BaseOS (RPMs) 48 kB/s | 2.6 kB 00:00
AppStream (RPMs) 2.0 kB/s | 611 B 00:00
Errors during downloading metadata for repository 'AppStream':
- Status code: 502 for https://foremanserver/pulp/repos/MyOrg/Prod/Rhel_8_Clients/custom/Appstream/AppStream_RPMs/repodata/repomd.xml (IP: xxxxxxxxxx)
Notice the difference on metadata size
This error seems to be correlated when requesting the resource, with this error on the messages log:
[Errno 2] No such file or directory: '/var/lib/pulp/media/artifact ***********
I already deleted the repo, from content view. I tried to add the repo from fresh, by deleting the repo, from product and adding it again, with no avail (still same no such files error, although path varies).
I even created a new product only with that repo, with no avail also.
I tried checksum checks, republish metadata, advanced sync, with no avail.
Sometimes I get the error of too many open files, which I can workaround increasing nofiles on the kernel settings.
It did finish a sync without errors once, but although the repo shows on the content view of the clients, no packages are able to be downloaded (I tried with a simple vim reinstall and is not able to find packages that should be there).
Any ideas would be appreciated.
Thank you very much!!