Sounds like it might be something to do with your fstab file with an 
incorrect entry, or to do with drives you may have mounted/unmounted 
recently?

On Tuesday, November 28, 2017 at 9:54:36 PM UTC+13, [email protected] 
wrote:
>
> When attempting to sync the ostree repo 
> http://mirror.centos.org/centos/7/atomic/x86_64/repo/ I keep getting the 
> following error:  OST0005: Fetch summary failed. Reason: 
> GLib.Error('Server returned HTTP 404', 'g-io-error-quark', 1)
>
> I've attempted to sync other ostree repositories and get the same error. 
> I've confirmed the system can reach that url and the summary file without 
> issue running curl. So at this point I'm stuck. It's unclear what file it 
> is trying to find that is generating the 404 error. The hope is to manage 
> centos atomic from Foreman/Katello. Any help would be greatly appreciated.
>
> Actions::Pulp::Repository::Sync
>
> Input:
>
> {"pulp_id"=>"7e6ec4ad-03f4-42a3-a331-d03428fd2673",
>  "task_id"=>nil,
>  "source_url"=>nil,
>  "options"=>{},
>  "remote_user"=>"admin",
>  "remote_cp_user"=>"admin"}
>
> Output:
>
> {"pulp_tasks"=>
>   [{"exception"=>nil,
>     "task_type"=>"pulp.server.managers.repo.sync.sync",
>     "_href"=>"/pulp/api/v2/tasks/cd958a52-be29-4e46-9ea4-0201bedae0ff/",
>     "task_id"=>"cd958a52-be29-4e46-9ea4-0201bedae0ff",
>     "tags"=>
>      ["pulp:repository:7e6ec4ad-03f4-42a3-a331-d03428fd2673",
>       "pulp:action:sync"],
>     "finish_time"=>"2017-11-27T18:21:22Z",
>     "_ns"=>"task_status",
>     "start_time"=>"2017-11-27T18:21: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 522, 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 438, 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 725, in 
> wrap_f\n    return f(*args, **kwargs)\n  File 
> \"/usr/lib/python2.7/site-packages/pulp_ostree/plugins/importers/web.py\", 
> line 91, in sync_repo\n    report = step.process_lifecycle()\n  File 
> \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 
> 572, in process_lifecycle\n    super(PluginStep, self).process_lifecycle()\n  
> File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", 
> line 163, in process_lifecycle\n    step.process()\n  File 
> \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 
> 256, in process\n    self._process_block()\n  File 
> \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 
> 303, in _process_block\n    self.process_main()\n  File 
> \"/usr/lib/python2.7/site-packages/pulp_ostree/plugins/importers/steps.py\", 
> line 160, in process_main\n    raise pe\nPulpCodedException: Fetch summary 
> failed. Reason: GLib.Error('Server returned HTTP 404', 'g-io-error-quark', 
> 1)\n",
>     "spawned_tasks"=>[],
>     "progress_report"=>
>      {"ostree_web_importer"=>
>        [{"num_success"=>1,
>          "description"=>"Create/Open Local Repository",
>          "step_type"=>"import_create_repository",
>          "items_total"=>1,
>          "state"=>"FINISHED",
>          "error_details"=>[],
>          "details"=>"",
>          "num_failures"=>0,
>          "step_id"=>"5598197b-a4b7-4cd6-b952-a6614e09981f",
>          "num_processed"=>1},
>         {"num_success"=>0,
>          "description"=>"Update Summary",
>          "step_type"=>"import_summary",
>          "items_total"=>1,
>          "state"=>"FAILED",
>          "error_details"=>
>           [{"traceback"=>
>              "  File 
> \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 
> 256, in process\n    self._process_block()\n\n  File 
> \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 
> 303, in _process_block\n    self.process_main()\n\n  File 
> \"/usr/lib/python2.7/site-packages/pulp_ostree/plugins/importers/steps.py\", 
> line 160, in process_main\n    raise pe\n",
>             "error"=>
>              "Fetch summary failed. Reason: GLib.Error('Server returned HTTP 
> 404', 'g-io-error-quark', 1)"}],
>          "details"=>"",
>          "num_failures"=>1,
>          "step_id"=>"d0586c83-a35b-469d-9365-cd808a0d9209",
>          "num_processed"=>1},
>         {"num_success"=>0,
>          "description"=>"Pull Remote Branches",
>          "step_type"=>"import_pull",
>          "items_total"=>1,
>          "state"=>"NOT_STARTED",
>          "error_details"=>[],
>          "details"=>"",
>          "num_failures"=>0,
>          "step_id"=>"ef8273eb-9364-4091-bc60-5e17ce4bf81c",
>          "num_processed"=>0},
>         {"num_success"=>0,
>          "description"=>"Add Content Units",
>          "step_type"=>"import_add_unit",
>          "items_total"=>1,
>          "state"=>"NOT_STARTED",
>          "error_details"=>[],
>          "details"=>"",
>          "num_failures"=>0,
>          "step_id"=>"7adcb056-c22a-43f5-95f8-687d7a69724e",
>          "num_processed"=>0},
>         {"num_success"=>0,
>          "description"=>"Clean",
>          "step_type"=>"import_clean",
>          "items_total"=>1,
>          "state"=>"NOT_STARTED",
>          "error_details"=>[],
>          "details"=>"",
>          "num_failures"=>0,
>          "step_id"=>"7f2d049a-c837-41ca-aea3-f114d0d74c05",
>          "num_processed"=>0}]},
>     "queue"=>"[email protected]",
>     "state"=>"error",
>     "worker_name"=>"[email protected] 
> <javascript:>",
>     "result"=>nil,
>     "error"=>
>      {"code"=>"OST0005",
>       "data"=>
>        {"reason"=>
>          "GLib.Error('Server returned HTTP 404', 'g-io-error-quark', 1)"},
>       "description"=>
>        "Fetch summary failed. Reason: GLib.Error('Server returned HTTP 404', 
> 'g-io-error-quark', 1)",
>       "sub_errors"=>[]},
>     "_id"=>{"$oid"=>"5a1c57a15ee17ba2cec4fa91"},
>     "id"=>"5a1c57a15ee17ba2cec4fa91"}],
>  "contents_changed"=>true,
>  "poll_attempts"=>{"total"=>2, "failed"=>1}}
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to