Problem:
Repo: https://packages.grafana.com/enterprise/rpm
Syncing grafana-enterprise repo results in Warning:
No declared artifact with relative path “grafana-enterprise-7.0.0-2.aarch64.rpm” for content “<Package: grafana-enterprise>”
Expected outcome:
Successful sync
Foreman and Proxy versions:
Foreman 2.5.2
Katello 4.1.2
All latest updates installed
Foreman and Proxy plugin versions:
Distribution and version:
CentOS 7
Other relevant data:
Task Output:
{"pulp_tasks"=>
[{"pulp_href"=>"/pulp/api/v3/tasks/2a49c609-7a27-4025-8d67-4ee01a183197/",
"pulp_created"=>"2021-08-09T14:13:40.465+00:00",
"state"=>"failed",
"name"=>"pulp_rpm.app.tasks.synchronizing.synchronize",
"logging_cid"=>"7e57bc60-e551-48d5-8a28-2503f8a30c4f",
"started_at"=>"2021-08-09T14:13:40.539+00:00",
"finished_at"=>"2021-08-09T14:13:55.178+00:00",
"error"=>
{"traceback"=>
" File \"/usr/lib/python3.6/site-packages/pulpcore/tasking/pulpcore_worker.py\", line 272, in _perform_task\n" +
" result = func(*args, **kwargs)\n" +
" File \"/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py\", line 427, in synchronize\n" +
" version = dv.create()\n" +
" File \"/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/declarative_version.py\", line 151, 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/lib/python3.6/site-packages/pulpcore/plugin/stages/api.py\", line 225, in create_pipeline\n" +
" await asyncio.gather(*futures)\n" +
" File \"/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/api.py\", line 43, in __call__\n" +
" await self.run()\n" +
" File \"/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/artifact_stages.py\", line 273, in run\n" +
" RemoteArtifact.objects.bulk_get_or_create(self._needed_remote_artifacts(batch))\n" +
" File \"/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/artifact_stages.py\", line 330, in _needed_remote_artifacts\n" +
" raise ValueError(msg.format(rp=d_artifact.relative_path, c=d_content.content))\n",
"description"=>
"No declared artifact with relative path \"grafana-enterprise-7.0.0-2.aarch64.rpm\" for content \"<Package: grafana-enterprise>\""},
"worker"=>"/pulp/api/v3/workers/09b70b93-6658-46f9-8eca-9c8dfd14f239/",
"child_tasks"=>[],
"progress_reports"=>
[{"message"=>"Downloading Metadata Files",
"code"=>"sync.downloading.metadata",
"state"=>"completed",
"done"=>8},
{"message"=>"Downloading Artifacts",
"code"=>"sync.downloading.artifacts",
"state"=>"completed",
"done"=>0},
{"message"=>"Associating Content",
"code"=>"associating.content",
"state"=>"canceled",
"done"=>0},
{"message"=>"Parsed Packages",
"code"=>"sync.parsing.packages",
"state"=>"completed",
"total"=>220,
"done"=>220}],
"created_resources"=>[],
"reserved_resources_record"=>
["/pulp/api/v3/remotes/rpm/rpm/6a956e5b-45a6-41a9-9284-7f6f6f6c7b42/",
"/pulp/api/v3/repositories/rpm/rpm/38b8d0e8-a902-425f-959f-9433e6c2a0e5/"]}],
"create_version"=>true,
"task_groups"=>[],
"poll_attempts"=>{"total"=>13, "failed"=>1}}