Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Heat template vs multiple availability zones

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? My scenario is such that I will always have a single region but there might be more than one availability zone.

Heat template vs multiple availability zones

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.