Project

Profile

Help

Issue #7717

Pulp3 exporter erroring out when exporting repositories without versions

Added by paji@redhat.com 5 days ago. Updated about 17 hours ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

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.

History

#1 Updated by paji@redhat.com about 17 hours ago

Think I got around this issue by just passing the zeroth version as the start-version for repositories that are new.

Please register to edit this issue

Also available in: Atom PDF