<tt><font size=2>Aaron Knister <aaron.knister@gmail.com> wrote on
06/10/2014 02:40:09 PM:<br>
<br>
> I'm trying to figure out how to determine all instances that were
<br>
> created as part of a given autoscaling group. I want to take a given<br>
> autoscaling group and list all of its instances. So far I can't <br>
> figure out how to do this. The instances themselves have a tag <br>
> called "AutoScalingGroupName" (mystack-MyServerGroup-f3r72ifsj2jq
<br>
> for example) but the value of that doesn't seem to map to anything.
<br>
> A resource-show on the autoscaling group doesn't seem to show any
<br>
> identifier that maps to the autoscaling group name. <br>
</font></tt>
<br><tt><font size=2>> Any ideas on how I can do this?<br>
</font></tt>
<br><tt><font size=2>Each of the four kinds of scaling group (InstanceGroup,
ResourceGroup, and both AutoScalingGroups) is a nested stack. List
its members the same way you would list the members of any nested stack.
E.g., on the CLI,</font></tt>
<br>
<br><tt><font size=2>heat resource-list ${name or UUID of the nested stack}</font></tt>
<br>
<br><tt><font size=2>That will give you a disappointing listing. You
can get a little more info about a given member by</font></tt>
<br>
<br><tt><font size=2>heat resource-show ${name or UUID of the nested stack}
${member name}</font></tt>
<br>
<br><tt><font size=2>That will still be disappointing. But it will
include the "physical ID" --- which is the UUID, and you already
know how to get what you want from that.</font></tt>
<br>
<br><tt><font size=2>Regards,</font></tt>
<br><tt><font size=2>Mike</font></tt>