Project

Profile

Help

Issue #1843

Updated by jcline@redhat.com about 8 years ago

Syncing some distributions published by Pulp with a different Pulp server probably does not work in all cases. If the repository in question contains a PULP_DISTRIBUTION.xml metadata file, the second Pulp server might be unable to download files referenced by PULP_DISTRIBUTION.xml. This is because some files referenced by the file are intentionally skipped during publish[0]. However, the metadata is not altered in any way[1], so it still references those files. 

 A specific example of this is the RHEL6[2] kickstart repository. It contains a PULP_DISTRIBUTION.xml file that references `repodata/productid`. During sync this is downloaded along with the XML file, but when the repository is published, it is explicitly skipped. 

 [0] https://github.com/pulp/pulp_rpm/blob/pulp-rpm-2.8.2-1/plugins/pulp_rpm/plugins/distributors/yum/publish.py#L796-L797 
 [1] https://github.com/pulp/pulp_rpm/blob/pulp-rpm-2.8.2-1/plugins/pulp_rpm/plugins/importers/yum/parse/treeinfo.py#L437-L441 
 [2] https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/kickstart/

Back