Actions
Issue #7396
closedCollection sync doesn't pull all collections from hub
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 80
Quarter:
Description
When I configure my local automation hub to sync content from cloud.redhat.com, I only end up downloading 9 or so collections, not the full 61 that are on hub.
This is my remote configuration:
{
"pulp_href": "/pulp/api/v3/remotes/ansible/collection/bdba938b-dad5-449e-96f2-34c8265bd657/",
"pulp_created": "2020-08-26T15:50:50.632807Z",
"name": "test remote",
"url": "https://cloud.redhat.com/api/automation-hub/v3/collections",
"ca_cert": null,
"client_cert": null,
"client_key": null,
"tls_validation": false,
"proxy_url": null,
"username": null,
"password": null,
"pulp_last_updated": "2020-08-26T16:07:08.958358Z",
"download_concurrency": 10,
"policy": "immediate",
"requirements_file": null,
"auth_url": "https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token",
"token": "REDACTED"
}
Updated by fao89 over 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to fao89
- Sprint set to Sprint 80
Updated by fao89 over 4 years ago
pulp_ansible uses page_size
and page
for querying the API.
but AH uses offset
and limit
https://github.com/pulp/pulp_ansible/blob/master/pulp_ansible/app/tasks/utils.py#L16-L17
Updated by pulpbot over 4 years ago
- Status changed from ASSIGNED to POST
Added by Fabricio Aguiar over 4 years ago
Updated by Anonymous over 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp_ansible|94b15f1a7bb23c61b91369e1210b0eb505a3e040.
Updated by pulpbot over 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Pagination query params according to API versions
https://pulp.plan.io/issues/7396 closes #7396