Cannot sync Ubuntu 20.04 update and security repos

Hi!
I have Foreman 3.11.1 installed with katello 4.13.

Trying to sync Ubuntu 20.04 repo
main got successfully synced
updates and security arent syncing

Im syncing from archive.ubuntu.com and pk.archive.ubuntu.com

Time out increased but still stuck. In a bit of a fix :frowning_face:

Input:

{“repo_id”=>2,
“smart_proxy_id”=>1,
“options”=>{},
“remote_user”=>“admin”,
“remote_cp_user”=>“admin”,
“current_request_id”=>“f9e00553-0193-4bc0-88df-10d00f6624b1”,
“current_timezone”=>“Asia/Karachi”,
“current_organization_id”=>1,
“current_location_id”=>2,
“current_user_id”=>4}

Output:

{“pulp_tasks”=>
[{“pulp_href”=>“/pulp/api/v3/tasks/01911193-bdc2-7b4d-8f61-ab2114a6ea43/”,
“pulp_created”=>“2024-08-02T05:33:00.738+00:00”,
“pulp_last_updated”=>“2024-08-02T05:33:00.738+00:00”,
“state”=>“failed”,
“name”=>“pulp_deb.app.tasks.synchronizing.synchronize”,
“logging_cid”=>“f9e00553-0193-4bc0-88df-10d00f6624b1”,
“created_by”=>“/pulp/api/v3/users/1/”,
“unblocked_at”=>“2024-08-02T05:33:00.752+00:00”,
“started_at”=>“2024-08-02T05:33:00.804+00:00”,
“finished_at”=>“2024-08-02T09:46:49.515+00:00”,
“error”=>
{“traceback”=>
" File "/usr/lib/python3.11/site-packages/pulpcore/tasking/tasks.py", line 66, in _execute_task\n" +
" result = func(*args, **kwargs)\n" +
" ^^^^^^^^^^^^^^^^^^^^^\n" +
" File "/usr/lib/python3.11/site-packages/pulp_deb/app/tasks/synchronizing.py", line 219, in synchronize\n" +
" DebDeclarativeVersion(first_stage, repository, mirror=mirror).create()\n" +
" File "/usr/lib/python3.11/site-packages/pulpcore/plugin/stages/declarative_version.py", line 161, in create\n" +
" loop.run_until_complete(pipeline)\n" +
" File "/usr/lib64/python3.11/asyncio/base_events.py", line 653, in run_until_complete\n" +
" return future.result()\n" +
" ^^^^^^^^^^^^^^^\n" +
" File "/usr/lib/python3.11/site-packages/pulpcore/plugin/stages/api.py", line 220, in create_pipeline\n" +
" await asyncio.gather(*futures)\n" +
" File "/usr/lib/python3.11/site-packages/pulpcore/plugin/stages/api.py", line 41, in call\n" +
" await self.run()\n" +
" File "/usr/lib/python3.11/site-packages/asgiref/sync.py", line 486, in thread_handler\n" +
" raise exc_info[1]\n" +
" File "/usr/lib/python3.11/site-packages/pulpcore/plugin/stages/artifact_stages.py", line 186, in run\n" +
" pb.done += task.result() # download_count\n" +
" ^^^^^^^^^^^^^\n" +
" File "/usr/lib/python3.11/site-packages/pulpcore/plugin/stages/artifact_stages.py", line 241, in _handle_content_unit\n" +
" await asyncio.gather(*downloaders_for_content)\n" +
" File "/usr/lib/python3.11/site-packages/pulpcore/plugin/stages/models.py", line 119, in download\n" +
" raise e\n" +
" File "/usr/lib/python3.11/site-packages/pulpcore/plugin/stages/models.py", line 111, in download\n" +
" download_result = await downloader.run(extra_data=self.extra_data)\n" +
" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n" +
" File "/usr/lib/python3.11/site-packages/pulpcore/download/http.py", line 269, in run\n" +
" return await download_wrapper()\n" +
" ^^^^^^^^^^^^^^^^^^^^^^^^\n" +
" File "/usr/lib/python3.11/site-packages/backoff/_async.py", line 151, in retry\n" +
" ret = await target(*args, **kwargs)\n" +
" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n" +
" File "/usr/lib/python3.11/site-packages/pulpcore/download/http.py", line 256, in download_wrapper\n" +
" raise TimeoutException(self.url)\n",
“description”=>
“Request timed out for http://pk.archive.ubuntu.com/ubuntu/pool/main/f/firefox/firefox-dbg_123.0%2Bbuild3-0ubuntu0.20.04.1_amd64.deb. Increasing the total_timeout value on the remote might help.”},
“worker”=>“/pulp/api/v3/workers/0191118e-a4b9-77a9-b993-371ddefd0318/”,
“child_tasks”=>,
“progress_reports”=>
[{“message”=>“Downloading Artifacts”,
“code”=>“sync.downloading.artifacts”,
“state”=>“failed”,
“done”=>1110},
{“message”=>“Update ReleaseFile units”,
“code”=>“update.release_file”,
“state”=>“canceled”,
“done”=>1},
{“message”=>“Update PackageIndex units”,
“code”=>“update.packageindex”,
“state”=>“canceled”,
“done”=>1},
{“message”=>“Associating Content”,
“code”=>“associating.content”,
“state”=>“canceled”,
“done”=>10501}],
“created_resources”=>,
“reserved_resources_record”=>
[“/pulp/api/v3/repositories/deb/apt/019107d4-2c57-7f64-ab9e-56ce4d990344/”,
“shared:/pulp/api/v3/remotes/deb/apt/019107d4-2abb-7e72-a6d1-286378d05419/”,
“shared:/pulp/api/v3/domains/0190fe90-f2bf-792c-ba4e-1a60bf904a50/”]}],
“create_version”=>true,
“task_groups”=>,
“poll_attempts”=>{“total”=>966, “failed”=>1}}

Exception:

Katello::Errors::Pulp3Error: Request timed out for http://pk.archive.ubuntu.com/ubuntu/pool/main/f/firefox/firefox-dbg_123.0%2Bbuild3-0ubuntu0.20.04.1_amd64.deb. Increasing the total_timeout value on the remote might help.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.