[openstack-dev] [TaskFlow] Cross-run persistence

Joshua Harlow harlowja at outlook.com
Mon Aug 10 20:18:55 UTC 2015


Hmmm,

I'm pretty sure what u want exists,

For example:

https://github.com/openstack/taskflow/blob/master/taskflow/examples/persistence_example.py

That uses sqlite (or a file) to store information,

U just have to decide what backend is best for u,

Is that what u are looking for? (or possibly something else?),

-Josh

Demian Brecht wrote:
> Hi all,
>
> As I understand it, the persistence and related backends are intended to store atom and flow state. This will only persist until the end of an entirely successful run (unless explicitly configured to not purge for auditing and other such reasons). My question is: Is there a way to configure storage to persist data across runs? My specific use case: I’ve defined an authentication task. The auth server allows for ticket-based auth, which means the user (optionally) wouldn’t have to log in on every run if storage could be configured to persist the given token across runs.
>
> Did I miss something in the docs about this use case or should I be looking at something like oslo.cache to solve this problem?
>
> Thanks,
> Demian
>
> __________________________________________________________________________
> 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