Project

Profile

Help

Issue #553

closed

Remove TaskStatus.queue attribute from API

Added by bmbouter about 9 years ago. Updated almost 4 years ago.

Status:
CLOSED - WONTFIX
Priority:
High
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
Master
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

revert the injection of the queue attribute

At one point the queue name was recorded in the TaskStatus attribute 'queue', which as part of 2.5.1 was renamed to 'worker_name' and now holds the worker name instead. For backwards compatibility the API of 2.5.1 introduced the 'worker_name' attribute, but copies the value of 'worker_name' to 'queue' as the task being looked up is serialized.

The 'queue' field injection should be removed with 3.0.0, and attached is a revert patch that will remove the injection of the queue attribute.

Also, a deprecation note needs to be added to the release notes for 3.0.0 that the 'queue' field is deprecated with 3.0.0.

+ This bug was cloned from Bugzilla Bug #1147082 +


Files

Also available in: Atom PDF