Autoscaling max limit is capped by length of resource.nova_instance column

Bug #1189278 reported by Steve Baker
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Christopher Armstrong

Bug Description

InstanceGroup keeps track of its instances in the resource_id as comma-delimited resource names.

Therefore, the maximum number of instances in a group is limited by the resource.nova_instance column size (255) and the length of the resource name.

References to instances would be better stored in the InstanceGroup metadata rather than the resource_id. Also storing the reference as the instance FnGetRefId would provide more transparency outside heat as to which instances belongs in the group

Changed in heat:
milestone: havana-2 → havana-3
importance: Undecided → High
milestone: havana-3 → havana-2
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/32350

Changed in heat:
status: Confirmed → In Progress
Changed in heat:
status: In Progress → Confirmed
Steven Hardy (shardy)
Changed in heat:
milestone: havana-2 → havana-3
Revision history for this message
Christopher Armstrong (radix) wrote :

The idea of making InstanceGroup be a nested stack might make this problem easier to solve: https://blueprints.launchpad.net/heat/+spec/instance-group-nested-stack

Changed in heat:
assignee: Steve Baker (steve-stevebaker) → Christopher Armstrong (radix)
Changed in heat:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/38571
Committed: http://github.com/openstack/heat/commit/c6e82c4a38d04ce257a1e10fada34f89c04d527f
Submitter: Jenkins
Branch: master

commit c6e82c4a38d04ce257a1e10fada34f89c04d527f
Author: Christopher Armstrong <email address hidden>
Date: Mon Jul 22 16:35:13 2013 -0500

    Refactor InstanceGroup to use a nested stack

    Much of the code of InstanceGroup was able to be deleted in
    preference for using the native functionality of StackResource.
    InstanceGroup now generates a template and updates the nested
    stack when it needs to be created or resized.

    blueprint instance-group-nested-stack

    Fixes bug 1189278

    Change-Id: Ic08a55cad1ac34d69080c0ef2dae4877f1fefd29

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: havana-3 → 2013.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers