Issue #3104
closedrepomd.xml is empty
Description
When Pulp publishes and RPM repository, it places a number of files in a repodata
directory. The most important of these files is the repomd.xml
file. This file tells clients where all other files live. When Pulp 2.15 publishes an RPM file, all repomd.xml
files are empty.
Here's a simple way to reproduce the issue:
pulp-admin login -u admin -p admin
pulp-admin rpm repo create --repo-id foo --feed https://repos.fedorapeople.org/pulp/pulp/fixtures/rpm-unsigned/
pulp-admin rpm repo sync run --repo-id foo
find /var/lib/pulp -name repomd.xml -exec wc '{}' ';'
In my case, here's the final line of output:
0 0 0 /var/lib/pulp/published/yum/master/yum_distributor/foo/1509121269.36/repodata/repomd.xml
This issue affects Pulp 2.15 on F24, F25 and RHEL 7. It probably affects Pulp 2.15 on F26 too, but there's installation issues there, so I can't say for sure.
This issue isn't caused by SELinux. I can reproduce the issue with SELinux disabled. Also, there's no AVC denials in the system logs.
This issue occurs in a wide varity of situations. Several dozen Pulp Smash test cases all fail because of this.
Files
Add missing super() call in f73805f6
re #3055 https://pulp.plan.io/issues/3055