unable to retrieve attribute (ip) for instances in OS::Heat::AutoScalingGroup

Bug #1356544 reported by whatgives
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Zane Bitter

Bug Description

Refer to https://bugs.launchpad.net/heat/+bug/1291789 for the removal of attribute from OS::Heat::AutoScalingGroup

Since InstanceList attribute is removed from OS::Heat::AutoScalingGroup, there is no way to retrieve the ip address list from the auto scaling group. Some attribute should be exposed on the AutoScalingGroup level to identify instances belonging to the scaling group

Zane Bitter (zaneb)
Changed in heat:
assignee: nobody → Zane Bitter (zaneb)
status: New → Triaged
importance: Undecided → High
milestone: none → juno-3
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/115428

Changed in heat:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/115428
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=12dc6f206cc2661e8d2dbd9c7fd48c296f2bfe4d
Submitter: Jenkins
Branch: master

commit 12dc6f206cc2661e8d2dbd9c7fd48c296f2bfe4d
Author: Zane Bitter <email address hidden>
Date: Tue Aug 19 17:45:34 2014 -0400

    Provide access to outputs from OS::Heat::AutoScalingGroup

    Allow get_attr on OS::Heat::AutoScalingGroup to return a list of
    corresponding attributes from each of the base resources. For example,

      {'get_attr': ['my_asg', 'outputs_list', 'networks', '<network_name>', 0]}

    will return a list of the first IP address assigned to each server in the
    group. This is modelled on similar functionality in the
    OS::Heat::ResourceGroup resource. Similarly:

      {'get_attr': ['my_asg', 'outputs', 'networks', '<network_name>', 0]}

    returns a mapping from resource names to the corresponding IP addresses.

    Change-Id: Ib9e830e0c54602ac456d64179e1df30f0778906d
    Closes-bug: #1356544

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: juno-3 → 2014.2
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.