Project

General

Profile

Actions

Bug #26486

closed

RPM1005: Unable to sync a repository that has no feed.

Added by Yuk! . almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

I'm trying to sync the Grafana repo (https://packages.grafana.com/oss/rpm) without success.
I always get RPM1005: Unable to sync a repository that has no feed.

{"pulp_tasks"=>
[{"exception"=>nil,
"task_type"=>"pulp.server.managers.repo.sync.sync",
"_href"=>"/pulp/api/v2/tasks/589896b4-d214-4108-a0f3-be2e6cfede76/",
"task_id"=>"589896b4-d214-4108-a0f3-be2e6cfede76",
"tags"=>
["pulp:repository:0298a258-4a7e-400c-903e-4bb8cd30dd57",
"pulp:action:sync"],
"finish_time"=>"2019-03-29T12:05:15Z",
"_ns"=>"task_status",
"start_time"=>"2019-03-29T12:05:15Z",
"traceback"=>
"Traceback (most recent call last):\n" +
" File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 367, in trace_task\n" +
" R = retval = fun(*args, **kwargs)\n" +
" File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 529, in call\n" +
" return super(Task, self).__call__(*args, **kwargs)\n" +
" File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 107, in call\n" +
" return super(PulpTask, self).__call__(*args, **kwargs)\n" +
" File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 622, in protected_call\n" +
" return self.run(*args, **kwargs)\n" +
" File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 769, in sync\n" +
" sync_report = sync_repo(transfer_repo, conduit, call_config)\n" +
" File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 737, in wrap_f\n" +
" return f(*args, **kwargs)\n" +
" File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/importer.py\", line 82, in sync_repo\n" +
" report = self._current_sync.run()\n" +
" File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/sync.py\", line 253, in run\n" +
" raise PulpCodedException(error_code=error_codes.RPM1005)\n" +
"PulpCodedException: Unable to sync a repository that has no feed.\n",
"spawned_tasks"=>[],
"progress_report"=> {"yum_importer"=> {"content"=> {"items_total"=>0,
"state"=>"NOT_STARTED",
"error_details"=>[],
"details"=> {"rpm_total"=>0, "rpm_done"=>0, "drpm_total"=>0, "drpm_done"=>0},
"size_total"=>0,
"size_left"=>0,
"items_left"=>0},
"comps"=>{"state"=>"NOT_STARTED"},
"purge_duplicates"=>{"state"=>"NOT_STARTED"},
"distribution"=> {"items_total"=>0,
"state"=>"NOT_STARTED",
"error_details"=>[],
"items_left"=>0},
"errata"=>{"state"=>"NOT_STARTED"},
"metadata"=>{"state"=>"NOT_STARTED"}}},
"queue"=>"",
"state"=>"error",
"worker_name"=>"",
"result"=>nil,
"error"=> {"code"=>"RPM1005",
"data"=>{},
"description"=>"Unable to sync a repository that has no feed.",
"sub_errors"=>[]},
"_id"=>{"$oid"=>"5c9e09fb32425f4b13a6cdd1"},
"id"=>"5c9e09fb32425f4b13a6cdd1"}],
"contents_changed"=>true,
"poll_attempts"=>{"total"=>1, "failed"=>1}}

Actions

Also available in: Atom PDF