Project

Profile

Help

Story #7717

Allow Pulp3 exporter to handle case where not enough start_versions= are provided to match all specified repositories

Added by paji@redhat.com 3 months ago. Updated 3 months ago.

Status:
CLOSED - NOTABUG
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
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 3 months ago

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

#2 Updated by ttereshc 3 months ago

  • Tracker changed from Issue to Story
  • % Done set to 0
  • Severity deleted (2. Medium)
  • Triaged deleted (No)

#3 Updated by ggainey 3 months ago

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 :)

#4 Updated by ggainey 3 months 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

#5 Updated by ggainey 3 months ago

  • Status changed from NEW to CLOSED - NOTABUG

Please register to edit this issue

Also available in: Atom PDF