Ask Your Question

Can I migrate/evacuate a server that is created in a heat template?

asked 2014-06-18 10:09:56 -0500

AaronTSmith gravatar image

Scenario 1: I create a server in a heat template and specify it's placement using the availabilityZone parameter. I start to have issues within that zone and need to move the instance to a different zone. If I update the template and change the parameter to a different zone, will the server be restarted or rebuilt in the new zone. I assume that heat will just start a brand-new server from the original image.

I guess I could try and to a direct migrate call and see what happens :)

Scenario 2: The hypervisor has failed and I need to evacuate the instance... How do I evacuate the server?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-06-19 15:24:21 -0500

zaneb gravatar image

The Heat reference documentation specifies which properties trigger a replacement when changed:

In this case, availability_zone is one of those properties, so the server will be replaced and the original deleted if you change that property.

As far as evacuation is concerned, there is nothing to stop you from performing normal Nova operations on a server created via Heat. As long as the server retains the same uuid, an evacuation shouldn't cause any subsequent problems in Heat for the user.

edit flag offensive delete link more


Thank you. I found the "replacement" documentation for the calls. I was about to test what would happen with an evacuate. I was hoping for the outcome that you stated. I wonder if sometime in the future, HEAT will progress to providing functionality similar to Puppet rather than just being used for initial provisioning.

Thank you.

AaronTSmith gravatar imageAaronTSmith ( 2014-06-19 16:18:45 -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


Asked: 2014-06-18 10:09:56 -0500

Seen: 589 times

Last updated: Jun 19 '14