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
Actions #1

Updated by amacdona@redhat.com over 5 years ago

  • Sprint/Milestone set to 3.0.0
  • Triaged changed from No to Yes
Actions #2

Updated by daviddavis over 5 years ago

  • Sprint/Milestone deleted (3.0.0)
Actions #3

Updated by dalley about 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dalley
Actions #4

Updated by pulpbot about 4 years ago

  • Status changed from ASSIGNED to POST

Added by dalley about 4 years ago

Revision d38e2c6c | View on GitHub

Set ProgressReport states to canceled when task is canceled

closes: #4921 https://pulp.plan.io/issues/4921

Actions #5

Updated by dalley about 4 years ago

  • Status changed from POST to MODIFIED
Actions #6

Updated by ttereshc about 4 years ago

  • Sprint/Milestone set to 3.8.0
Actions #7

Updated by pulpbot about 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #8

Updated by dkliban@redhat.com over 3 years ago

  • Has duplicate Issue #9369: After cancelling a task, some progress reports still say "running" added

Also available in: Atom PDF