Ask Your Question
0

Heat template vs multiple availability zones

asked 2015-11-18 03:47:30 -0500

pradeep gravatar image

updated 2015-11-18 04:41:48 -0500

Hi,

I am new to openstack and I have a basic question. I am deploying an instance with no availability zone specified. It works successful. I am wondering what will happen if I use the same heat template when more than one availability zones are present in the region. Unfortunately I cannot create such environment right now. Here is my template

heat_template_version: 2013-05-23
description: Simple template to deploy a single compute instance

resources:
my_instance:
type: OS::Nova::Server   
properties:  
image: cirros-0.3.3-x86_64    
flavor: m1.tiny

What will happen if I use the same template when there are more than one availability zones present in the region? Will the heat engine pick anyone by default or will the deploy fail? Will the default_availability_zone specified in nova.conf used?

My scenario is such that I will always have a single region but there might be more than one availability zone.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-02-01 11:41:41 -0500

zaneb gravatar image

If you don't specify an availability zone to Heat then Heat doesn't specify one to Nova. So the result is that the server will get created in the default_availability_zone.

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: 2015-11-18 03:47:30 -0500

Seen: 983 times

Last updated: Feb 01 '16