AutoScalingGroup missing VPCZoneIdentifier property

Bug #1096017 reported by Steven Hardy
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
OpenStack Heat
Grizzly
Won't Fix
Medium
Unassigned

Bug Description

Now we have the quantum-based network resources, and an implementation of AWS::EC2::VPC, we can/should implement the VPCZoneIdentifier property for AWS::AutoScaling::AutoScalingGroup

Steven Hardy (shardy)
Changed in heat:
status: New → Triaged
importance: Undecided → Medium
Steven Dake (sdake)
Changed in heat:
milestone: none → grizzly-3
Jeff Peeler (jpeeler-z)
Changed in heat:
assignee: nobody → Jeff Peeler (jpeeler-z)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/24504

Changed in heat:
status: Triaged → In Progress
Revision history for this message
Steven Dake (sdake) wrote :

Quantum does not provide a mechanism to attach a SubNet to an AZ.

Our subnet driver:
https://github.com/openstack/heat/blob/master/heat/engine/resources/quantum/subnet.py#L30

Quantum's subnet features:
https://github.com/openstack/python-quantumclient/blob/master/quantumclient/quantum/v2_0/subnet.py#L75

As a result of missing dependency functionality, bouncing this bug to a later time when quantum provides AZ assignment of subnets.

no longer affects: heat
Revision history for this message
Jeff Peeler (jpeeler-z) wrote :
Revision history for this message
Simon Pasquier (simon-pasquier) wrote :

A partial fix for this bug has been implemented [1]. It only allows one item in the VPCZoneIdentifier list if that property is defined.

[1] https://review.openstack.org/#/c/43082/

Revision history for this message
Dave Johnston (dave-johnston) wrote :

I'm trying to understand this feature.
My use-case I want to assign multiple subnets to an instance when it is created i.e. there is a management subnet , and data subnet.

With this fix, does one subnet still get assigned to the instance, depending on the AZ? Would it be possible to attached multiple subnets to an instance within the same AZ

Revision history for this message
huangtianhua (huangtianhua) wrote :

I believe we should and can assign subnets to the instances in asg, as AWS::EC2::Instance does.
I will propose a patch to support assign subnets to the instance in asg.

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.