Issue #1418
pulp-admin tasks list [--all] includes group tasks
Description
When content applicability regeneration tasks are run (or any other tasks belonging to a task group), it is possible to have a lot of tasks running in the system. To avoid flooding the user with too much information when querying for tasks, it was decided to not include the group tasks in that list. The TaskCollectionView already excludes these tasks [0], but the TaskSearchView does not. The TaskSearchView is the one being used by "pulp-admin tasks list" command.
Recommended fix would be to add search criteria on the pulp-admin side that would tell the search API to exclude tasks where group_id is not None.
[0] https://github.com/pulp/pulp/blob/master/server/pulp/server/webservices/views/tasks.py#L71-L73
Associated revisions
Revision d7b50e62
View on GitHub
Adds a filter to the search query used by pulp-admin to query for tasks
History
#1
Updated by dkliban@redhat.com about 5 years ago
- Description updated (diff)
#2
Updated by mhrivnak about 5 years ago
- Priority changed from Normal to High
- Triaged changed from No to Yes
- Tags Easy Fix added
#3
Updated by dkliban@redhat.com about 5 years ago
- Status changed from NEW to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp|d7b50e6274098bb382da5b3de2871de03ebb1e7b.
#4
Updated by amacdona@redhat.com about 5 years ago
- Assignee set to dkliban@redhat.com
#5
Updated by dkliban@redhat.com almost 5 years ago
- Status changed from MODIFIED to 5
#6
Updated by dkliban@redhat.com almost 5 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
#7
Updated by bmbouter almost 2 years ago
- Tags Pulp 2 added
Please register to edit this issue
Adds a filter to the search query used by pulp-admin to query for tasks
https://pulp.plan.io/issues/1418 closes #1418