Ask Your Question
0

Return VM to the initial state using HEAT

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

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
0

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

zaneb gravatar image

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

edit flag offensive delete link more

Comments

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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 16 times

Last updated: Sep 17 '18