[openstack-dev] [TaskFlow] TaskFlow persistence
Joshua Harlow
harlowja at fastmail.com
Tue Jan 26 18:33:18 UTC 2016
Hi there,
Michał is correct, it should be saved.
Do u have a small example of what u are trying to do because that will
help determine if what u are doing will be saved or whether it will not be.
Or even possibly explaining what is being done would be fine to (more
data/info for me to reason about what should be stored in your case).
Thanks,
Josh
Michał Dulko wrote:
> On 01/26/2016 10:23 AM, pn kk wrote:
>> Hi,
>>
>> I use taskflow for job management and now trying to persist the state
>> of flows/tasks in mysql to recover incase of process crashes.
>>
>> I could see the state and the task results stored in the database.
>>
>> Now I am looking for some way to store the input parameters of the tasks.
>>
>> Please share your inputs to achieve this.
>>
>> -Thanks
>>
> I've played with that some time ago and if I recall correctly input
> parameters should be available in the flow's storage, which means these
> are also saved to the DB. Take a look on resume_workflows method on my
> old PoC [1] (hopefully TaskFlow haven't changed much since then).
>
> [1] https://review.openstack.org/#/c/152200/4/cinder/scheduler/manager.py
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
More information about the OpenStack-dev
mailing list