Actions
Issue #5494
closedpulp assuming a pagesize of 10 when syncing from the ansible galaxy api
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
Updated by daviddavis about 5 years 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.
Updated by ggainey over 4 years ago
- Tags Katello added
- Tags deleted (
Katello-P2)
Updated by fao89 over 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to fao89
Updated by pulpbot over 4 years ago
- Status changed from ASSIGNED to POST
Added by Fabricio Aguiar over 4 years ago
Updated by pulpbot over 4 years ago
Updated by Anonymous over 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp_ansible|d568c8c20ff3717f9bea5344424a01d20b1b1216.
Updated by fao89 over 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Make default page size equals to 100
https://pulp.plan.io/issues/5494 closes #5494