Scale Up fails. Due to "ExactCapacity: 1"???

asked 2015-09-08 10:33:25 -0500

JPGrieb gravatar image

I have a AutoScalingGroup, ScalingPolicy, and an Alarm based on CPU > 50% for 10 minutes However, when I attempt to trigger the alarm, it doesn't scale up.

When I post to the ScaleUp URL, a new instance is spawned successfully.

The Scaling Group is defined as:

  scaling_group:
    type: OS::Heat::AutoScalingGroup
    properties:
      min_size: 1
      max_size: 5
      resource:
        type: app_server_template.yaml

The Scaling Policy is defined as:

  scaleup_policy:
    type: OS::Heat::ScalingPolicy
    properties:
      adjustment_type: change_in_capacity
      auto_scaling_group_id: {get_resource: scaling_group}
      cooldown: 60
      scaling_adjustment: 1

However, when I look at the ScalingPolicy meta data in the UI it is blank and the ScalingGroup meta data in the UI is set to "2015-09-08T12:59:57.189286": "ExactCapacity : 1"

edit retag flag offensive close merge delete