For the better part of the past two hours, I have been trying to upload 3 files to a Katello 3.16 “file” repository usign the Ansible modules for Foreman (version 1.4.0).
First, I ran into a bug in the Ansible modules (https://github.com/theforeman/foreman-ansible-modules/issues/1043).
Once I applied to patch mentioned in the GitHub issue, I was hit by a Katello problem: [Katello] Can't Delete Package "NoMethodError: undefined method `repository_href' for nil:NilClass"
After completing the workaround detailed in that link, I now receive this error message:
sha512 checksum must be unique, which seems to be Pulp3’s way of saying that the files I am trying to upload already exist in Pulp (https://pulp.plan.io/issues/3387).
However, Foreman tells me the files are not in the repository; hence I suspect there is some discrepancy between the actual contents of the Pulp file repository and Foreman’s idea of what is in there.
Normally I would just delete the repository and reupload everything again, but the product is part of many published content views and publishing and syncing all of them to remove the product and later add it back again seems awfully complicated.
Is there some way of manually deleting the files in Pulp3? Where can I find the required credentials for connecting to Pulp3? I can’t seem to get past the “Authentication credentials were not provided” message no matter what.
Simple things like uploading files to already existing repositories should not result in hours of troubleshooting.
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
Katello 3.16 (upgraded from existing 3.15 server)
Distribution and version:
Other relevant data: