[Openstack] Heat stack instance health checks

Aaron Knister aaron.knister at gmail.com
Mon Jun 9 15:15:19 UTC 2014


Hi Everyone,

I instantiated a stack within Heat that contains a simple launch
configuration and autoscaling group (template listed below). The stack came
up and the instance started, however when I killed the instance (nova
delete XXX) it wasn't restarted...on AWS if a CloudFormation instance gets
killed it seems to be restarted. This is without me defining any health
monitors. How can I achieve the same behavior with OpenStack?

Thanks!

-Aaron

{
  "AWSTemplateFormatVersion" : "2010-09-09",

  "Resources" : {
    "SimpleConfig": {
        "Type": "AWS::AutoScaling::LaunchConfiguration",
        "Properties": {
            "ImageId": "804b7e07-7e15-4c45-93d5-6bed194c484a",
            "SecurityGroups": [ "PantsDown" ],
            "InstanceType": "m1.small"
        }
    },
    "MyServerGroup": {
        "Type": "AWS::AutoScaling::AutoScalingGroup",
        "Properties": {
            "VPCZoneIdentifier" : ["2b8be0fa-330d-4ba5-86f7-76b9e71c6a72"],
            "AvailabilityZones" : ["nova"],
            "DesiredCapacity" : 1,
            "LaunchConfigurationName": {
                "Ref": "SimpleConfig"
            },
            "MinSize": "1",
            "MaxSize": "3"
        }
    }
  }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140609/0a2e2dfb/attachment.html>


More information about the Openstack mailing list