Re: [openstack-dev] [Mistral][TaskFlow] Long running actions

2014-04-01 Thread Joshua Harlow
stack.org>> Date: Tuesday, April 1, 2014 at 2:59 PM To: "OpenStack Development Mailing List (not for usage questions)" mailto:openstack-dev@lists.openstack.org>> Subject: Re: [openstack-dev] [Mistral][TaskFlow] Long running actions On Apr 1, 2014, at 3:43 AM, Renat Akh

Re: [openstack-dev] [Mistral][TaskFlow] Long running actions

2014-04-01 Thread Renat Akhmerov
usage questions)" > > Subject: Re: [openstack-dev] [Mistral][TaskFlow] Long running actions > >> >> On Apr 1, 2014, at 3:43 AM, Renat Akhmerov wrote: >>> On 25 Mar 2014, at 01:51, Joshua Harlow wrote: >>> >>>> The first execution model I

Re: [openstack-dev] [Mistral][TaskFlow] Long running actions

2014-04-01 Thread Joshua Harlow
st (not for usage questions)" mailto:openstack-dev@lists.openstack.org>> Subject: Re: [openstack-dev] [Mistral][TaskFlow] Long running actions On Apr 1, 2014, at 3:43 AM, Renat Akhmerov mailto:rakhme...@mirantis.com>> wrote: On 25 Mar 2014, at 01:51, Joshua Harlow mailto:harlo...@yahoo-i

Re: [openstack-dev] [Mistral][TaskFlow] Long running actions

2014-04-01 Thread Joshua Harlow
st (not for usage questions)" mailto:openstack-dev@lists.openstack.org>> Subject: Re: [openstack-dev] [Mistral][TaskFlow] Long running actions On 25 Mar 2014, at 01:51, Joshua Harlow mailto:harlo...@yahoo-inc.com>> wrote: The first execution model I would call the local execution m

Re: [openstack-dev] [Mistral][TaskFlow] Long running actions

2014-04-01 Thread Dmitri Zimine
On Apr 1, 2014, at 3:43 AM, Renat Akhmerov wrote: > On 25 Mar 2014, at 01:51, Joshua Harlow wrote: > >> The first execution model I would call the local execution model, this model >> involves forming tasks and flows and then executing them inside an >> application, that application is runnin

Re: [openstack-dev] [Mistral][TaskFlow] Long running actions

2014-04-01 Thread Renat Akhmerov
On 25 Mar 2014, at 01:51, Joshua Harlow wrote: > The first execution model I would call the local execution model, this model > involves forming tasks and flows and then executing them inside an > application, that application is running for the duration of the workflow > (although if it cras

Re: [openstack-dev] [Mistral][TaskFlow] Long running actions

2014-03-26 Thread Joshua Harlow
above, I don't know, but thats why it's a POC. -Josh From: Joshua Harlow mailto:harlo...@yahoo-inc.com>> Date: Friday, March 21, 2014 at 1:14 PM To: "OpenStack Development Mailing List (not for usage questions)" mailto:openstack-dev@lists.openstack.org>> Cc: &qu

Re: [openstack-dev] [Mistral][TaskFlow] Long running actions

2014-03-26 Thread Dmitri Zimine
or this > type of usage) and they would also be releasing the work back for others to > 'take-over' when there own zookeeper connection is lost (zookeeper handles > this this natively). > > -- > > Now as for how much of mistral would change from the above, I do

Re: [openstack-dev] [Mistral][TaskFlow] Long running actions

2014-03-25 Thread Adam Young
On 03/21/2014 12:33 AM, W Chan wrote: Can the long running task be handled by putting the target task in the workflow in a persisted state until either an event triggers it or timeout occurs? An event (human approval or trigger from an external system) sent to the transport will rejuvenate the

Re: [openstack-dev] [Mistral][TaskFlow] Long running actions

2014-03-24 Thread Joshua Harlow
14 PM To: "OpenStack Development Mailing List (not for usage questions)" mailto:openstack-dev@lists.openstack.org>> Cc: "OpenStack Development Mailing List (not for usage questions)" mailto:openstack-dev@lists.openstack.org>> Subject: Re: [openstack-dev] [Mistral][TaskF

Re: [openstack-dev] [Mistral][TaskFlow] Long running actions

2014-03-21 Thread Joshua Harlow
Will advise soon, out sick with not so fun case of poison oak, will reply next week (hopefully) when I'm less incapacitated... Sent from my really tiny device... On Mar 21, 2014, at 3:24 AM, "Renat Akhmerov" mailto:rakhme...@mirantis.com>> wrote: Valid concerns. It would be great to get Joshua

Re: [openstack-dev] [Mistral][TaskFlow] Long running actions

2014-03-21 Thread Renat Akhmerov
Valid concerns. It would be great to get Joshua involved in this discussion. If it’s possible to do in TaskFlow he could advise on how exactly. Renat Akhmerov @ Mirantis Inc. On 21 Mar 2014, at 16:23, Stan Lagun wrote: > Don't forget HA issues. Mistral can be restarted at any moment and need

Re: [openstack-dev] [Mistral][TaskFlow] Long running actions

2014-03-21 Thread Stan Lagun
Don't forget HA issues. Mistral can be restarted at any moment and need to be able to proceed from the place it was interrupted on another instance. In theory it can be addressed by TaskFlow but I'm not sure it can be done without complete redesign of it On Fri, Mar 21, 2014 at 8:33 AM, W Chan w

Re: [openstack-dev] [Mistral][TaskFlow] Long running actions

2014-03-20 Thread W Chan
Can the long running task be handled by putting the target task in the workflow in a persisted state until either an event triggers it or timeout occurs? An event (human approval or trigger from an external system) sent to the transport will rejuvenate the task. The timeout is configurable by the

[openstack-dev] [Mistral][TaskFlow] Long running actions

2014-03-20 Thread Dmitri Zimine
> For the 'asynchronous manner' discussion see http://tinyurl.com/n3v9lt8; I'm > still not sure why u would want to make is_sync/is_async a primitive concept > in a workflow system, shouldn't this be only up to the entity running the > workflow to decide? Why is a task allowed to be sync/async,