Story #7717
closedAllow Pulp3 exporter to handle case where not enough start_versions= are provided to match all specified repositories
0%
Description
The pulp3 exporter with start_versions complains if the number of repositories specified in the exporter does not match the number of start_versions provided
" "Number of versions 1 does not match the number of Repositories 2 for ""the owning Exporter!" " Relevant error comes from the validate_start_versions method - https://github.com/pulp/pulpcore/blob/master/pulpcore/app/serializers/exporter.py#L160-L192
Katello needs a bit more flexibility with start_versions, the exporter may be tasked with exporting some repositories completely while incrementally exporting some.
I propose pulp exporter assume full export for repos where the start_versions have not been provided.
Updated by paji@redhat.com over 3 years ago
Think I got around this issue by just passing the zeroth version as the start-version for repositories that are new.
Updated by ttereshc over 3 years ago
- Tracker changed from Issue to Story
- % Done set to 0
- Severity deleted (
2. Medium) - Triaged deleted (
No)
Updated by ggainey over 3 years ago
paji@redhat.com wrote:
Think I got around this issue by just passing the zeroth version as the start-version for repositories that are new.
That's not a workaround, that's The Right Thing To Do :)
Updated by ggainey over 3 years ago
- Subject changed from Pulp3 exporter erroring out when exporting repositories without versions to Allow Pulp3 exporter to handle case where not enough start_versions= are provided to match all specified repositories