<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
{font-family:Calibri}
@font-face
{font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif"}
span.EmailStyle17
{font-family:"Calibri","sans-serif";
color:windowtext}
span.EmailStyle18
{font-family:"Calibri","sans-serif";
color:#1F497D}
span.EmailStyle19
{font-family:"Calibri","sans-serif";
color:#1F497D}
span.BalloonTextChar
{font-family:"Tahoma","sans-serif"}
.MsoChpDefault
{font-size:10.0pt}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
{}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi Team,</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">This is the last error I received after modifying in ElasticLoadBalancer</span></p>
<p class="MsoNormal"><span style="color:#1F497D">"ElasticLoadBalancer" : {</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Type" : "AWS::ElasticLoadBalancing::LoadBalancer",</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Properties" : {</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "AvailabilityZones" : { "Fn::GetAZs" : "" },</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Instances" : [ { "Ref": "WikiDatabase" } ],</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Subnets" : [ { "SubnetId": "69b3ddd9-b092-4361-b541-4f171c736a9d" ,"Implemented": "False" } ],</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Listeners" : [ {</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "LoadBalancerPort" : "80",</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "InstancePort" : "80",</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Protocol" : "HTTP"</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> } ],</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "HealthCheck" : {</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Target" : "HTTP:80/",</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "HealthyThreshold" : "3",</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "UnhealthyThreshold" : "5",</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Interval" : "30",</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Timeout" : "5"</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR: Property Subnets not implemented yet</span></p>
<p class="MsoNormal"><span style="color:#1F497D">root@Tcontroller:/home/oss#</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">https://answers.launchpad.net/ubuntu/+source/heat/+question/245727</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Regards,</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Malleshi CN</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> Channappa Negalur, M.
<br>
<b>Sent:</b> Friday, March 21, 2014 5:51 PM<br>
<b>To:</b> 'openstack@lists.openstack.org'<br>
<b>Cc:</b> 'malleshicn@gmail.com'<br>
<b>Subject:</b> RE: Autoscaling : heat stack failed</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="color:#1F497D">Hi Team,</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">I fixed the earlier error and landed at below error</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">2014-03-21 09:31:27.138 22406 ERROR heat.engine.resource [-] CREATE : LoadBalancer "ElasticLoadBalancer"</span></p>
<p class="MsoNormal"><span style="color:#1F497D">2014-03-21 09:31:27.138 22406 TRACE heat.engine.resource Traceback (most recent call last):</span></p>
<p class="MsoNormal"><span style="color:#1F497D">2014-03-21 09:31:27.138 22406 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 361, in _do_action</span></p>
<p class="MsoNormal"><span style="color:#1F497D">2014-03-21 09:31:27.138 22406 TRACE heat.engine.resource while not check(handle_data):</span></p>
<p class="MsoNormal"><span style="color:#1F497D">2014-03-21 09:31:27.138 22406 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/stack_resource.py", line 116, in check_create_complete</span></p>
<p class="MsoNormal"><span style="color:#1F497D">2014-03-21 09:31:27.138 22406 TRACE heat.engine.resource raise exception.Error(self._nested.status_reason)</span></p>
<p class="MsoNormal"><span style="color:#1F497D">2014-03-21 09:31:27.138 22406 TRACE heat.engine.resource Error: Resource create failed: BadRequest: Multiple possible networks found, use a Network ID to be more specific. (HTTP 400) (Request-ID: req-e21332a8-a730-40d4-9e87-9d9ae7908b31)</span></p>
<p class="MsoNormal"><span style="color:#1F497D">2014-03-21 09:31:27.138 22406 TRACE heat.engine.resource</span></p>
<p class="MsoNormal"><span style="color:#1F497D">2014-03-21 09:31:27.347 22406 WARNING heat.engine.service [-] Stack create failed, status FAILED</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">I have mentioned my network details in my template.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "SubnetId" : {</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Default" :"69b3ddd9-b092-4361-b541-4f171c736a9d",</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Description" : "Name of an existing EC2 KeyPair to enable SSH access to the instances",</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Type" : "String"</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> },</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "PublicNetworkId" : {</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Default" :"fbfc3fa8-473b-40fa-89e8-8c7a1acb0d0b",</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Description" : "Name of an existing EC2 KeyPair to enable SSH access to the instances",</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Type" : "String"</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> },</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "PrivateNetworkId" : {</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Default" :"ad5a1e6c-24b7-4190-b4e7-6e4f19b046ce",</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Description" : "Name of an existing EC2 KeyPair to enable SSH access to the instances",</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Type" : "String"</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> },</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Do I need to mention it somewhere in load balancer as well ?...?</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">"ElasticLoadBalancer" : {</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Type" : "AWS::ElasticLoadBalancing::LoadBalancer",</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Properties" : {</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "AvailabilityZones" : { "Fn::GetAZs" : "" },</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Listeners" : [ {</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "LoadBalancerPort" : "80",</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "InstancePort" : "80",</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Protocol" : "HTTP"</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> } ],</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "HealthCheck" : {</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Target" : "HTTP:80/",</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "HealthyThreshold" : "3",</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "UnhealthyThreshold" : "5",</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Interval" : "30",</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> "Timeout" : "5"</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> }</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> }</span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> Channappa Negalur, M.
<br>
<b>Sent:</b> Friday, March 21, 2014 1:56 PM<br>
<b>To:</b> <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
<b>Subject:</b> Autoscaling : heat stack failed</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Hello All,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I have configured openstack Havana on Ubuntu 12.04 . I configured heat & ceilometer.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">When I was creating stack I found that stack creation failed in log</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">2014-03-21 05:37:50.170 22127 TRACE heat.engine.resource raise exception.StackValidationFailed(message=msg)</p>
<p class="MsoNormal">2014-03-21 05:37:50.170 22127 TRACE heat.engine.resource StackValidationFailed: Unknown resource Type : AWS::CloudWatch::Alarm</p>
<p class="MsoNormal">2014-03-21 05:37:50.170 22127 TRACE heat.engine.resource</p>
<p class="MsoNormal">2014-03-21 05:37:50.203 22127 WARNING heat.engine.service [-] Stack create failed, status FAILED</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">So I added default.yaml in /etc/ceilometer/environment.d/</p>
<p class="MsoNormal">resource_registry:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> # allow older templates with Quantum in them.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> "OS::Quantum*": "OS::Neutron*"</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> # Choose your implementation of AWS::CloudWatch::Alarm</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> #"AWS::CloudWatch::Alarm": "<a href="file:///\\etc\heat\templates\AWS_CloudWatch_Alarm.yaml">file:///etc/heat/templates/AWS_CloudWatch_Alarm.yaml</a>"</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><b># "AWS::CloudWatch::Alarm": "OS::Heat::CWLiteAlarm" </b></p>
<p class="MsoNormal"><b> </b></p>
<p class="MsoNormal"> "OS::Metering::Alarm": "OS::Ceilometer::Alarm"</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"># "AWS::RDS::DBInstance": "<a href="file:///\\etc\heat\templates\AWS_RDS_DBInstance.yaml">file:///etc/heat/templates/AWS_RDS_DBInstance.yaml</a>"</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"># "AWS::CloudWatch::Alarm": "OS::Ceilometer::Alarm"</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">If I remove the comment from <b># "AWS::CloudWatch::Alarm": "OS::Heat::CWLiteAlarm" , restarted my heat services . If I try to create a stack it shows below error</b></p>
<p class="MsoNormal"><b> </b></p>
<p class="MsoNormal">2014-03-21 05:34:09.748 21972 INFO heat.engine.resource [-] creating LoadBalancer "ElasticLoadBalancer"</p>
<p class="MsoNormal"><b>2014-03-21 05:34:09.809 21972 INFO heat.engine.resource [-] Validating CeilometerAlarm "latency_watcher"</b></p>
<p class="MsoNormal"><b>2014-03-21 05:34:09.809 21972 ERROR heat.engine.parser [-] Property error : latency_watcher: Property meter_name not assigned</b></p>
<p class="MsoNormal">2014-03-21 05:34:09.809 21972 TRACE heat.engine.parser Traceback (most recent call last):</p>
<p class="MsoNormal">2014-03-21 05:34:09.809 21972 TRACE heat.engine.parser File "/usr/lib/python2.7/dist-packages/heat/engine/parser.py", line 308, in validate</p>
<p class="MsoNormal">2014-03-21 05:34:09.809 21972 TRACE heat.engine.parser result = res.validate()</p>
<p class="MsoNormal">2014-03-21 05:34:09.809 21972 TRACE heat.engine.parser File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 490, in validate</p>
<p class="MsoNormal">2014-03-21 05:34:09.809 21972 TRACE heat.engine.parser return self.properties.validate()</p>
<p class="MsoNormal">2014-03-21 05:34:09.809 21972 TRACE heat.engine.parser File "/usr/lib/python2.7/dist-packages/heat/engine/properties.py", line 695, in validate</p>
<p class="MsoNormal">2014-03-21 05:34:09.809 21972 TRACE heat.engine.parser raise exception.StackValidationFailed(message=msg)</p>
<p class="MsoNormal">2014-03-21 05:34:09.809 21972 TRACE heat.engine.parser StackValidationFailed: Property error : latency_watcher: Property meter_name not assigned</p>
<p class="MsoNormal">2014-03-21 05:34:09.809 21972 TRACE heat.engine.parser</p>
<p class="MsoNormal">2014-03-21 05:34:09.811 21972 ERROR heat.engine.resource [-] CREATE : LoadBalancer "ElasticLoadBalancer"</p>
<p class="MsoNormal">2014-03-21 05:34:09.811 21972 TRACE heat.engine.resource Traceback (most recent call last):</p>
<p class="MsoNormal">2014-03-21 05:34:09.811 21972 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 358, in _do_action</p>
<p class="MsoNormal">2014-03-21 05:34:09.811 21972 TRACE heat.engine.resource handle_data = handle()</p>
<p class="MsoNormal">2014-03-21 05:34:09.811 21972 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resources/loadbalancer.py", line 382, in handle_create</p>
<p class="MsoNormal">2014-03-21 05:34:09.811 21972 TRACE heat.engine.resource return self.create_with_template(templ, param)</p>
<p class="MsoNormal">2014-03-21 05:34:09.811 21972 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/stack_resource.py", line 101, in create_with_template</p>
<p class="MsoNormal">2014-03-21 05:34:09.811 21972 TRACE heat.engine.resource nested.validate()</p>
<p class="MsoNormal">2014-03-21 05:34:09.811 21972 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/parser.py", line 314, in validate</p>
<p class="MsoNormal">2014-03-21 05:34:09.811 21972 TRACE heat.engine.resource raise StackValidationFailed(message=str(ex))</p>
<p class="MsoNormal"><b>2014-03-21 05:34:09.811 21972 TRACE heat.engine.resource StackValidationFailed: Property error : latency_watcher: Property meter_name not assigned</b></p>
<p class="MsoNormal"><b>2014-03-21 05:34:09.811 21972 TRACE heat.engine.resource</b></p>
<p class="MsoNormal"><b>2014-03-21 05:34:09.842 21972 WARNING heat.engine.service [-] Stack create failed, status FAILED
</b></p>
<p class="MsoNormal"><b> </b></p>
<p class="MsoNormal"><b> </b></p>
<p class="MsoNormal"><b> </b></p>
<p class="MsoNormal"><b>Template details:</b></p>
<p class="MsoNormal"><b>"</b>CPUAlarmHigh": {</p>
<p class="MsoNormal"> "Type": "OS::Ceilometer::Alarm",</p>
<p class="MsoNormal"> "Properties": {</p>
<p class="MsoNormal"> "description": "Scale-up if cpu_util > 50% for 1 minute",</p>
<p class="MsoNormal"> "meter_name": "cpu_util",</p>
<p class="MsoNormal"> "enabled": "True",</p>
<p class="MsoNormal"> "repeat_actions": "True",</p>
<p class="MsoNormal"> "statistic": "avg",</p>
<p class="MsoNormal"> "period": "60",</p>
<p class="MsoNormal"> "evaluation_periods": "3",</p>
<p class="MsoNormal"> "threshold": "50",</p>
<p class="MsoNormal"> "comparison_operator" : "gt",</p>
<p class="MsoNormal"> "alarm_actions": [ { "Ref": "WebServerScaleUpPolicy" } ],</p>
<p class="MsoNormal"> "matching_metadata": {"metadata.user_metadata.server_group": "WebSG"}</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> }</p>
<p class="MsoNormal"> },</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">"CPUAlarmLow": {</p>
<p class="MsoNormal"> "Type": "OS::Ceilometer::Alarm",</p>
<p class="MsoNormal"> "Properties": {</p>
<p class="MsoNormal"> "description": "Scale-up if cpu_util < 15% for 1 minute",</p>
<p class="MsoNormal"> "meter_name": "cpu_util",</p>
<p class="MsoNormal"> "enabled": "True",</p>
<p class="MsoNormal"> "repeat_actions": "True",</p>
<p class="MsoNormal"> "statistic": "avg",</p>
<p class="MsoNormal"> "period": "60",</p>
<p class="MsoNormal"> "evaluation_periods": "3",</p>
<p class="MsoNormal"> "threshold": "15",</p>
<p class="MsoNormal"> "comparison_operator" : "lt",</p>
<p class="MsoNormal"> "alarm_actions": [ { "Ref": "WebServerScaleUpPolicy" } ],</p>
<p class="MsoNormal"> "matching_metadata": {"metadata.user_metadata.server_group": "WebSG"}</p>
<p class="MsoNormal"> }</p>
<p class="MsoNormal"> },</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">"ElasticLoadBalancer" : {</p>
<p class="MsoNormal"> "Type" : "AWS::ElasticLoadBalancing::LoadBalancer",</p>
<p class="MsoNormal"> "Properties" : {</p>
<p class="MsoNormal"> "AvailabilityZones" : { "Fn::GetAZs" : "" },</p>
<p class="MsoNormal"> "Listeners" : [ {</p>
<p class="MsoNormal"> "LoadBalancerPort" : "80",</p>
<p class="MsoNormal"> "InstancePort" : "80",</p>
<p class="MsoNormal"> "Protocol" : "HTTP"</p>
<p class="MsoNormal"> } ],</p>
<p class="MsoNormal"> "HealthCheck" : {</p>
<p class="MsoNormal"> "Target" : "HTTP:80/",</p>
<p class="MsoNormal"> "HealthyThreshold" : "3",</p>
<p class="MsoNormal"> "UnhealthyThreshold" : "5",</p>
<p class="MsoNormal"> "Interval" : "30",</p>
<p class="MsoNormal"> "Timeout" : "5"</p>
<p class="MsoNormal"> }</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Pelase help me </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Regards,</p>
<p class="MsoNormal">Malleshi CN</p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by
you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of
internal compliance with Accenture policy. <br>
______________________________________________________________________________________<br>
<br>
www.accenture.com<br>
</font>
</body>
</html>