[Openstack] taskflow

2015-05-25 Thread ESWAR RAO
Hi All, I am looking into taskflow userguide and examples. http://www.giantflyingsaucer.com/blog/?p=4896 Can anyone please help me how the job/job-board is related to task and flows. I understood atom is similar to a abstract interface and taskflow is an atom that has execute()/revert() methods

[Openstack] [TaskFlow] Is there any way to retrieve the `flow_uuid` in the `Task`?

2014-05-21 Thread Timon Wong
For logging purpose, I wanna log the `flow_uuid` as a context to indicate which flow the logging message related to. Currently, I just created a logging adapter, grab the `uuid` from the `flow_details`, the pass them as a constructor param like this: flow = linear_flow.Flow(flow_name) flow_detail

Re: [Openstack] [TaskFlow] Is there any way to retrieve the `flow_uuid` in the `Task`?

2014-05-22 Thread Joshua Harlow
the trick for u. If none of these work for u, feel free to jump on #openstack-state-management and we can think of other ways to do this :) -Josh [1] https://github.com/openstack/taskflow/blob/master/taskflow/storage.py#L413 [2] https://github.com/openstack/taskflow/blob/master/taskflow/task.p

Re: [Openstack] [TaskFlow] Is there any way to retrieve the `flow_uuid` in the `Task`?

2014-05-22 Thread Timon Wong
r > approach with a tasks ability to update its own status/progress[2] might > just do the trick for u. > > If none of these work for u, feel free to jump on > #openstack-state-management and we can think of other ways to do this :) > > -Josh > > [1] > https://git

Re: [Openstack] [TaskFlow] Is there any way to retrieve the `flow_uuid` in the `Task`?

2014-05-23 Thread Joshua Harlow
: Thursday, May 22, 2014 at 9:42 PM To: Joshua Harlow Cc: "openstack@lists.openstack.org" Subject: Re: [Openstack] [TaskFlow] Is there any way to retrieve the `flow_uuid` in the `Task`? >Thanks Josh, looking forward the v0.3 release :) > >So for now I should pass the flow_id to t