Actions
Issue #2787
closedFatal exceptions from tasks not being reported by tasks API
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
Updated by dkliban@redhat.com over 7 years ago
- Tracker changed from Story to Issue
- Subject changed from Record fatal exceptions from tasks in 'error' field of Task object to Fatal exceptions from tasks not being reported by tasks API
- Description updated (diff)
- Severity set to 2. Medium
- Triaged set to No
Added by dkliban@redhat.com over 7 years ago
Added by dkliban@redhat.com over 7 years ago
Revision 12d36be1 | View on GitHub
Problem: tasks API ommits error field in response
Solution: update the serializer for Task model by renaming 'result' field to 'error'
closes #2787
Updated by dkliban@redhat.com over 7 years ago
- Status changed from NEW to MODIFIED
Applied in changeset pulp|12d36be158123e341c8411d03abc418c7a9b8482.
Updated by amacdona@redhat.com over 7 years ago
Updated by bmbouter almost 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Problem: tasks API ommits error field in response
Solution: update the serializer for Task model by renaming 'result' field to 'error'
closes #2787