Project

Profile

Help

Issue #7396

closed

Collection sync doesn't pull all collections from hub

Added by newswangerd over 4 years ago. Updated over 4 years 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:
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"
}
Actions #1

Updated by fao89 over 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fao89
  • Sprint set to Sprint 80
Actions #2

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

Actions #3

Updated by pulpbot over 4 years ago

  • Status changed from ASSIGNED to POST

Added by Fabricio Aguiar over 4 years ago

Revision 94b15f1a | View on GitHub

Pagination query params according to API versions

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

Actions #4

Updated by Anonymous over 4 years ago

  • Status changed from POST to MODIFIED
Actions #5

Updated by fao89 over 4 years ago

  • Sprint/Milestone set to 0.3.0
Actions #6

Updated by pulpbot over 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF