Story #2978
closed
As a user, applicability task is visible in the task list
Description
Right now task group tasks (such as those for applicability generation) are completely invisible to pulp-admin
This makes it more difficult to tell what pulp is doing and generally causes confusion. Things that should be simple to answer become very difficult, such as:
- what are my pulp workers doing?
- why isn't my sync running?
- what is currently running on this worker?
This would greatly help to debug issues.
- Subject changed from Make task group tasks visible to Make task-group tasks visible
FWIW the fact that these tasks are related to a task group is a coincidence and not related to whether or not they appear as a "user-facing" task.
- Tracker changed from Issue to Story
- Subject changed from Make task-group tasks visible to As a user, applicability task is visible in the task list
- % Done set to 0
Easy workaround is to look into DB directly:
Number of all tasks which are running or waiting to be picked up:
$ mongo pulp_database --eval 'db.task_status.find({"state": {"$in": ["waiting","running"]}}).count()'
List of all those tasks (write to a file if there are many tasks):
$ mongo pulp_database --eval 'db.task_status.find({"state": {"$in": ["waiting","running"]}}).forEach(printjson)' > tasks_list.log
- Status changed from NEW to CLOSED - WONTFIX
Pulp 2 is in maintenance mode, only very high prio items are being fixed/implemented.
There is a relatively simple workaround, see comment 5.
We are removing the 'API' category per open floor discussion June 16, 2020.
Also available in: Atom
PDF