Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Actions::Pulp::Repository::Sync
- Input:
- {"smart_proxy_id"=>1,
- "repo_id"=>3155,
- "source_url"=>nil,
- "options"=>{},
- "remote_user"=>"admin",
- "remote_cp_user"=>"admin",
- "current_request_id"=>nil,
- "current_timezone"=>"vvv",
- "current_user_id"=>4,
- "current_organization_id"=>3,
- "current_location_id"=>nil}
- Output:
- {"pulp_tasks"=>
- [{"exception"=>nil,
- "task_type"=>"pulp.server.managers.repo.sync.sync",
- "_href"=>"/pulp/api/v2/tasks/cd16d508-da40-4368-b490-b05d81e0abca/",
- "task_id"=>"cd16d508-da40-4368-b490-b05d81e0abca",
- "tags"=>
- ["pulp:repository:e9a0b7a7-22f1-4861-91f0-9f9ea20dc5d6",
- "pulp:action:sync"],
- "finish_time"=>"2020-02-10T12:22:32Z",
- "_ns"=>"task_status",
- "start_time"=>"2020-02-10T12:22:20Z",
- "traceback"=>nil,
- "spawned_tasks"=>
- [{"_href"=>"/pulp/api/v2/tasks/b5885ec9-1b0b-4f66-a6a4-dc37dd459e25/",
- "task_id"=>"b5885ec9-1b0b-4f66-a6a4-dc37dd459e25"}],
- "progress_report"=>
- {"deb_importer"=>
- [{"num_success"=>2,
- "description"=>"Retrieving metadata: Release file(s)",
- "step_type"=>"sync_step_release_download",
- "items_total"=>2,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"d846ce4d-48c3-4060-a183-852a63e029e7",
- "num_processed"=>2},
- {"num_success"=>1,
- "description"=>"Parse Release Files",
- "step_type"=>"sync_step_release_parse",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"cdf314da-b928-4b5e-a13f-6a2c3b77fa31",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Retrieving metadata: Packages files",
- "step_type"=>"sync_step_packages_download",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"5acc831c-4e00-4340-be8b-ebf266fa7a02",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Parse Packages Files",
- "step_type"=>"sync_step_packages_parse",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"c1730f98-3c03-41b4-b82e-31c34f1e6c95",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Copying units already in pulp",
- "step_type"=>"get_local",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"043ead6f-e332-4160-aee7-26d74da97043",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Prepare Package Download",
- "step_type"=>"sync_step_unit_download_requests",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"0209cdaa-8f5c-431e-9236-06a6550eed73",
- "num_processed"=>1},
- {"num_success"=>0,
- "description"=>"Retrieving units",
- "step_type"=>"sync_step_unit_download",
- "items_total"=>0,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"4d8c7162-0236-4df9-b2ad-c191a6dc41a9",
- "num_processed"=>0},
- {"num_success"=>1,
- "description"=>"Save and associate downloaded units",
- "step_type"=>"sync_step_save",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"d0e9a2c2-432e-4cf7-94c2-f99055cdc24a",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Save metadata",
- "step_type"=>"sync_step_save_meta",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"77fc188b-e32e-4bef-b512-d3875e481976",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Orphan removed units",
- "step_type"=>"sync_step_orphan_removed_units",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"5bcf8041-27bb-4f56-ac65-23a0549bf084",
- "num_processed"=>1}]},
- "queue"=>"reserved_resource_worker-0@+++111.xxx01.xxxcorp.lan.dq2",
- "state"=>"finished",
- "worker_name"=>"reserved_resource_worker-0@+++111.xxx01.xxxcorp.lan",
- "result"=>
- {"result"=>"success",
- "importer_id"=>"deb_importer",
- "exception"=>nil,
- "repo_id"=>"e9a0b7a7-22f1-4861-91f0-9f9ea20dc5d6",
- "traceback"=>nil,
- "started"=>"2020-02-10T12:22:20Z",
- "_ns"=>"repo_sync_results",
- "completed"=>"2020-02-10T12:22:31Z",
- "importer_type_id"=>"deb_importer",
- "error_message"=>nil,
- "summary"=>
- {"sync_step_release_download"=>"FINISHED",
- "sync_step_unit_download_requests"=>"FINISHED",
- "sync_step_save"=>"FINISHED",
- "sync_step_unit_download"=>"FINISHED",
- "sync_step_release_parse"=>"FINISHED",
- "get_local"=>"FINISHED",
- "sync_step_packages_parse"=>"FINISHED",
- "sync_step_orphan_removed_units"=>"FINISHED",
- "sync_step_save_meta"=>"FINISHED",
- "sync_step_packages_download"=>"FINISHED"},
- "added_count"=>0,
- "removed_count"=>0,
- "updated_count"=>832,
- "id"=>"5e414b08e3eef50dbadc97f7",
- "details"=>
- [{"num_success"=>2,
- "description"=>"Retrieving metadata: Release file(s)",
- "step_type"=>"sync_step_release_download",
- "items_total"=>2,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"d846ce4d-48c3-4060-a183-852a63e029e7",
- "num_processed"=>2},
- {"num_success"=>1,
- "description"=>"Parse Release Files",
- "step_type"=>"sync_step_release_parse",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"cdf314da-b928-4b5e-a13f-6a2c3b77fa31",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Retrieving metadata: Packages files",
- "step_type"=>"sync_step_packages_download",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"5acc831c-4e00-4340-be8b-ebf266fa7a02",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Parse Packages Files",
- "step_type"=>"sync_step_packages_parse",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"c1730f98-3c03-41b4-b82e-31c34f1e6c95",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Copying units already in pulp",
- "step_type"=>"get_local",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"043ead6f-e332-4160-aee7-26d74da97043",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Prepare Package Download",
- "step_type"=>"sync_step_unit_download_requests",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"0209cdaa-8f5c-431e-9236-06a6550eed73",
- "num_processed"=>1},
- {"num_success"=>0,
- "description"=>"Retrieving units",
- "step_type"=>"sync_step_unit_download",
- "items_total"=>0,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"4d8c7162-0236-4df9-b2ad-c191a6dc41a9",
- "num_processed"=>0},
- {"num_success"=>1,
- "description"=>"Save and associate downloaded units",
- "step_type"=>"sync_step_save",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"d0e9a2c2-432e-4cf7-94c2-f99055cdc24a",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Save metadata",
- "step_type"=>"sync_step_save_meta",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"77fc188b-e32e-4bef-b512-d3875e481976",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Orphan removed units",
- "step_type"=>"sync_step_orphan_removed_units",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"5bcf8041-27bb-4f56-ac65-23a0549bf084",
- "num_processed"=>1}]},
- "error"=>nil,
- "_id"=>{"$oid"=>"5e414afc0974755f7903e6f4"},
- "id"=>"5e414afc0974755f7903e6f4"},
- {"exception"=>nil,
- "task_type"=>"pulp.server.managers.repo.publish.publish",
- "_href"=>"/pulp/api/v2/tasks/b5885ec9-1b0b-4f66-a6a4-dc37dd459e25/",
- "task_id"=>"b5885ec9-1b0b-4f66-a6a4-dc37dd459e25",
- "tags"=>
- ["pulp:repository:e9a0b7a7-22f1-4861-91f0-9f9ea20dc5d6",
- "pulp:action:publish"],
- "finish_time"=>"2020-02-10T12:22:36Z",
- "_ns"=>"task_status",
- "start_time"=>"2020-02-10T12:22:32Z",
- "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 686, in __call__\n" +
- " return super(Task, self).__call__(*args, **kwargs)\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 108, 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 1110, in publish\n" +
- " result = check_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 1207, in check_publish\n" +
- " result = _do_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 1259, in _do_publish\n" +
- " publish_report = publish_repo(transfer_repo, conduit, call_config)\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 894, in wrap_f\n" +
- " return f(*args, **kwargs)\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp_deb/plugins/distributors/distributor.py\", line 84, in publish_repo\n" +
- " return self._publisher.process_lifecycle()\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 573, in process_lifecycle\n" +
- " super(PluginStep, self).process_lifecycle()\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 164, in process_lifecycle\n" +
- " step.process()\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 257, in process\n" +
- " self._process_block()\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 304, in _process_block\n" +
- " self.process_main()\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp_deb/plugins/distributors/distributor.py\", line 422, in process_main\n" +
- " signer.sign(release_file_path)\n" +
- " File \"/usr/lib/python2.7/site-packages/debpkgr/signer.py\", line 124, in sign\n" +
- " stdout=stdout, stderr=stderr)\n" +
- "SignerError: Return code: 2\n",
- "spawned_tasks"=>[],
- "progress_report"=>
- {"e9a0b7a7-22f1-4861-91f0-9f9ea20dc5d6"=>
- [{"num_success"=>0,
- "description"=>"Publishing modules",
- "step_type"=>"publish_modules",
- "sub_steps"=>
- [{"num_success"=>1,
- "description"=>"",
- "step_type"=>"publish_deb_releases",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"291731a9-f7c9-40b0-ab86-65a6a0357dba",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"",
- "step_type"=>"publish_deb_components",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"490b5730-82d2-4c13-8c52-8364a65f1238",
- "num_processed"=>1},
- {"num_success"=>830,
- "description"=>"",
- "step_type"=>"publish_deb",
- "items_total"=>830,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"cab891c3-2ac3-4bbf-b8af-8b0ae9cb2b4a",
- "num_processed"=>830},
- {"num_success"=>0,
- "description"=>"",
- "step_type"=>"publish_repodata",
- "items_total"=>1,
- "state"=>"FAILED",
- "error_details"=>
- [{"traceback"=>
- " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 257, in process\n" +
- " self._process_block()\n" +
- "\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 304, in _process_block\n" +
- " self.process_main()\n" +
- "\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp_deb/plugins/distributors/distributor.py\", line 422, in process_main\n" +
- " signer.sign(release_file_path)\n" +
- "\n" +
- " File \"/usr/lib/python2.7/site-packages/debpkgr/signer.py\", line 124, in sign\n" +
- " stdout=stdout, stderr=stderr)\n",
- "error"=>"Return code: 2"}],
- "details"=>"",
- "num_failures"=>1,
- "step_id"=>"865f2394-f9dc-4b4f-a051-abe0bcb6c428",
- "num_processed"=>1}],
- "items_total"=>1,
- "state"=>"FAILED",
- "error_details"=>[{"traceback"=>nil, "error"=>nil}],
- "details"=>"",
- "num_failures"=>1,
- "step_id"=>"a919d536-1e58-4cc1-8192-32ca28266aa7",
- "num_processed"=>1},
- {"num_success"=>0,
- "description"=>"Publishing files to web",
- "step_type"=>"publish_directory",
- "items_total"=>1,
- "state"=>"NOT_STARTED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"70190b75-0f5f-4aff-a9d7-bbfeaa01f9bc",
- "num_processed"=>0},
- {"num_success"=>0,
- "description"=>"Writing Listings File",
- "step_type"=>"generate_listing_files",
- "items_total"=>1,
- "state"=>"NOT_STARTED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"4f4ddd77-751f-4c09-91af-14c297c075c1",
- "num_processed"=>0},
- {"num_success"=>0,
- "description"=>"Writing Listings File",
- "step_type"=>"generate_listing_files",
- "items_total"=>1,
- "state"=>"NOT_STARTED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"a6cb5e30-0e2a-4705-9b35-ba035ea087e1",
- "num_processed"=>0}]},
- "queue"=>"reserved_resource_worker-0@+++111.xxx01.xxxcorp.lan.dq2",
- "state"=>"error",
- "worker_name"=>"reserved_resource_worker-0@+++111.xxx01.xxxcorp.lan",
- "result"=>nil,
- "error"=>
- {"code"=>"PLP0000",
- "data"=>{},
- "description"=>"Return code: 2",
- "sub_errors"=>[]},
- "_id"=>{"$oid"=>"5e414b080974755f7903f19f"},
- "id"=>"5e414b080974755f7903f19f"}],
- "contents_changed"=>true,
- "poll_attempts"=>{"total"=>15, "failed"=>1}}
- Exception:
- Katello::Errors::PulpError: PLP0000: Return code: 2
- Backtrace:
- /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/pulp/abstract_async_task.rb:122:in `block in external_task='
- /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/pulp/abstract_async_task.rb:120:in `each'
- /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/pulp/abstract_async_task.rb:120:in `external_task='
- /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/pulp/repository/sync.rb:28:in `external_task='
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action/polling.rb:100:in `poll_external_task_with_rescue'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action/polling.rb:22:in `run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action/cancellable.rb:14:in `run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/pulp/abstract_async_task.rb:45:in `run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action.rb:563:in `block (3 levels) in execute_run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:27:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:19:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:32:in `run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:23:in `call'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:27:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:19:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/middleware/remote_action.rb:16:in `block in run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/middleware/remote_action.rb:40:in `block in as_remote_user'
- /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/models/katello/concerns/user_extensions.rb:21:in `cp_config'
- /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/middleware/remote_action.rb:27:in `as_cp_user'
- /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/middleware/remote_action.rb:39:in `as_remote_user'
- /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/middleware/remote_action.rb:16:in `run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:23:in `call'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:27:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:19:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/rails_executor_wrap.rb:14:in `block in run'
- /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/execution_wrapper.rb:87:in `wrap'
- /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/rails_executor_wrap.rb:13:in `run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:23:in `call'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:27:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:19:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action/progress.rb:31:in `with_progress_calculation'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action/progress.rb:17:in `run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:23:in `call'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:27:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:19:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/middleware/keep_locale.rb:11:in `block in run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/middleware/keep_locale.rb:22:in `with_locale'
- /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/middleware/keep_locale.rb:11:in `run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:23:in `call'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:27:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:19:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_request_id.rb:15:in `block in run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_request_id.rb:49:in `restore_current_request_id'
- /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_request_id.rb:15:in `run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:23:in `call'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:27:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:19:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_timezone.rb:15:in `block in run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_timezone.rb:44:in `restore_curent_timezone'
- /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_timezone.rb:15:in `run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:23:in `call'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:27:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:19:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_user.rb:15:in `block in run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_user.rb:44:in `restore_curent_user'
- /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_user.rb:15:in `run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:23:in `call'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:27:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:19:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_taxonomies.rb:15:in `block in run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_taxonomies.rb:45:in `restore_current_taxonomies'
- /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_taxonomies.rb:15:in `run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:23:in `call'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:27:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:19:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:32:in `run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:23:in `call'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/world.rb:31:in `execute'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action.rb:562:in `block (2 levels) in execute_run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action.rb:561:in `catch'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action.rb:561:in `block in execute_run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action.rb:475:in `block in with_error_handling'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action.rb:475:in `catch'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action.rb:475:in `with_error_handling'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action.rb:556:in `execute_run'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action.rb:285:in `execute'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:18:in `block (2 levels) in execute'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/execution_plan/steps/abstract.rb:167:in `with_meta_calculation'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:17:in `block in execute'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:32:in `open_action'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:16:in `execute'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/director.rb:93:in `execute'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/executors/parallel/worker.rb:15:in `block in on_message'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/executors.rb:12:in `run_user_code'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/executors/parallel/worker.rb:14:in `on_message'
- /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/context.rb:46:in `on_envelope'
- /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/executes_context.rb:7:in `on_envelope'
- /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/actor.rb:106:in `on_envelope'
- /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/awaits.rb:15:in `on_envelope'
- /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/actor.rb:47:in `block in on_envelope'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/actor.rb:59:in `with_backtrace'
- /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/actor.rb:47:in `on_envelope'
- /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/buffer.rb:38:in `process_envelope'
- /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/buffer.rb:31:in `process_envelopes?'
- /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/buffer.rb:20:in `on_envelope'
- /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/termination.rb:55:in `on_envelope'
- /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/removes_child.rb:10:in `on_envelope'
- /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
- /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope'
- /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/core.rb:162:in `process_envelope'
- /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/core.rb:96:in `block in on_envelope'
- /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/core.rb:119:in `block (2 levels) in schedule_execution'
- /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/mutex_lockable_object.rb:41:in `block in synchronize'
- /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/mutex_lockable_object.rb:41:in `synchronize'
- /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/mutex_lockable_object.rb:41:in `synchronize'
- /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/core.rb:116:in `block in schedule_execution'
- /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/serialized_execution.rb:18:in `call'
- /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/serialized_execution.rb:96:in `work'
- /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/serialized_execution.rb:77:in `block in call_job'
- /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task'
- /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker'
- /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop'
- /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker'
- /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch'
- /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker'
- /opt/theforeman/tfm/root/usr/share/gems/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
- Action:
- Actions::Pulp::Repository::Sync
- Input:
- {"smart_proxy_id"=>1,
- "repo_id"=>3155,
- "source_url"=>nil,
- "options"=>{},
- "remote_user"=>"admin",
- "remote_cp_user"=>"admin",
- "current_request_id"=>nil,
- "current_timezone"=>"vvv",
- "current_user_id"=>4,
- "current_organization_id"=>3,
- "current_location_id"=>nil}
- Output:
- {"pulp_tasks"=>
- [{"exception"=>nil,
- "task_type"=>"pulp.server.managers.repo.sync.sync",
- "_href"=>"/pulp/api/v2/tasks/cd16d508-da40-4368-b490-b05d81e0abca/",
- "task_id"=>"cd16d508-da40-4368-b490-b05d81e0abca",
- "tags"=>
- ["pulp:repository:e9a0b7a7-22f1-4861-91f0-9f9ea20dc5d6",
- "pulp:action:sync"],
- "finish_time"=>"2020-02-10T12:22:32Z",
- "_ns"=>"task_status",
- "start_time"=>"2020-02-10T12:22:20Z",
- "traceback"=>nil,
- "spawned_tasks"=>
- [{"_href"=>"/pulp/api/v2/tasks/b5885ec9-1b0b-4f66-a6a4-dc37dd459e25/",
- "task_id"=>"b5885ec9-1b0b-4f66-a6a4-dc37dd459e25"}],
- "progress_report"=>
- {"deb_importer"=>
- [{"num_success"=>2,
- "description"=>"Retrieving metadata: Release file(s)",
- "step_type"=>"sync_step_release_download",
- "items_total"=>2,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"d846ce4d-48c3-4060-a183-852a63e029e7",
- "num_processed"=>2},
- {"num_success"=>1,
- "description"=>"Parse Release Files",
- "step_type"=>"sync_step_release_parse",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"cdf314da-b928-4b5e-a13f-6a2c3b77fa31",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Retrieving metadata: Packages files",
- "step_type"=>"sync_step_packages_download",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"5acc831c-4e00-4340-be8b-ebf266fa7a02",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Parse Packages Files",
- "step_type"=>"sync_step_packages_parse",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"c1730f98-3c03-41b4-b82e-31c34f1e6c95",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Copying units already in pulp",
- "step_type"=>"get_local",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"043ead6f-e332-4160-aee7-26d74da97043",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Prepare Package Download",
- "step_type"=>"sync_step_unit_download_requests",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"0209cdaa-8f5c-431e-9236-06a6550eed73",
- "num_processed"=>1},
- {"num_success"=>0,
- "description"=>"Retrieving units",
- "step_type"=>"sync_step_unit_download",
- "items_total"=>0,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"4d8c7162-0236-4df9-b2ad-c191a6dc41a9",
- "num_processed"=>0},
- {"num_success"=>1,
- "description"=>"Save and associate downloaded units",
- "step_type"=>"sync_step_save",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"d0e9a2c2-432e-4cf7-94c2-f99055cdc24a",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Save metadata",
- "step_type"=>"sync_step_save_meta",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"77fc188b-e32e-4bef-b512-d3875e481976",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Orphan removed units",
- "step_type"=>"sync_step_orphan_removed_units",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"5bcf8041-27bb-4f56-ac65-23a0549bf084",
- "num_processed"=>1}]},
- "queue"=>"reserved_resource_worker-0@+++111.xxx01.xxxcorp.lan.dq2",
- "state"=>"finished",
- "worker_name"=>"reserved_resource_worker-0@+++111.xxx01.xxxcorp.lan",
- "result"=>
- {"result"=>"success",
- "importer_id"=>"deb_importer",
- "exception"=>nil,
- "repo_id"=>"e9a0b7a7-22f1-4861-91f0-9f9ea20dc5d6",
- "traceback"=>nil,
- "started"=>"2020-02-10T12:22:20Z",
- "_ns"=>"repo_sync_results",
- "completed"=>"2020-02-10T12:22:31Z",
- "importer_type_id"=>"deb_importer",
- "error_message"=>nil,
- "summary"=>
- {"sync_step_release_download"=>"FINISHED",
- "sync_step_unit_download_requests"=>"FINISHED",
- "sync_step_save"=>"FINISHED",
- "sync_step_unit_download"=>"FINISHED",
- "sync_step_release_parse"=>"FINISHED",
- "get_local"=>"FINISHED",
- "sync_step_packages_parse"=>"FINISHED",
- "sync_step_orphan_removed_units"=>"FINISHED",
- "sync_step_save_meta"=>"FINISHED",
- "sync_step_packages_download"=>"FINISHED"},
- "added_count"=>0,
- "removed_count"=>0,
- "updated_count"=>832,
- "id"=>"5e414b08e3eef50dbadc97f7",
- "details"=>
- [{"num_success"=>2,
- "description"=>"Retrieving metadata: Release file(s)",
- "step_type"=>"sync_step_release_download",
- "items_total"=>2,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"d846ce4d-48c3-4060-a183-852a63e029e7",
- "num_processed"=>2},
- {"num_success"=>1,
- "description"=>"Parse Release Files",
- "step_type"=>"sync_step_release_parse",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"cdf314da-b928-4b5e-a13f-6a2c3b77fa31",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Retrieving metadata: Packages files",
- "step_type"=>"sync_step_packages_download",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"5acc831c-4e00-4340-be8b-ebf266fa7a02",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Parse Packages Files",
- "step_type"=>"sync_step_packages_parse",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"c1730f98-3c03-41b4-b82e-31c34f1e6c95",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Copying units already in pulp",
- "step_type"=>"get_local",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"043ead6f-e332-4160-aee7-26d74da97043",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Prepare Package Download",
- "step_type"=>"sync_step_unit_download_requests",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"0209cdaa-8f5c-431e-9236-06a6550eed73",
- "num_processed"=>1},
- {"num_success"=>0,
- "description"=>"Retrieving units",
- "step_type"=>"sync_step_unit_download",
- "items_total"=>0,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"4d8c7162-0236-4df9-b2ad-c191a6dc41a9",
- "num_processed"=>0},
- {"num_success"=>1,
- "description"=>"Save and associate downloaded units",
- "step_type"=>"sync_step_save",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"d0e9a2c2-432e-4cf7-94c2-f99055cdc24a",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Save metadata",
- "step_type"=>"sync_step_save_meta",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"77fc188b-e32e-4bef-b512-d3875e481976",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"Orphan removed units",
- "step_type"=>"sync_step_orphan_removed_units",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"5bcf8041-27bb-4f56-ac65-23a0549bf084",
- "num_processed"=>1}]},
- "error"=>nil,
- "_id"=>{"$oid"=>"5e414afc0974755f7903e6f4"},
- "id"=>"5e414afc0974755f7903e6f4"},
- {"exception"=>nil,
- "task_type"=>"pulp.server.managers.repo.publish.publish",
- "_href"=>"/pulp/api/v2/tasks/b5885ec9-1b0b-4f66-a6a4-dc37dd459e25/",
- "task_id"=>"b5885ec9-1b0b-4f66-a6a4-dc37dd459e25",
- "tags"=>
- ["pulp:repository:e9a0b7a7-22f1-4861-91f0-9f9ea20dc5d6",
- "pulp:action:publish"],
- "finish_time"=>"2020-02-10T12:22:36Z",
- "_ns"=>"task_status",
- "start_time"=>"2020-02-10T12:22:32Z",
- "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 686, in __call__\n" +
- " return super(Task, self).__call__(*args, **kwargs)\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 108, 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 1110, in publish\n" +
- " result = check_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 1207, in check_publish\n" +
- " result = _do_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 1259, in _do_publish\n" +
- " publish_report = publish_repo(transfer_repo, conduit, call_config)\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 894, in wrap_f\n" +
- " return f(*args, **kwargs)\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp_deb/plugins/distributors/distributor.py\", line 84, in publish_repo\n" +
- " return self._publisher.process_lifecycle()\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 573, in process_lifecycle\n" +
- " super(PluginStep, self).process_lifecycle()\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 164, in process_lifecycle\n" +
- " step.process()\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 257, in process\n" +
- " self._process_block()\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 304, in _process_block\n" +
- " self.process_main()\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp_deb/plugins/distributors/distributor.py\", line 422, in process_main\n" +
- " signer.sign(release_file_path)\n" +
- " File \"/usr/lib/python2.7/site-packages/debpkgr/signer.py\", line 124, in sign\n" +
- " stdout=stdout, stderr=stderr)\n" +
- "SignerError: Return code: 2\n",
- "spawned_tasks"=>[],
- "progress_report"=>
- {"e9a0b7a7-22f1-4861-91f0-9f9ea20dc5d6"=>
- [{"num_success"=>0,
- "description"=>"Publishing modules",
- "step_type"=>"publish_modules",
- "sub_steps"=>
- [{"num_success"=>1,
- "description"=>"",
- "step_type"=>"publish_deb_releases",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"291731a9-f7c9-40b0-ab86-65a6a0357dba",
- "num_processed"=>1},
- {"num_success"=>1,
- "description"=>"",
- "step_type"=>"publish_deb_components",
- "items_total"=>1,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"490b5730-82d2-4c13-8c52-8364a65f1238",
- "num_processed"=>1},
- {"num_success"=>830,
- "description"=>"",
- "step_type"=>"publish_deb",
- "items_total"=>830,
- "state"=>"FINISHED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"cab891c3-2ac3-4bbf-b8af-8b0ae9cb2b4a",
- "num_processed"=>830},
- {"num_success"=>0,
- "description"=>"",
- "step_type"=>"publish_repodata",
- "items_total"=>1,
- "state"=>"FAILED",
- "error_details"=>
- [{"traceback"=>
- " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 257, in process\n" +
- " self._process_block()\n" +
- "\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 304, in _process_block\n" +
- " self.process_main()\n" +
- "\n" +
- " File \"/usr/lib/python2.7/site-packages/pulp_deb/plugins/distributors/distributor.py\", line 422, in process_main\n" +
- " signer.sign(release_file_path)\n" +
- "\n" +
- " File \"/usr/lib/python2.7/site-packages/debpkgr/signer.py\", line 124, in sign\n" +
- " stdout=stdout, stderr=stderr)\n",
- "error"=>"Return code: 2"}],
- "details"=>"",
- "num_failures"=>1,
- "step_id"=>"865f2394-f9dc-4b4f-a051-abe0bcb6c428",
- "num_processed"=>1}],
- "items_total"=>1,
- "state"=>"FAILED",
- "error_details"=>[{"traceback"=>nil, "error"=>nil}],
- "details"=>"",
- "num_failures"=>1,
- "step_id"=>"a919d536-1e58-4cc1-8192-32ca28266aa7",
- "num_processed"=>1},
- {"num_success"=>0,
- "description"=>"Publishing files to web",
- "step_type"=>"publish_directory",
- "items_total"=>1,
- "state"=>"NOT_STARTED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"70190b75-0f5f-4aff-a9d7-bbfeaa01f9bc",
- "num_processed"=>0},
- {"num_success"=>0,
- "description"=>"Writing Listings File",
- "step_type"=>"generate_listing_files",
- "items_total"=>1,
- "state"=>"NOT_STARTED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"4f4ddd77-751f-4c09-91af-14c297c075c1",
- "num_processed"=>0},
- {"num_success"=>0,
- "description"=>"Writing Listings File",
- "step_type"=>"generate_listing_files",
- "items_total"=>1,
- "state"=>"NOT_STARTED",
- "error_details"=>[],
- "details"=>"",
- "num_failures"=>0,
- "step_id"=>"a6cb5e30-0e2a-4705-9b35-ba035ea087e1",
- "num_processed"=>0}]},
- "queue"=>"reserved_resource_worker-0@+++111.xxx01.xxxcorp.lan.dq2",
- "state"=>"error",
- "worker_name"=>"reserved_resource_worker-0@+++111.xxx01.xxxcorp.lan",
- "result"=>nil,
- "error"=>
- {"code"=>"PLP0000",
- "data"=>{},
- "description"=>"Return code: 2",
- "sub_errors"=>[]},
- "_id"=>{"$oid"=>"5e414b080974755f7903f19f"},
- "id"=>"5e414b080974755f7903f19f"}],
- "contents_changed"=>true,
- "poll_attempts"=>{"total"=>15, "failed"=>1}}
- Action:
- Actions::Pulp::Orchestration::Repository::Sync
- Input:
- {"subaction_output"=>Step(4).output,
- "remote_user"=>"admin",
- "remote_cp_user"=>"admin",
- "current_request_id"=>nil,
- "current_timezone"=>"vvv",
- "current_user_id"=>4,
- "current_organization_id"=>3,
- "current_location_id"=>nil}
- Output:
- {}
- Action:
- Actions::Katello::Repository::IndexContent
- Input:
- {"id"=>3155,
- "contents_changed"=>Step(6).output[:contents_changed],
- "current_request_id"=>nil,
- "current_timezone"=>"vvv",
- "current_user_id"=>4,
- "current_organization_id"=>3,
- "current_location_id"=>nil}
- Output:
- {}
- Action:
- Actions::Katello::Repository::ErrataMail
- Input:
- {"repo"=>3155,
- "last_updated"=>"2020-02-10 13:22:19 +0100",
- "contents_changed"=>Step(6).output[:contents_changed],
- "current_request_id"=>nil,
- "current_timezone"=>"vvv",
- "current_user_id"=>4,
- "current_organization_id"=>3,
- "current_location_id"=>nil}
- Output:
- {}
- Action:
- Actions::Katello::Repository::ErrataMail
- Input:
- {"repo"=>3155,
- "last_updated"=>"2020-02-10 13:22:19 +0100",
- "contents_changed"=>Step(6).output[:contents_changed],
- "current_request_id"=>nil,
- "current_timezone"=>"vvv",
- "current_user_id"=>4,
- "current_organization_id"=>3,
- "current_location_id"=>nil}
- Output:
- {}
- Action:
- Actions::Katello::Repository::Sync
- Input:
- {"repository"=>
- {"id"=>3155,
- "name"=>"Ubuntu 18.04 bionic multiverse",
- "label"=>"Ubuntu_18_04_bionic_multiverse"},
- "product"=>
- {"id"=>91,
- "name"=>"Ubuntu 18.04",
- "label"=>"Ubuntu_18_04",
- "cp_id"=>"602356438233"},
- "provider"=>{"id"=>3, "name"=>"Anonymous"},
- "organization"=>{"id"=>3, "name"=>"xxx", "label"=>"xxx"},
- "services_checked"=>["pulp", "pulp_auth"],
- "id"=>3155,
- "sync_result"=>Step(6).output,
- "skip_metadata_check"=>false,
- "validate_contents"=>false,
- "contents_changed"=>Step(6).output[:contents_changed],
- "current_request_id"=>nil,
- "current_timezone"=>"vvv",
- "current_user_id"=>4,
- "current_organization_id"=>3,
- "current_location_id"=>nil}
- Output:
- {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement