Project

Profile

Help

Issue #5494

pulp assuming a pagesize of 10 when syncing from the ansible galaxy api

Added by jsherril@redhat.com about 1 year ago. Updated 4 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 74
Quarter:

Description

pulp is assuming a pagesize of 10 when syncing from galaxy: https://github.com/pulp/pulp_ansible/blob/335b6742d3c3c11d9307ae55a1f67547b5309aa9/pulp_ansible/app/tasks/collections.py#L58

it should be more intelligent about it. This breaks syncing from another pulp3 server because pulp3 isn't defaulting to a pagesize of 10

Associated revisions

Revision d568c8c2 View on GitHub
Added by Fabricio Aguiar 6 months ago

Make default page size equals to 100

https://pulp.plan.io/issues/5494 closes #5494

History

#1 Updated by daviddavis about 1 year ago

From my reading of the code, it looks like we assume that the page size is 10. Instead, we should request a certain page when syncing. So like:

https://galaxy.ansible.com/api/v2/collections/?page_size=1

I think 100 would be a good size to use.

#2 Updated by ggainey 7 months ago

  • Tags Katello added
  • Tags deleted (Katello-P2)

#3 Updated by bmbouter 6 months ago

  • Sprint set to Sprint 74

#4 Updated by fao89 6 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fao89

#5 Updated by pulpbot 6 months ago

  • Status changed from ASSIGNED to POST

#7 Updated by Anonymous 6 months ago

  • Status changed from POST to MODIFIED

#8 Updated by fao89 6 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

#9 Updated by fao89 4 months ago

  • Sprint/Milestone set to 0.2.0

Please register to edit this issue

Also available in: Atom PDF