Actions
Issue #4921
closedcanceled tasks have progress reports in not final states
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
"progress_reports": [
{
"done": 0,
"message": "Associating Content",
"state": "running",
"suffix": null,
"task": "/pulp/api/v3/tasks/30932ccd-e03e-489c-a053-d5cbf7a5cb7c/",
"total": null
},
{
"done": 765,
"message": "Parsed Packages",
"state": "running",
"suffix": null,
"task": "/pulp/api/v3/tasks/30932ccd-e03e-489c-a053-d5cbf7a5cb7c/",
"total": 10019
},
{
"done": 0,
"message": "Parsed Erratum",
"state": "waiting",
"suffix": null,
"task": "/pulp/api/v3/tasks/30932ccd-e03e-489c-a053-d5cbf7a5cb7c/",
"total": null
},
{
"done": 0,
"message": "Downloading Artifacts",
"state": "running",
"suffix": null,
"task": "/pulp/api/v3/tasks/30932ccd-e03e-489c-a053-d5cbf7a5cb7c/",
"total": null
},
{
"done": 4,
"message": "Downloading Metadata Files",
"state": "running",
"suffix": null,
"task": "/pulp/api/v3/tasks/30932ccd-e03e-489c-a053-d5cbf7a5cb7c/",
"total": null
}
],
"spawned_tasks": [],
"started_at": "2019-06-05T17:17:06.381932Z",
"state": "canceled",
"worker": "/pulp/api/v3/workers/48e13e34-ca35-4f4d-9142-23bef4a8950d/"
Task cancelation should update any non-complete progress reports to a 'canceled' state.
Related issues
Actions
Set ProgressReport states to canceled when task is canceled
closes: #4921 https://pulp.plan.io/issues/4921