Hide Forgot
Created attachment 1151473 [details] foreman-debug from the machine I created a new product, with a new file based repository. I pointed it at https://www.redhat.com/security/data/oval which has a PULP_MANIFEST. Some of the line seem to have the wrong size: Red_Hat_Enterprise_Linux_3.xml,742e60b5c523bb3d338aab83ad0ecfe4b5975a22878fa1b5ade8bcf7c0d1af94,25 Red_Hat_Enterprise_Linux_4.xml,e8c5250c1cf2c205adc37be24701e34d80770dc33f69cb9ef38c6f165dec07ff,25 Red_Hat_Enterprise_Linux_5.xml,b4d4bd7d2e885ad2a687c5472cc19c7b4c9b106b70053f7b8dde3ccc439105e1,25 Red_Hat_Enterprise_Linux_6.xml,4b18a4387bde59901286277a464f07427339cfb8382c9360249bf0e809f0cb24,25 Red_Hat_Enterprise_Linux_7.xml,62581bdcde36e8cd0922c7f8d71ccf02722209b8913b283f006d713dbe214e39,25 The failed task is: https://sat-r220-06.lab.eng.rdu2.redhat.com/foreman_tasks/tasks/3e5e8ac1-b06b-4759-9132-47daa5c54b23 foreman debug is attached.
Pulp task: {"pulp_tasks"=> [{"exception"=>nil, "task_type"=>"pulp.server.managers.repo.sync.sync", "_href"=>"/pulp/api/v2/tasks/16ce2fc9-a214-422b-a902-b02ccd47bc52/", "task_id"=>"16ce2fc9-a214-422b-a902-b02ccd47bc52", "tags"=> ["pulp:repository:Default_Organization-OVAL_Data-Red_Hat_Security", "pulp:action:sync"], "finish_time"=>"2016-04-27T16:06:40Z", "_ns"=>"task_status", "start_time"=>"2016-04-27T16:03:21Z", "traceback"=> "Traceback (most recent call last):\n File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 240, in trace_task\n R = retval = fun(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 473, in __call__\n return super(Task, self).__call__(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 103, in __call__\n return super(PulpTask, self).__call__(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 437, in __protected_call__\n return self.run(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 810, in sync\n raise pulp_exceptions.PulpExecutionException(_('Importer indicated a failed response'))\nPulpExecutionException: Importer indicated a failed response\n", "spawned_tasks"=>[], "progress_report"=> {"iso_importer"=> {"error_message"=>nil, "traceback"=>nil, "finished_bytes"=>197828744, "num_isos"=>2927, "state"=>"isos_failed", "total_bytes"=>153780117, "state_times"=> {"not_started"=>"2016-04-27T16:03:21", "manifest_in_progress"=>"2016-04-27T16:03:21", "isos_failed"=>"2016-04-27T16:06:39", "isos_in_progress"=>"2016-04-27T16:03:30"}, "num_isos_finished"=>2922, "iso_error_messages"=> [{"name"=>"Red_Hat_Enterprise_Linux_5.xml", "error"=>{}}, {"name"=>"Red_Hat_Enterprise_Linux_4.xml", "error"=>{}}, {"name"=>"Red_Hat_Enterprise_Linux_6.xml", "error"=>{}}, {"name"=>"Red_Hat_Enterprise_Linux_3.xml", "error"=>{}}, {"name"=>"Red_Hat_Enterprise_Linux_7.xml", "error"=>{}}]}}, "queue"=> "reserved_resource_worker-2.eng.rdu2.redhat.com.dq", "state"=>"error", "worker_name"=> "reserved_resource_worker-2.eng.rdu2.redhat.com", "result"=>nil, "error"=> {"code"=>"PLP0000", "data"=>{}, "description"=>"Importer indicated a failed response", "sub_errors"=>[]}, "_id"=>{"$oid"=>"5720e2c9ef75c7ea69aa4f43"}, "id"=>"5720e2c9ef75c7ea69aa4f43"}], "contents_changed"=>true, "poll_attempts"=>{"total"=>33, "failed"=>1}} shows "error" => {} but does not indicate what the error was (size mismatch)
Hi Michael, can we clone this to redmine to get the error message improved? Thanks!
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.
All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST.
The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug.
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.
Verified in 6.3.0 snap 9 I was able to successfully sync a "file" type repo with https://www.redhat.com/security/data/oval as the URL
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0336