Return VM to the initial state using HEAT

asked 2018-09-10 09:43:11 -0600

I use Heat to create a stack of my test environment. My template contains network, several VMs, and their configuration. Sometimes I break configuration of my VM and want to heal it (return VM to initial state - rebuild with the same image and configure). I couldn't find any information on how I can do it - the most similar is image_update_policy, when I need to specify new image.

Could you please suggest a solution or provide documentation/examples? Thank you

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-09-17 16:01:12 -0600

zaneb gravatar image

You can use the snapshot and restore actions in Heat to do this.

edit flag offensive delete link more


Sorry, I can't find any information about VM snapshot actions in the Heat's Template guide and cli-reference. Anyway, it is not exactly what I was looking for, because in my practice it's sometimes impossible to store all snapshots for the all VMs and it may reduce performance

ahrechny gravatar imageahrechny ( 2018-09-18 08:34:35 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-09-10 09:35:49 -0600

Seen: 50 times

Last updated: Sep 17 '18