Story #941
Updated by bmbouter about 9 years ago
As a maintainer of a large pulp repository, I need to be able to monitor what tasks are Running, Waiting, Failed, etc. I think this could be accomplished using a specific resource. state filter on tasks list: pulp-admin tasks list --state= Running Conceptually, additional filters could be added on other fields as well: pulp-admin tasks list --waiting=<repo-name> And then you want to know what task is using that resource: <pre> pulp-admin tasks list --using=<repo-name> </pre> Make sure you can use --using at I note that tasks list currently (pulp 2.5.1) fails to mention the same time as --state provided by #851. resources that a task is using (the field is printed, but I have never seen anything in it). The only way to perform this kind of filtering at the moment is to use Perl multi-line regular expressions to extract the relevant entries from the tasks list --details output [0], which is really awkward. [0] [[https://www.redhat.com/archives/pulp-list/2015-May/msg00001.html]]