Ask Your Question

Has "openstack stack update" command additional option to update multiple VMs consistently? or should use another way to update stack VMs consistently?

asked 2019-11-20 06:49:48 -0500

fcrk gravatar image

updated 2019-12-02 16:01:06 -0500

zaneb gravatar image


I need to update VMs s consistently during update stack process.

edit retag flag offensive close merge delete


The command updates a stack. If that stack contains several VMs, and the updated template contains changes for several VMs, the command updates multiple VMs.

I don't know what you mean by "consistently".

Bernd Bausch gravatar imageBernd Bausch ( 2019-11-20 09:08:18 -0500 )edit

I mean one by one. As I understand, when stack is being updated, all VMs of stack are updated in parallel( at the same tame). And ,y question , can we configure this process can we update them in turn.

fcrk gravatar imagefcrk ( 2019-11-20 12:56:06 -0500 )edit

I don't think that you can impose a certain update sequence on your stack. Suggestion: Write a specific question with details about your template and the kind of update you are doing. One of the Heat core developers is active here and is certain to pick it up eventually.

Bernd Bausch gravatar imageBernd Bausch ( 2019-11-20 23:45:26 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2019-12-02 16:13:07 -0500

zaneb gravatar image

In general, stacks are updated in parallel (i.e. each resource is updated as soon as possible given the dependency graph between them). You can serialise updates by making each resource depend on the previous one.

However, Heat also includes several resource types that internally generate a nested stack. These resources are able to customise how they generate changes to the nested stack template, and thus can be instructed to do rolling updates with a user-configurable batch size:

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-11-20 06:49:48 -0500

Seen: 173 times

Last updated: Dec 02 '19