Cannot use default AZ with volume
Bug #1207416 reported by
Zane Bitter
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Undecided
|
Zane Bitter |
Bug Description
The AvailabilityZone property of as AWS::EBS::Volume resource is required. The correct way to supply it is almost invariably by doing:
{"Fn::GetAtt": ["MyInstance", "AvailabilityZo
for the AWS::EC2::Instance it needs to be attached to. The AvailabilityZone attribute of the instance is obtained from the AvailabilityZone property, which is *optional*.
In the case where the AvailabilityZone of the Instance is not specified, we should pass None as the availability_zone value to Cinder to force it to use the default. Instead we are passing an empty string ('').
tags: | added: grizzly-backport-potential |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | havana-3 → 2013.2 |
tags: | removed: grizzly-backport-potential |
no longer affects: | heat/grizzly |
To post a comment you must log in.
The ideal fix here would be to actually return the name of the default AZ from Instance. FnGetAtt( 'AvailabilityZo ne') even when it is not explicitly supplied as a property.