Project

Profile

Help

Issue #2787

closed

Fatal exceptions from tasks not being reported by tasks API

Added by dkliban@redhat.com over 7 years ago. Updated almost 5 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:
No
Groomed:
No
Sprint Candidate:
Yes
Tags:
Sprint:
Quarter:

Description

The Task model has an error field. It is a JSON field. After a task succeeds or fails, this field is supposed to contain a dictionary representing any fatal exception encountered during the task. If no fatal exception is encountered the field should be set to None. This happens here[0] in the code, but the API for tasks does not report an 'error' field.

[0] https://github.com/pulp/pulp/blob/3.0-dev/platform/pulp/tasking/tasks.py#L322

Also available in: Atom PDF