[openstack-dev] [Heat] Convergence: Backing up template instead of stack

Angus Salkeld asalkeld at mirantis.com
Tue Sep 23 03:15:43 UTC 2014


On Tue, Sep 23, 2014 at 1:09 AM, Anant Patil <anant.patil at hp.com> wrote:

> Hi,
>
> One of the steps in the direction of convergence is to enable Heat
> engine to handle concurrent stack operations. The main convergence spec
> talks about it. Resource versioning would be needed to handle concurrent
> stack operations.
>
> As of now, while updating a stack, a backup stack is created with a new
> ID and only one update runs at a time. If we keep the raw_template
> linked to it's previous completed template, i.e. have a back up of
> template instead of stack, we avoid having backup of stack.
>
> Since there won't be a backup stack and only one stack_id to be dealt
> with, resources and their versions can be queried for a stack with that
> single ID. The idea is to identify resources for a stack by using stack
> id and version. Please let me know your thoughts.
>

Hi Anant,

This seems more complex than it needs to be.

I could be wrong, but I thought the aim was to simply update the goal state.
The backup stack is just the last working stack. So if you update and there
is already an update you don't need to touch the backup stack.

Anyone else that was at the meetup want to fill us in?

-Angus


>
> - Anant
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140923/4cbc765b/attachment.html>


More information about the OpenStack-dev mailing list