Ask Your Question
0

Will created VM be destroyed?

asked 2018-05-04 04:30:55 -0500

Kuldeep Sharma gravatar image

What will happen if I have 2 VMs in heat template and one got created successfully and while creating second VM the compute capacity was less and it failed. Or due to any reason, 2nd VM creation got failed.

Will the first instance be destroyed automatically?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-11-26 14:21:08 -0500

zaneb gravatar image

updated 2018-11-26 14:21:36 -0500

If rollback is enabled in Heat (by passing the --enable-rollback flag to openstack stack create) then yes, the stack will be rolled back and the already-created resource deleted.

If rollback is disabled (the default), the stack will be left in a state where only one of the VMs is created. You can try to correct the problem and update again.

edit flag offensive delete link more

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-05-04 04:30:01 -0500

Seen: 52 times

Last updated: Nov 26 '18