Heat AutoSaling : problem to add network
Hello team,
I am working on autoscaling with heat teamplate.
When I was launching a stack I got below error:
==> heat-engine.log <==
2014-03-19 05:17:24.854 947 TRACE heat.engine.
2014-03-19 05:17:24.854 947 TRACE heat.engine.
2014-03-19 05:17:24.854 947 TRACE heat.engine.
2014-03-19 05:17:24.854 947 TRACE heat.engine.
2014-03-19 05:17:24.854 947 TRACE heat.engine.
2014-03-19 05:17:24.854 947 TRACE heat.engine.
2014-03-19 05:17:24.854 947 TRACE heat.engine.
2014-03-19 05:17:24.854 947 TRACE heat.engine.
2014-03-19 05:17:24.854 947 TRACE heat.engine.
2014-03-19 05:17:24.885 947 WARNING heat.engine.service [-] Stack create failed, status FAILED
so please let me know where I need to add network details.. is it in LaunchConfig? ibefore that I declared it in parametes section , but its shows Invalid template. Please suggest me
Below is my modified template
=======
HeatTemplateFor
Description: |
Template which tests autoscaling
Parameters:
KeyName:
Type: String
Default: heat_key
InstanceType:
Type: String
Default: m1.small
ImageId:
Type: String
Default: F17-x86_64-cfntools
Resources:
ServerGroup:
Type: AWS::AutoScalin
Properties:
Availabil
LaunchCon
MinSize: "1"
MaxSize: "3"
Tags:
- {Key: metering.
ServerScaleUp
Type: AWS::AutoScalin
Properties:
Adjustmen
AutoScali
Cooldown: "60"
ScalingAd
ServerScaleDo
Type: AWS::AutoScalin
Properties:
Adjustmen
AutoScali
Cooldown: "60"
ScalingAd
CPUAlarmHigh:
Type: OS::Ceilometer:
Properties:
description: Scale-up if the average CPU > 50% for 1 minute
meter_name: cpu_util
statistic: avg
period: "60"
evaluatio
threshold: "60"
alarm_
- {"Fn::GetAtt": [ServerScaleUpP
matching_
compariso
CPUAlarmLow:
Type: OS::Ceilometer:
Properties:
description: Scale-down if the average CPU < 15% for 1 minute
meter_name: cpu_util
statistic: avg
period: "60"
evaluatio
threshold: "20"
alarm_
- {"Fn::GetAtt": [ServerScaleDow
matching_
compariso
LaunchConfig:
Type: AWS::AutoScalin
Properties:
ImageId: {Ref: ImageId}
InstanceType: {Ref: InstanceType}
KeyName: {Ref: KeyName}
UserData:
Fn::Base64:
- 'AWS::StackName': {Ref: 'AWS::StackName'}
- |
# yum make-cache gobbles up the whole of root.
rm -rf /var/cache/yum/
# report on memory consumption every 4 seconds
at -f /root/watch_loop now
# ramp up memory consumption until it is over 70%
# then exits ConsumeStopSeconds seconds after stack launch
=======
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu heat Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: