'AvailabilityZones' is required but not implemented

Bug #1307396 reported by huangtianhua
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Heat
Invalid
Medium
Unassigned

Bug Description

1. Create a stack with a AWS::AutoScaling::AutoScalingGroup resource, which required 'AvailabilityZones'. If without it, stack create will raise a error.

2. So I specify the 'AvailabilityZones' in template, and create the stack.

3. The stack create successful, but the instance is not in the 'AvailabilityZones' I specified.

4. The property 'AvailabilityZones' defined as:
     AVAILABILITY_ZONES: properties.Schema(
            properties.Schema.LIST,
            _('Not Implemented.'),
            required=True
        ),
5. I think it's a bug, as the description if we not implemented the property, we should define the 'implemented=False' and remove the defination 'required=True', as:

   AVAILABILITY_ZONES: properties.Schema(
            properties.Schema.LIST,
            _('Not Implemented.'),
            implemented=False
        ),

Changed in heat:
assignee: nobody → huangtianhua (huangtianhua)
Revision history for this message
huangtianhua (huangtianhua) wrote :

Or is it a good way?

description: updated
Revision history for this message
Lingxian Kong (kong) wrote :

also feel confused about the definition about `AVAILABILITY_ZONES` when I'm going through the code, and I didn't know the exact meaning of it within my template.

Hope you can find the appropriate implementation!

Revision history for this message
Zane Bitter (zaneb) wrote :

It's required in CloudFormation. So we should probably just implement it.

Changed in heat:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
usha veepuri (usha-veepuri) wrote :

Hi huangtianhua,

Please let me know if you are working on this bug?

Regards,
Usha.

Changed in heat:
assignee: huangtianhua (huangtianhua) → usha veepuri (usha-veepuri)
Revision history for this message
huangtianhua (huangtianhua) wrote :

@usha veepuri:
Hi,I should abandon this bug, due there is a bp of this:
https://blueprints.launchpad.net/heat/+spec/implement-autoscalinggroup-availabilityzones and you can review the patch.

Revision history for this message
Angus Salkeld (asalkeld) wrote :

Given that there is a spec and blueprint for this I am going to close this bug.

Changed in heat:
assignee: usha veepuri (usha-veepuri) → nobody
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.