<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:Calibri}
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}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@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">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": "file:///etc/heat/templates/AWS_CloudWatch_Alarm.yaml"</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": "file:///etc/heat/templates/AWS_RDS_DBInstance.yaml"</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>