We’re running pulpcore 3.91.1 with pulp_deb. After a previous sync failed, I attempted to re-run the sync for the same repository. The new sync task remains in the “waiting” state indefinitely and never starts.
Below are the details and outputs.
Task Details
pulp task show --href /pulp/api/v3/tasks/019a0265-3074-7b7f-b506-e56ed64214b2/
{
"pulp_href": "/pulp/api/v3/tasks/019a0265-3074-7b7f-b506-e56ed64214b2/",
"prn": "prn:core.task:019a0265-3074-7b7f-b506-e56ed64214b2",
"pulp_created": "2025-10-20T16:12:57.355435Z",
"pulp_last_updated": "2025-10-20T16:12:57.332529Z",
"state": "waiting",
"name": "pulp_deb.app.tasks.synchronizing.synchronize",
"logging_cid": "00fd78f43c194620a5cbc7d3e5a73f2c",
"created_by": "/pulp/api/v3/users/1/",
"unblocked_at": null,
"started_at": null,
"finished_at": null,
"error": null,
"worker": null,
"parent_task": null,
"child_tasks": [],
"task_group": null,
"progress_reports": [],
"created_resources": [],
"reserved_resources_record": [
"prn:deb.aptrepository:01993aa7-8c75-7d4b-a862-c11f07825bad",
"shared:prn:deb.aptremote:01994e63-f295-7d00-9ab4-e0ecf9febddd",
"shared:prn:core.domain:b25fd239-cd6b-40d2-b560-81d943bf383d"
],
"result": null
}
The task has no assigned worker and has not made any progress.
Worker List
pulp worker list
[
{
"pulp_href": "/pulp/api/v3/workers/0199fe46-beb2-7a03-8cd1-3539bbc874ac/",
"prn": "prn:core.appstatus:0199fe46-beb2-7a03-8cd1-3539bbc874ac",
"pulp_created": "2025-10-19T21:01:13.269436Z",
"pulp_last_updated": "2025-10-19T21:01:13.269456Z",
"name": "1@pulp-worker.10",
"last_heartbeat": "2025-10-20T16:12:11.370274Z",
"versions": {
"deb": "3.7.0",
"rpm": "3.32.2",
"core": "3.91.1",
"file": "3.91.1",
"ostree": "2.5.0",
"certguard": "3.91.1"
},
"current_task": null
},
{
"pulp_href": "/pulp/api/v3/workers/0199fe46-bdef-7bac-b9a9-2d66297777c1/",
"prn": "prn:core.appstatus:0199fe46-bdef-7bac-b9a9-2d66297777c1",
"pulp_created": "2025-10-19T21:01:13.073654Z",
"pulp_last_updated": "2025-10-19T21:01:13.073672Z",
"name": "1@5bdfa03b71a6",
"last_heartbeat": "2025-10-20T16:12:11.623642Z",
"versions": {
"deb": "3.7.0",
"rpm": "3.32.2",
"core": "3.91.1",
"file": "3.91.1",
"ostree": "2.5.0",
"certguard": "3.91.1"
},
"current_task": null
},
{
"pulp_href": "/pulp/api/v3/workers/0199fe46-bccc-771b-b6d1-e0851627b35c/",
"prn": "prn:core.appstatus:0199fe46-bccc-771b-b6d1-e0851627b35c",
"pulp_created": "2025-10-19T21:01:12.782893Z",
"pulp_last_updated": "2025-10-19T21:01:12.782912Z",
"name": "1@pulp-worker.1",
"last_heartbeat": "2025-10-20T16:12:11.540374Z",
"versions": {
"deb": "3.7.0",
"rpm": "3.32.2",
"core": "3.91.1",
"file": "3.91.1",
"ostree": "2.5.0",
"certguard": "3.91.1"
},
"current_task": null
}
]
Questions
- What typically causes a sync task to remain in the “waiting” state indefinitely after a previous failed task?
- Could this be due to resource locks from the failed task that were never released?
- What is the recommended way to safely clear or release those locks so the sync can be retried?
Thanks in advance for your help!