Project

Profile

Help

Issue #7396

Collection sync doesn't pull all collections from hub

Added by newswangerd 3 months ago. Updated 3 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:
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"
}

Associated revisions

Revision 94b15f1a View on GitHub
Added by Fabricio Aguiar 3 months ago

Pagination query params according to API versions

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

History

#1 Updated by fao89 3 months ago

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

#2 Updated by fao89 3 months 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

#3 Updated by pulpbot 3 months ago

  • Status changed from ASSIGNED to POST

#4 Updated by Anonymous 3 months ago

  • Status changed from POST to MODIFIED

#5 Updated by fao89 3 months ago

  • Sprint/Milestone set to 0.3.0

#6 Updated by pulpbot 3 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF