publishing of distribution units should ignore files in repodata directory
Publishing of distribution units should ignore files in the repodata directory. This caused a corrupted publish where the distribution included a primary.xml and the incremental update picked the wrong file because there were two primary.xml files in the directory.
#4 Updated by bmbouter about 5 years ago
The root cause of this is a situation where the distribution unit is referring to a file in the repodata/ directory. The example used is a primary.xml file for example. Pulp will download the primary.xml and ingest the contents. When it reaches the distribution unit to download it will fetch a primary.xml as a file and not parse it. When the publish occurs both of these units will be published which causes two problems.
The specific issue here is that when checksums are disabled the files would overwrite. When the contents of these files change and are resynced this will cause problems as the file contents deviate.
#7 Updated by bmbouter about 5 years ago
- Status changed from ASSIGNED to MODIFIED
I'm putting this to MODIFIED. It was fixed with the RPM conversion to mongoengine.
Please register to edit this issue