Problem:
Hello,
when we configure in Foreman a yum repository with url of Artifactory and we synchronize the repository we get the following error:
Katello::Errors::Pulp3Error: Parsing interrupted: Out of order metadata: 2251738c67b18174f703c69c0be1f6384528be92 vs 7eeb4151aa7f728c5542c0b6a907b52ab99b6a01.
Artifactory’s repository is a local repository and contains official RHEL rpm.
Expected outcome:
Success in synchronization
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
foreman 3.12
client 3.12
plugins 3.12
candlepin 4.4
pulpcore 3.49
katello 4.14
puppet7
Distribution and version:
NAME=“Red Hat Enterprise Linux”
VERSION=“8.10 (Ootpa)”
Other relevant data:
We know that these three rpms are not in repodata file 4ddfdba9379b2fbd988714719e74641f8bc0352a-other.xml
sha1 → 360f36b7c53b1bd99552120e54723afc75679f86 → fonts-filesystem-2.0.5-7.el9.1.noarch.rpm
sha1 → 2251738c67b18174f703c69c0be1f6384528be92 → dejavu-sans-fonts-2.37-18.el9.noarch.rpm
sha1 → 70f522e056b5ddc4f8eccbee97dbd94f8071f3e5 → google-droid-sans-fonts-20200215-11.el9.2.noarch.rpm
The sha1 2251738c67b18174f703c69c0be1f6384528be92 obtained in the error belongs to the rpm dejavu-sans-fonts-2.37-18.el9.noarch.rpm
If we delete this rpm from the repository of Artifactory and we synchronize, we get the error from the other two rpms.
These three rpms are not corrupts. We executed the command “rpm -K” with successful result.
When we delete these three rpms, Foreman syncs without errors.
We don’t know if the repodata’s files are well calculated and Foreman is very strict or is Artifactory doesn’t create them properly.
We made a yum in /etc/yum.repos.d/ with the Artifactory repo and results were successful.
Regards,
Luis