Hi there!

I'll be back next week but the feature u are wanting currently doesn't exist 
(so that would be why u aren't seeing such data). If u want it then a blueprint 
or spec seems appropriate for this kind of historical information.

Sound good?

Btw, the logbook is more for state and flow persistence so that's why there 
currently isn't any job information in there.

A job history though seems very useful for this kind of analysis and a few 
others that have been brought up. Let's make it happen :)

Sent from my really tiny device...

> On Aug 5, 2014, at 3:52 AM, "Roman Klesel" <roman.kle...@gmail.com> wrote:
> 
> Hello,
> 
> I'm currently evaluating taskflow. I read through the examples and
> extracted bits and peaces to write a little app in order to see how it
> works. Right now I'm most interested in the job board and the flows.
> 
> In my code I post a Job to a jobboard, pick it up, end execute a flow
> (similar to the build_car example. Sometimes the flow completes
> sucessfully sometimes I make a task raise an exception. In the case a
> task fails the whole flow is reverted and the job is back on the board
> with state "UNCLAIMED". So it seems everything works as expected.
> 
> Now I would like to scan the jobboard and examine the jobs in order to
> see whether they have been claimed in the past, if yes, who claimed
> them, how often, when, what has happened to them, where did they fail,
> etc.
> 
> I thought the logbook is the facility to look into, but it never seems
> so have any information. No matter how often a Job has failed and also
> if it was sucessful I always get this:
> 
> print job.book.to_dict()
> 
> {'updated_at': None, 'created_at': datetime.datetime(2014, 8, 4, 8,
> 33, 31, 218007), 'meta': {}, 'name': u'romans_book', 'uuid':
> u'f5eb6f75-06d7-4f52-a72e-f85f69ba67a0'}
> 
> What am I doing wrong?
> 
> 
> Regards Roman
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to