Skip to content

Replicate feature is not processing a pull-through cache of pypi #718

@PotentialIngenuity

Description

@PotentialIngenuity

Version
core: 3.57.0
python: 3.12.1

Describe the bug
I am trying to use the /replicate/ endpoint to sync a pull-through cache to another pulp instance. After the replication is done I see no reference of any python resources in the logs or through the api.

pulp python distribution list
[
  {
    "pulp_href": "/pulp/api/v3/distributions/python/pypi/018dd189-f781-7ee0-a6de-b93d044dce0b/",
    "pulp_created": "2024-02-22T15:58:16.450965Z",
    "pulp_last_updated": "2024-02-22T15:58:20.737703Z",
    "base_path": "pypi-mirror",
    "base_url": "https://pulp-api/pypi/pypi-mirror/",
    "content_guard": null,
    "hidden": false,
    "pulp_labels": {
      "content_type": "pypi-mirror"
    },
    "name": "pypi-mirror",
    "repository": null,
    "publication": null,
    "allow_uploads": true,
    "remote": "/pulp/api/v3/remotes/python/python/018dcdde-5748-7239-8e91-79ee820fec0d/"
  }
]
[
  {
    "pulp_href": "/pulp/api/v3/remotes/python/python/018dcdde-5748-7239-8e91-79ee820fec0d/",
    "pulp_created": "2024-02-21T22:51:57.129136Z",
    "pulp_last_updated": "2024-02-21T22:51:57.129154Z",
    "name": "pypi-mirror",
    "url": "https://pypi.org",
    "ca_cert": null,
    "client_cert": null,
    "tls_validation": true,
    "proxy_url": null,
    "pulp_labels": {},
    "download_concurrency": null,
    "max_retries": null,
    "policy": "on_demand",
    "total_timeout": null,
    "connect_timeout": null,
    "sock_connect_timeout": null,
    "sock_read_timeout": null,
    "headers": null,
    "rate_limit": null,
    "hidden_fields": [
      {
        "name": "client_key",
        "is_set": false
      },
      {
        "name": "proxy_username",
        "is_set": false
      },
      {
        "name": "proxy_password",
        "is_set": false
      },
      {
        "name": "username",
        "is_set": false
      },
      {
        "name": "password",
        "is_set": false
      }
    ],
    "includes": [],
    "excludes": [],
    "prereleases": false,
    "package_types": [],
    "keep_latest_packages": 0,
    "exclude_platforms": []
  }
]

To Reproduce
Setup and pull-through and try to replicate it.

Expected behavior
All python resources are created on the 2nd pulp instance

Additional context

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions