[Pulp-list] Tasks waiting since

Grant Byers grant.byers at gmail.com
Fri May 25 04:13:27 UTC 2018


Hi,

Is there any means to determine how long a task has been waiting since
(Pulp2)? For example, if I query the tasks endpoint, I get the following;


{u'_href': u'/pulp/api/v2/tasks/61d0eabc-5007-43e2-9646-0a1fd987efc3/',
 u'_id': {u'$oid': u'5b078c09bebdfa187befb0ae'},
 u'_ns': u'task_status',
 u'error': None,
 u'exception': None,
 u'finish_time': None,
 u'id': u'5b078c09bebdfa187befb0ae',
 u'progress_report': {},
 u'result': None,
 u'spawned_tasks': [],
 u'start_time': None,
 u'state': u'waiting',
 u'tags': [u'pulp:action:consumer_content_applicability_regeneration'],
 u'task_id': u'61d0eabc-5007-43e2-9646-0a1fd987efc3',
 u'task_type':
u'pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers',
 u'traceback': None,
 u'worker_name': None}


For monitoring purposes, I'd really like to know how long that task has
been waiting for. I see no way to get that info.


Thanks,
Grant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20180525/25a3871f/attachment.htm>


More information about the Pulp-list mailing list