Awesome! Thank you Mike! Is there any way to programmatically determine if a given stack resource contains nested stacks? I guess the simplest thing to do is to query a given stack resource as it's own stack and see what comes back.
Sent from my iPhone > On Jun 10, 2014, at 7:34 PM, Mike Spreitzer <[email protected]> wrote: > > Aaron Knister <[email protected]> wrote on 06/10/2014 02:40:09 PM: > > > I'm trying to figure out how to determine all instances that were > > created as part of a given autoscaling group. I want to take a given > > autoscaling group and list all of its instances. So far I can't > > figure out how to do this. The instances themselves have a tag > > called "AutoScalingGroupName" (mystack-MyServerGroup-f3r72ifsj2jq > > for example) but the value of that doesn't seem to map to anything. > > A resource-show on the autoscaling group doesn't seem to show any > > identifier that maps to the autoscaling group name. > > > Any ideas on how I can do this? > > 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, > > heat resource-list ${name or UUID of the nested stack} > > That will give you a disappointing listing. You can get a little more info > about a given member by > > heat resource-show ${name or UUID of the nested stack} ${member name} > > 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. > > Regards, > Mike
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
