Hello @mikch06 , thank you very much for sharing your experience.
For me,
First I tried Podman+as root + on rocky9, it was because I was lazy to add subuid/gid, and net.ipv4.ip_unprivileged_port_start.conf, => but rpm repo sync stucked in running state forever
2nd I tried Podman+rootless+Rocky9+ subgid/uid+ ip_unprivileged_port_start.conf => rpm repo sync OK
3rd: I tried docker, because we use Puppet and mainly docker here, so I would like to take advantage of the existing things, while docker + root or not root + rocky8 => rpm repo sync stucked
I have tried pulp debug mode and also reading container logs , but not much more information to tell why the task is stay running and never finished.
Here are some details on the docker container and pulp debug logs, if you are interested to have a look:
Summary
[xxx@xxxxx ~]$ docker logs -f pulp
pulp [18ce01c225a04a9db773fdbe1fc372b8]: pulpcore.tasking.tasks:INFO: Starting task 018c2560-d94d-7d17-a7fe-2bd9dce6c6a4
pulp [18ce01c225a04a9db773fdbe1fc372b8]: pulp_rpm.app.tasks.synchronizing:INFO: Synchronizing: repository=rocky9_extras remote=rocky9_extras_remote
(‘pulp [18ce01c225a04a9db773fdbe1fc372b8]: ::ffff:127.0.0.1 - admin [01/Dec/2023:12:35:53 +0000] “GET /pulp/api/v3/tasks/018c2560-d94d-7d17-a7fe-2bd9dce6c6a4/ HTTP/1.0” 200 767 “-” “Pulp-CLI/0.21.2”’,)
(‘pulp [18ce01c225a04a9db773fdbe1fc372b8]: ::ffff:127.0.0.1 - admin [01/Dec/2023:12:35:55 +0000] “GET /pulp/api/v3/tasks/018c2560-d94d-7d17-a7fe-2bd9dce6c6a4/ HTTP/1.0” 200 767 “-” “Pulp-CLI/0.21.2”’,)
(‘pulp [18ce01c225a04a9db773fdbe1fc372b8]: ::ffff:127.0.0.1 - admin [01/Dec/2023:12:35:56 +0000] “GET /pulp/api/v3/tasks/018c2560-d94d-7d17-a7fe-2bd9dce6c6a4/ HTTP/1.0” 200 767 “-” “Pulp-CLI/0.21.2”’,)
(‘pulp [18ce01c225a04a9db773fdbe1fc372b8]: ::ffff:127.0.0.1 - admin [01/Dec/2023:12:35:58 +0000] “GET /pulp/api/v3/tasks/018c2560-d94d-7d17-a7fe-2bd9dce6c6a4/ HTTP/1.0” 200 767 “-” “Pulp-CLI/0.21.2”’,)
(‘pulp [18ce01c225a04a9db773fdbe1fc372b8]: ::ffff:127.0.0.1 - admin [01/Dec/2023:12:35:59 +0000] “GET /pulp/api/v3/tasks/018c2560-d94d-7d17-a7fe-2bd9dce6c6a4/ HTTP/1.0” 200 767 “-” “Pulp-CLI/0.21.2”’,)
(‘pulp [18ce01c225a04a9db773fdbe1fc372b8]: ::ffff:127.0.0.1 - admin [01/Dec/2023:12:36:01 +0000] “GET /pulp/api/v3/tasks/018c2560-d94d-7d17-a7fe-2bd9dce6c6a4/ HTTP/1.0” 200 767 “-” “Pulp-CLI/0.21.2”’,)
(‘pulp [18ce01c225a04a9db773fdbe1fc372b8]: ::ffff:127.0.0.1 - admin [01/Dec/2023:12:36:03 +0000] “GET /pulp/api/v3/tasks/018c2560-d94d-7d17-a7fe-2bd9dce6c6a4/ HTTP/1.0” 200 767 “-” “Pulp-CLI/0.21.2”’,)
And the pulp in debug mode:
(pulp_venv) [xxx@xxxxx ~]$ pulp -vvv --profile admin rpm repository sync --name rocky9_extras
repositories_rpm_rpm_list : get http://ccosfip00322.in2p3.fr:8080/pulp/api/v3/repositories/rpm/rpm/?name=rocky9_extras&offset=0&limit=1
User-Agent: Pulp-CLI/0.21.2
Accept-Encoding: gzip, deflate
Accept: application/json
Connection: keep-alive
Authorization: Basic YWRtaW46dGVzdA==
Response: 200
Server: nginx/1.22.1
Date: Fri, 01 Dec 2023 12:35:52 GMT
Content-Type: application/json
Content-Length: 785
Connection: keep-alive
Vary: Accept
Allow: GET, POST, HEAD, OPTIONS
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Referrer-Policy: same-origin
Cross-Origin-Opener-Policy: same-origin
Correlation-ID: 18ce01c225a04a9db773fdbe1fc372b8
Access-Control-Expose-Headers: Correlation-ID
{“count”:1,“next”:null,“previous”:null,“results”:[{“pulp_href”:"/pulp/api/v3/repositories/rpm/rpm/018c1ba1-6c6e-753e-8658-3c034b12dae5/",“pulp_created”:“2023-11-29T15:10:13.103998Z”,“versions_href”:"/pulp/api/v3/repositories/rpm/rpm/018c1ba1-6c6e-753e-8658-3c034b12dae5/versions/",“pulp_labels”:{},“latest_version_href”:"/pulp/api/v3/repositories/rpm/rpm/018c1ba1-6c6e-753e-8658-3c034b12dae5/versions/0/",“name”:“rocky9_extras”,“description”:“Repo rocky9_extras”,“retain_repo_versions”:1,“remote”:"/pulp/api/v3/remotes/rpm/rpm/018c1ba1-656f-7dc8-b833-a30113f1ebef/",“autopublish”:false,“metadata_signing_service”:null,“retain_package_versions”:0,“metadata_checksum_type”:null,“package_checksum_type”:null,“gpgcheck”:null,“repo_gpgcheck”:null,“sqlite_metadata”:false,“repo_config”:{}}]}
repositories_rpm_rpm_sync : post http://ccosfip00322.in2p3.fr:8080/pulp/api/v3/repositories/rpm/rpm/018c1ba1-6c6e-753e-8658-3c034b12dae5/sync/
User-Agent: Pulp-CLI/0.21.2
Accept-Encoding: gzip, deflate
Accept: application/json
Connection: keep-alive
Correlation-ID: 18ce01c225a04a9db773fdbe1fc372b8
Content-Length: 2
Content-Type: application/json
Authorization: Basic YWRtaW46dGVzdA==
b’{}’
Response: 202
Server: nginx/1.22.1
Date: Fri, 01 Dec 2023 12:35:53 GMT
Content-Type: application/json
Content-Length: 67
Connection: keep-alive
Vary: Accept
Allow: POST, OPTIONS
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Referrer-Policy: same-origin
Cross-Origin-Opener-Policy: same-origin
Correlation-ID: 18ce01c225a04a9db773fdbe1fc372b8
Access-Control-Expose-Headers: Correlation-ID
{“task”:"/pulp/api/v3/tasks/018c2560-d94d-7d17-a7fe-2bd9dce6c6a4/"}
tasks_read : get http://ccosfip00322.in2p3.fr:8080/pulp/api/v3/tasks/018c2560-d94d-7d17-a7fe-2bd9dce6c6a4/
User-Agent: Pulp-CLI/0.21.2
Accept-Encoding: gzip, deflate
Accept: application/json
Connection: keep-alive
Correlation-ID: 18ce01c225a04a9db773fdbe1fc372b8
Authorization: Basic YWRtaW46dGVzdA==
Response: 200
Server: nginx/1.22.1
Date: Fri, 01 Dec 2023 12:35:53 GMT
Content-Type: application/json
Content-Length: 767
Connection: keep-alive
Vary: Accept
Allow: GET, PATCH, DELETE, HEAD, OPTIONS
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Referrer-Policy: same-origin
Cross-Origin-Opener-Policy: same-origin
Correlation-ID: 18ce01c225a04a9db773fdbe1fc372b8
Access-Control-Expose-Headers: Correlation-ID
{“pulp_href”:"/pulp/api/v3/tasks/018c2560-d94d-7d17-a7fe-2bd9dce6c6a4/",“pulp_created”:“2023-12-01T12:35:53.294229Z”,“state”:“running”,“name”:“pulp_rpm.app.tasks.synchronizing.synchronize”,“logging_cid”:“18ce01c225a04a9db773fdbe1fc372b8”,“created_by”:"/pulp/api/v3/users/1/",“started_at”:“2023-12-01T12:35:53.392229Z”,“finished_at”:null,“error”:null,“worker”:"/pulp/api/v3/workers/018c1bbe-c4fe-780f-88df-8b08ee3a2ee4/",“parent_task”:null,“child_tasks”:[],“task_group”:null,“progress_reports”:[],“created_resources”:[],“reserved_resources_record”:["/pulp/api/v3/repositories/rpm/rpm/018c1ba1-6c6e-753e-8658-3c034b12dae5/",“shared:/pulp/api/v3/remotes/rpm/rpm/018c1ba1-656f-7dc8-b833-a30113f1ebef/”,“shared:/pulp/api/v3/domains/018c1b92-8e75-7aae-8e7e-ddcb1ab0ad7c/”]}
Started background task /pulp/api/v3/tasks/018c2560-d94d-7d17-a7fe-2bd9dce6c6a4/
(pulp_venv) [xxx@xxxxx ~]$ pulp task list --state running
[
{
“pulp_href”: “/pulp/api/v3/tasks/018c2560-d94d-7d17-a7fe-2bd9dce6c6a4/”,
“pulp_created”: “2023-12-01T12:35:53.294229Z”,
“state”: “running”,
“name”: “pulp_rpm.app.tasks.synchronizing.synchronize”,
“logging_cid”: “18ce01c225a04a9db773fdbe1fc372b8”,
“created_by”: “/pulp/api/v3/users/1/”,
“started_at”: “2023-12-01T12:35:53.392229Z”,
“finished_at”: null,
“error”: null,
“worker”: “/pulp/api/v3/workers/018c1bbe-c4fe-780f-88df-8b08ee3a2ee4/”,
“parent_task”: null,
“child_tasks”: [],
“task_group”: null,
“progress_reports”: [],
“created_resources”: [],
“reserved_resources_record”: [
“/pulp/api/v3/repositories/rpm/rpm/018c1ba1-6c6e-753e-8658-3c034b12dae5/”,
“shared:/pulp/api/v3/remotes/rpm/rpm/018c1ba1-656f-7dc8-b833-a30113f1ebef/”,
“shared:/pulp/api/v3/domains/018c1b92-8e75-7aae-8e7e-ddcb1ab0ad7c/”
]
}
]
I feel strange, I was hopping, using container should be more consistent, and should be working everywhere?