Issue #1087
closed
publishing of distribution units should ignore files in repodata directory
Status:
CLOSED - CURRENTRELEASE
Description
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.
- Priority changed from Normal to High
- Triaged changed from No to Yes
A migration should also force the next publish of any affected units to be clean. The migration should print out a list of repositories that should be republished.
- Platform Release set to 2.8.0
- Related to Issue #1086: pulp_distribution.xml sync should ignore repodata/* added
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.
- Related to Issue #1088: Incremental publish could use the wrong primary.xml during fast-forward publish added
- Status changed from NEW to ASSIGNED
- Assignee set to bmbouter
- Status changed from ASSIGNED to MODIFIED
- Status changed from MODIFIED to 5
- Status changed from 5 to CLOSED - CURRENTRELEASE
Also available in: Atom
PDF