Issue #8671
closedSync with Main Debian Repo fails on a translation file
Description
Hello everybody,
we plan to use pulp as our main tool for repos . We testing at the moment Debian mirroring Our pulp testinstance is runing with the latest offical docker image
This is the configured remote repo
{ "name": "debian", "url": "http://ftp.de.debian.org/debian/", "ca_cert": null, "client_cert": null, "client_key": null, "tls_validation": false, "proxy_url": null, "proxy_username": null, "proxy_password": null, "username": null, "password": null, "pulp_labels": {}, "download_concurrency": "10", "policy": "immediate", "total_timeout": null, "connect_timeout": null, "sock_connect_timeout": null, "sock_read_timeout": null, "rate_limit": null, "distributions": "buster", "components": "main", "architectures": "amd64", "sync_sources": false, "sync_udebs": false, "sync_installer": false, "gpgkey": null, "ignore_missing_package_indices": false }
the sync run in to the following error
{ "pulp_href": "/pulp/api/v3/tasks/a7bd851b-f001-4f5f-89eb-0e0de529a556/", "pulp_created": "2021-04-30T07:53:11.537345Z", "state": "failed", "name": "pulp_deb.app.tasks.synchronizing.synchronize", "logging_cid": "00de2125667f4c7e8b8e01554c401eeb", "started_at": "2021-04-30T07:53:11.648803Z", "finished_at": "2021-04-30T07:53:19.135647Z", "error": { "traceback": " File "/usr/local/lib/python3.6/site-packages/rq/worker.py", line 1008, in perform_job\n rv = job.perform()\n File "/usr/local/lib/python3.6/site-packages/rq/job.py", line 706, in perform\n self._result = self._execute()\n File "/usr/local/lib/python3.6/site-packages/rq/job.py", line 729, in _execute\n result = self.func(*self.args, **self.kwargs)\n File "/usr/local/lib/python3.6/site-packages/pulp_deb/app/tasks/synchronizing.py", line 122, in synchronize\n DebDeclarativeVersion(first_stage, repository, mirror=mirror).create()\n File "/usr/local/lib/python3.6/site-packages/pulpcore/plugin/stages/declarative_version.py", line 149, in create\n loop.run_until_complete(pipeline)\n File "/usr/lib64/python3.6/asyncio/base_events.py", line 484, in run_until_complete\n return future.result()\n File "/usr/local/lib/python3.6/site-packages/pulpcore/plugin/stages/api.py", line 225, in create_pipeline\n await asyncio.gather(*futures)\n File "/usr/local/lib/python3.6/site-packages/pulpcore/plugin/stages/api.py", line 43, in call\n await self.run()\n File "/usr/local/lib/python3.6/site-packages/pulpcore/plugin/stages/artifact_stages.py", line 266, in run\n RemoteArtifact.objects.bulk_get_or_create(self._needed_remote_artifacts(batch))\n File "/usr/local/lib/python3.6/site-packages/pulpcore/plugin/stages/artifact_stages.py", line 324, in _needed_remote_artifacts\n msg.format(rp=content_artifact.relative_path, c=d_content.content)\n", "description": "No declared artifact with relative path "dists/buster/main/i18n/Translation-ml.bz2" for content """ },
We do not see a misconfiguration on our side so I raised this issue here
Regards Stephan Hlawatsch
Related issues
Completely disable synchronization of translation files
Closes #8671 https://pulp.plan.io/issues/8671
This feature has never fully worked, the implementation is incomplete and causes various sync failures. Re-adding this feature should be done under the following story: https://pulp.plan.io/issues/8734