error when updating the repository

Good afternoon. Please help me. an error occurs when trying to synchronize the deb repository. Error log attached

Actions::BulkAction
Input:
{“action_class”=>“Actions::Katello::Repository::Sync”,
“target_ids”=>[10],
“target_class”=>“Katello::Repository”,
“args”=>,
“current_request_id”=>nil,
“current_timezone”=>“Europe/Moscow”,
“current_user_id”=>9,
“current_organization_id”=>1,
“current_location_id”=>2}
Output:
{“planned_count”=>1,
“cancelled_count”=>0,
“total_count”=>1,
“failed_count”=>1,
“pending_count”=>0,
“success_count”=>0}
Exception:
RuntimeError: A sub task failed
Backtrace:
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action/with_sub_plans.rb:231:in check_for_errors!' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action/with_sub_plans.rb:137:in try_to_finish’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action/with_sub_plans.rb:22:in block in run' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:74:in block in assigns’
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in tap' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in assigns’
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:56:in match_value' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:36:in block in match?’
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in each' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in match?’
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:23:in match' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action/with_sub_plans.rb:12:in run’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action/with_bulk_sub_plans.rb:24:in run' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-2.0.2/app/lib/actions/bulk_action.rb:21:in run’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:571:in block (3 levels) in execute_run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in pass’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in pass' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-2.0.2/app/lib/actions/middleware/rails_executor_wrap.rb:14:in block in run’
/opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/execution_wrapper.rb:88:in wrap' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-2.0.2/app/lib/actions/middleware/rails_executor_wrap.rb:13:in run’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in pass’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action/progress.rb:31:in with_progress_calculation’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action/progress.rb:17:in run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in call’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in pass’
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-2.0.2/app/lib/actions/middleware/keep_current_request_id.rb:15:in block in run' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-2.0.2/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-2.0.2/app/lib/actions/middleware/keep_current_request_id.rb:15:in run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in call’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in pass’
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-2.0.2/app/lib/actions/middleware/keep_current_timezone.rb:15:in block in run' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-2.0.2/app/lib/actions/middleware/keep_current_timezone.rb:44:in restore_curent_timezone’
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-2.0.2/app/lib/actions/middleware/keep_current_timezone.rb:15:in run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in call’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in pass’
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-2.0.2/app/lib/actions/middleware/keep_current_user.rb:15:in block in run' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-2.0.2/app/lib/actions/middleware/keep_current_user.rb:44:in restore_curent_user’
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-2.0.2/app/lib/actions/middleware/keep_current_user.rb:15:in run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in call’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in pass’
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-2.0.2/app/lib/actions/middleware/keep_current_taxonomies.rb:15:in block in run' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-2.0.2/app/lib/actions/middleware/keep_current_taxonomies.rb:45:in restore_current_taxonomies’
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-2.0.2/app/lib/actions/middleware/keep_current_taxonomies.rb:15:in run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in call’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in pass’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:32:in run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in call’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/world.rb:31:in execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:570:in block (2 levels) in execute_run’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:569:in catch' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:569:in block in execute_run’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:472:in block in with_error_handling' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:472:in catch’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:472:in with_error_handling' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:564:in execute_run’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:285:in execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/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.7/lib/dynflow/execution_plan/steps/abstract.rb:167:in with_meta_calculation' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/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.7/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:32:in open_action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:16:in execute’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/director.rb:93:in execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/executors/sidekiq/worker_jobs.rb:11:in block (2 levels) in perform’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/executors.rb:18:in run_user_code' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/executors/sidekiq/worker_jobs.rb:9:in block in perform’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/executors/sidekiq/worker_jobs.rb:25:in with_telemetry' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/executors/sidekiq/worker_jobs.rb:8:in perform’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/executors/sidekiq/serialization.rb:27:in perform' /opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/processor.rb:192:in execute_job’
/opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/processor.rb:165:in block (2 levels) in process' /opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/middleware/chain.rb:128:in block in invoke’
/opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/middleware/chain.rb:133:in invoke' /opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/processor.rb:164:in block in process’
/opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/processor.rb:137:in block (6 levels) in dispatch' /opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/job_retry.rb:109:in local’
/opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/processor.rb:136:in block (5 levels) in dispatch' /opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq.rb:37:in block in module:Sidekiq
/opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/processor.rb:132:in block (4 levels) in dispatch' /opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/processor.rb:250:in stats’
/opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/processor.rb:127:in block (3 levels) in dispatch' /opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/job_logger.rb:8:in call’
/opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/processor.rb:126:in block (2 levels) in dispatch' /opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/job_retry.rb:74:in global’
/opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/processor.rb:125:in block in dispatch' /opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/logging.rb:48:in with_context’
/opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/logging.rb:42:in with_job_hash_context' /opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/processor.rb:124:in dispatch’
/opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/processor.rb:163:in process' /opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/processor.rb:83:in process_one’
/opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/processor.rb:71:in run' /opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/util.rb:16:in watchdog’
/opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/util.rb:25:in block in safe_thread' /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’

Hey @Overlord ,

Could you also share the logs at /var/log/message for the pulp side of the failure. Also what version are you on?

1 Like

here, there is more output from subprocess,
{“pulp_tasks”=>
[{“exception”=>nil,
“task_type”=>“pulp.server.managers.repo.sync.sync”,
“_href”=>"/pulp/api/v2/tasks/5b565d65-948a-499c-8148-02c5265ab1e8/",
“task_id”=>“5b565d65-948a-499c-8148-02c5265ab1e8”,
“tags”=>
[“pulp:repository:5983cb4e-8752-44c2-8264-829fc0b3c4cd”,
“pulp:action:sync”],
“finish_time”=>“2021-02-11T17:06:02Z”,
“_ns”=>“task_status”,
“start_time”=>“2021-02-11T17:04:25Z”,
“traceback”=>nil,
“spawned_tasks”=>
[{"_href"=>"/pulp/api/v2/tasks/44a10e62-4cd2-4a2e-ad21-ea4fd87e7b3f/",
“task_id”=>“44a10e62-4cd2-4a2e-ad21-ea4fd87e7b3f”}],
“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”=>“682f7613-f9bc-403c-bce1-7e1ee42119d0”,
“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”=>“60917392-7d1c-413b-9c47-c10d50e2e888”,
“num_processed”=>1},
{“num_success”=>4,
“description”=>“Retrieving metadata: Packages files”,
“step_type”=>“sync_step_packages_download”,
“items_total”=>4,
“state”=>“FINISHED”,
“error_details”=>,
“details”=>"",
“num_failures”=>0,
“step_id”=>“e85769ee-4669-41cb-a7c3-21f8f9e5a8bf”,
“num_processed”=>4},
{“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”=>“190b8ec3-e7db-4179-a019-c6872194d619”,
“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”=>“1e69ab4e-f90b-4b66-bd15-e197713eef8a”,
“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”=>“efa01c8c-e223-4c64-8d3c-7c2ff2b9f2d4”,
“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”=>“7d704dce-4654-45c5-ac8e-56920eee9ce8”,
“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”=>“4708644b-67b2-4d84-b5be-6a563a36d15f”,
“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”=>“22418fe9-46df-421a-9daf-92c5b9ab996d”,
“num_processed”=>1}]},
“queue”=>“reserved_resource_worker-2@s-msk-p-forkate.dq2”,
“state”=>“finished”,
“worker_name”=>“reserved_resource_worker-2@s-msk-p-forkate”,
“result”=>
{“result”=>“success”,
“importer_id”=>“deb_importer”,
“exception”=>nil,
“repo_id”=>“5983cb4e-8752-44c2-8264-829fc0b3c4cd”,
“traceback”=>nil,
“started”=>“2021-02-11T17:04:25Z”,
“_ns”=>“repo_sync_results”,
“completed”=>“2021-02-11T17:06:02Z”,
“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_save_meta”=>“FINISHED”,
“sync_step_packages_download”=>“FINISHED”},
“added_count”=>0,
“removed_count”=>0,
“updated_count”=>15013,
“id”=>“602563fab7a6100a26a6d6b6”,
“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”=>“682f7613-f9bc-403c-bce1-7e1ee42119d0”,
“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”=>“60917392-7d1c-413b-9c47-c10d50e2e888”,
“num_processed”=>1},
{“num_success”=>4,
“description”=>“Retrieving metadata: Packages files”,
“step_type”=>“sync_step_packages_download”,
“items_total”=>4,
“state”=>“FINISHED”,
“error_details”=>,
“details”=>"",
“num_failures”=>0,
“step_id”=>“e85769ee-4669-41cb-a7c3-21f8f9e5a8bf”,
“num_processed”=>4},
{“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”=>“190b8ec3-e7db-4179-a019-c6872194d619”,
“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”=>“1e69ab4e-f90b-4b66-bd15-e197713eef8a”,
“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”=>“efa01c8c-e223-4c64-8d3c-7c2ff2b9f2d4”,
“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”=>“7d704dce-4654-45c5-ac8e-56920eee9ce8”,
“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”=>“4708644b-67b2-4d84-b5be-6a563a36d15f”,
“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”=>“22418fe9-46df-421a-9daf-92c5b9ab996d”,
“num_processed”=>1}]},
“error”=>nil,
“_id”=>{"$oid"=>“602563995308a1b33cdf5f70”},
“id”=>“602563995308a1b33cdf5f70”},
{“exception”=>nil,
“task_type”=>“pulp.server.managers.repo.publish.publish”,
“_href”=>"/pulp/api/v2/tasks/44a10e62-4cd2-4a2e-ad21-ea4fd87e7b3f/",
“task_id”=>“44a10e62-4cd2-4a2e-ad21-ea4fd87e7b3f”,
“tags”=>
[“pulp:repository:5983cb4e-8752-44c2-8264-829fc0b3c4cd”,
“pulp:action:publish”],
“finish_time”=>“2021-02-11T17:07:08Z”,
“_ns”=>“task_status”,
“start_time”=>“2021-02-11T17:06:02Z”,
“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 1137, 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 1239, 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 1291, 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 418, 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”=>
{“5983cb4e-8752-44c2-8264-829fc0b3c4cd”=>
[{“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”=>“67ef1be7-9837-4a5c-9537-b77fe24d26a7”,
“num_processed”=>1},
{“num_success”=>4,
“description”=>"",
“step_type”=>“publish_deb_components”,
“items_total”=>4,
“state”=>“FINISHED”,
“error_details”=>,
“details”=>"",
“num_failures”=>0,
“step_id”=>“6925dad1-68bc-4b86-b177-753d0b9a1520”,
“num_processed”=>4},
{“num_success”=>15008,
“description”=>"",
“step_type”=>“publish_deb”,
“items_total”=>15008,
“state”=>“FINISHED”,
“error_details”=>,
“details”=>"",
“num_failures”=>0,
“step_id”=>“a51abecf-59ce-468f-8818-f218bc590b33”,
“num_processed”=>15008},
{“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 418, 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”=>“d789a335-cad3-44aa-b45f-09fe46a9cd5b”,
“num_processed”=>1}],
“items_total”=>1,
“state”=>“FAILED”,
“error_details”=>[{“traceback”=>nil, “error”=>nil}],
“details”=>"",
“num_failures”=>1,
“step_id”=>“c6f16392-b41e-4c42-b627-781f9577c3e9”,
“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”=>“6b07daf8-e1aa-420b-8f50-9af7e7790a0f”,
“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”=>“3d3712d9-a5e5-4ab5-bc36-4cd1fb684a38”,
“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”=>“4c962c7e-58e1-466d-a3bc-a1b81839a1f4”,
“num_processed”=>0}]},
“queue”=>“reserved_resource_worker-2@s-msk-p-forkate.dq2”,
“state”=>“error”,
“worker_name”=>“reserved_resource_worker-2@s-msk-p-forkate”,
“result”=>nil,
“error”=>
{“code”=>“PLP0000”,
“data”=>{},
“description”=>“Return code: 2”,
“sub_errors”=>},
“_id”=>{"$oid"=>“602563fa5308a1b33ce01306”},
“id”=>“602563fa5308a1b33ce01306”}],
“contents_changed”=>true,
“poll_attempts”=>{“total”=>31, “failed”=>1}}

Hey @Overlord,

Which deb repository are you trying to sync? I have a feeling this a pulp issue but I can try reproducing this and checking further.