Project

Profile

Help

Issue #4921

closed

canceled tasks have progress reports in not final states

Added by dkliban@redhat.com over 5 years ago. Updated about 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
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

Has duplicate Pulp - Issue #9369: After cancelling a task, some progress reports still say "running"CLOSED - DUPLICATEActions

Also available in: Atom PDF