Errors while sync a repository (PLP0000: Importer indicated a failed response)

Problem:

Errors while sync a repository
Action:

Actions::Pulp::Repository::Sync

Input:

{“pulp_id”=>“a18a1346-b882-4221-8492-1c3b8caae8aa”, “task_id”=>nil, “source_url”=>nil, “options”=>{}, “remote_user”=>“admin”, “remote_cp_user”=>“admin”, “locale”=>“en”, “current_user_id”=>4, “current_organization_id”=>1, “current_location_id”=>nil}

Output:

{“pulp_tasks”=>
[{“exception”=>nil,
“task_type”=>“pulp.server.managers.repo.sync.sync”,
“_href”=>"/pulp/api/v2/tasks/77782656-dc01-4f36-9be8-5daf410dd27a/",
“task_id”=>“77782656-dc01-4f36-9be8-5daf410dd27a”,
“tags”=>
[“pulp:repository:a18a1346-b882-4221-8492-1c3b8caae8aa”,
“pulp:action:sync”],
“finish_time”=>“2019-03-19T07:23:27Z”,
ns"=>“task_status”,
“start_time”=>“2019-03-19T07:14:55Z”,
“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 828, in sync\n" +
" raise pulp_exceptions.PulpExecutionException(
(‘Importer indicated a failed response’))\n” +
“PulpExecutionException: Importer indicated a failed response\n”,
“spawned_tasks”=>,
“progress_report”=>
{“yum_importer”=>
{“content”=>
{“items_total”=>0,
“state”=>“FINISHED”,
“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”=>4,
“state”=>“FAILED”,
“error_details”=>
[[“http://mirror.uv.es/mirror/CentOS/7/os/x86_64/images/boot.iso”,
{}]],
“items_left”=>0},
“modules”=>{“state”=>“NOT_STARTED”},
“errata”=>{“state”=>“NOT_STARTED”},
“metadata”=>{“state”=>“FINISHED”}}},
“queue”=>“reserved_resource_worker-1@foreman.dq2”,
“state”=>“error”,
“worker_name”=>“reserved_resource_worker-1@foreman”,
“result”=>nil,
“error”=>
{“code”=>“PLP0000”,
“data”=>{},
“description”=>“Importer indicated a failed response”,
“sub_errors”=>},
“_id”=>{"$oid"=>“5c9096ef83fe005081a93f9f”},
“id”=>“5c9096ef83fe005081a93f9f”}],
“contents_changed”=>true,
“poll_attempts”=>{“total”=>52, “failed”=>1}}

Exception:

Katello::Errors::PulpError: PLP0000: Importer indicated a failed response

Expected outcome:

I’m trying to sync a 1. CentOS-Base 7 x86_64 repository

Foreman and Proxy versions:

foreman-1.20.2-1.el7
foreman-proxy-1.20.2-1.el7
katello-3.10.0-7.el7

Foreman and Proxy plugin versions:

Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]
(for logs, surround with three back-ticks to get proper formatting, e.g.)

logs

Hi

looks like the mirror you are using does have some kind of problem (mirror.uv.es/mirror/CentOS/7/os/x86_64/images/boot.iso is timing out for me).
Could you use another mirror and try again?

I’m gonna try with:

http://mirror.centos.org/centos/7/os/x86_64/

Thank you so much… I took theese repos from an old Spacewalk, and I didn’t see that were not officials…

With http://mirror.centos.org/centos/7/os/x86_64/ rules perfectly

Nice to hear :slight_smile:
Could you mark this thread as solved then? Just tick the checkbox button on the solution, so others can see there is nothing to do here anymore :wink: