Errors:
module ‘createrepo_c’ has no attribute ‘SHA1’
Actions::Pulp3::Repository::CreatePublication
Input:
{“repository_id”=>3,
“smart_proxy_id”=>1,
“contents_changed”=>true,
“skip_publication_creation”=>false,
“remote_user”=>“adm”,
“remote_cp_user”=>“adm”,
“current_request_id”=>“d2a8c60a-c009-2adb-a13f-875e0ed780d6”,
“current_timezone”=>“Europe”,
“current_organization_id”=>1,
“current_location_id”=>4,
“current_user_id”=>1}
{“response”=>
{“task”=>“/pulp/api/v3/tasks/011eb156-fc36-2ac8-6b0f-5ff711ae93be/”},
“pulp_tasks”=>
[{“pulp_href”=>“/pulp/api/v3/tasks/011eb156-fc36-2ac8-6b0f-5ff711ae93be/”,
“pulp_created”=>“2024-04-06T12:14:35.078+00:00”,
“state”=>“failed”,
“name”=>“pulp_rpm.app.tasks.publishing.publish”,
“logging_cid”=>“d2a8c60a-c009-2adb-a13f-875e0ed780d6”,
“created_by”=>“/pulp/api/v3/users/1/”,
“started_at”=>“2024-04-06T12:14:35.115+00:00”,
“finished_at”=>“2024-04-06T12:15:08.960+00:00”,
“error”=>
{“traceback”=>
" File "/usr/lib/python3.11/site-packages/pulpcore/tasking/tasks.py", line 61, in _execute_task\n" +
" result = func(*args, **kwargs)\n" +
" ^^^^^^^^^^^^^^^^^^^^^\n" +
" File "/usr/lib/python3.11/site-packages/pulp_rpm/app/tasks/publishing.py", line 384, in publish\n" +
" generate_repo_metadata(\n" +
" File "/usr/lib/python3.11/site-packages/pulp_rpm/app/tasks/publishing.py", line 686, in generate_repo_metadata\n" +
" checksum_type = cr_checksum_type_from_string(\n" +
" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n" +
" File "/usr/lib/python3.11/site-packages/pulp_rpm/app/tasks/publishing.py", line 318, in cr_checksum_type_from_string\n" +
" return getattr(cr, checksum_type.upper())\n" +
" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",
“description”=>“module ‘createrepo_c’ has no attribute ‘SHA1’”},
“worker”=>“/pulp/api/v3/workers/016eb623-224d-9a88-a4d2-ecd7373986e4/”,
“child_tasks”=>,
“progress_reports”=>
[{“message”=>“Generating repository metadata”,
“code”=>“publish.generating_metadata”,
“state”=>“failed”,
“total”=>1,
“done”=>0}],
“created_resources”=>,
“reserved_resources_record”=>
[“shared:/pulp/api/v3/repositories/rpm/rpm/018eab61-0ae6-7834-9bd6-273289f99246/”,
“shared:/pulp/api/v3/domains/018eaafb-a6af-78e6-86a0-ef4022c8de27/”]}],
“task_groups”=>,
“poll_attempts”=>{“total”=>19, “failed”=>1}}