Ask Your Question
0

How to find what the AutoScalingGroup min_size and max_size are set to?

asked 2015-02-02 12:37:06 -0500

Jet gravatar image

Once I have a Stack created with an AutoScalingGroup how do inspect that resource to find out what the min_size and max_size where set to? It doesn't seem to be a property on it i.e.

+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
| Property               | Value                                                                                                                                               |
+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
| description            |                                                                                                                                                     |
| links                  | http://ip.ad.d.ress:8004/v1/e6687df0f8be41749aa6c6431d05cb6f/stacks/CLUSTERjettest9/aac42483-d498-4c3f-816e-08dd5ecbb3c0/resources/asg (self)      |
|                        | http://ip.ad.d.ress:8004/v1/e6687df0f8be41749aa6c6431d05cb6f/stacks/CLUSTERjettest9/aac42483-d498-4c3f-816e-08dd5ecbb3c0 (stack)                   |
|                        | http://ip.ad.d.ress:8004/v1/e6687df0f8be41749aa6c6431d05cb6f/stacks/CLUSTERjettest9-asg-tr4mxvndagcq/3b7740dc-fdba-4541-a6d6-491361460400 (nested) |
| logical_resource_id    | asg                                                                                                                                                 |
| physical_resource_id   | 3b7740dc-fdba-4541-a6d6-491361460400                                                                                                                |
| required_by            | web_server_scaleup_policy                                                                                                                           |
|                        | web_server_scaledown_policy                                                                                                                         |
| resource_name          | asg                                                                                                                                                 |
| resource_status        | CREATE_COMPLETE                                                                                                                                     |
| resource_status_reason | state changed                                                                                                                                       |
| resource_type          | OS::Heat::AutoScalingGroup                                                                                                                          |
| updated_time           | 2015-01-30T20:35:03Z                                                                                                                                |
+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-02-15 08:14:07 -0500

Qiming gravatar image

min_size and max_size are properties for ASG, not attributes. That's the reason why you cannot see them in a resource-show. A workaround is to use template-show command where you can check the template used for your stack.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-02-02 12:37:06 -0500

Seen: 75 times

Last updated: Feb 15 '15