<div dir="ltr">Hi<br><br><div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra">
<br></div><div class="gmail_extra">Does anyone have any suggestions as to how I get a working heat database?<br><br></div></div>
</blockquote></div><br></div><div class="gmail_extra">As a follow up to this I ending up installing heat on another system with the default MySQL Server, mysql-server-5.1.73-3.el6_5.x86_64.<br><br></div><div class="gmail_extra">
It appears that 5.1 still has issues with the creation of indexes but reports it as a warning rather than an error. <br><br></div><div class="gmail_extra">When I looked at the tables generated there were definitely columns missing from my original heat database.<br>
<br></div><div class="gmail_extra">Now I am at the point where all heat services start and commands like heat stack-list or heat stack-delete work, but creation fails. The yaml file I am using appears valid if I run it through <a href="http://yaml-online-parser.appspot.com">http://yaml-online-parser.appspot.com</a><br>
<br>Currently I am out of ideas as to how to get HEAT working, any suggestions welcome.<br><br>[root@comet ~]# nova net-list | awk '/ demo-net / { print $2}'<br>8faf95e8-5cc4-4369-9df1-3102928770a4<br><br>[root@comet ~]# echo $NET_ID<br>
8faf95e8-5cc4-4369-9df1-3102928770a4<br><br><br>[root@comet ~]# heat stack-create -f test-stack.yml -P "ImageID=cirros-0.3.2-x86_64;NetID=$NET_ID" testStack<br><br><br>2014-05-21 16:05:20.633 33816 ERROR heat.engine.resource [-] CREATE : Server "server1" [717a33ef-8100-402c-8a62-a7bbf911391f] Stack "testStack" [2d8312d6-98d1-4c61-895a-5d169303bcc1]<br>
2014-05-21 16:05:20.633 33816 TRACE heat.engine.resource Traceback (most recent call last):<br>2014-05-21 16:05:20.633 33816 TRACE heat.engine.resource File "/usr/lib/python2.6/site-packages/heat/engine/resource.py", line 420, in _do_action<br>
2014-05-21 16:05:20.633 33816 TRACE heat.engine.resource while not check(handle_data):<br>2014-05-21 16:05:20.633 33816 TRACE heat.engine.resource File "/usr/lib/python2.6/site-packages/heat/engine/resources/server.py", line 545, in check_create_complete<br>
2014-05-21 16:05:20.633 33816 TRACE heat.engine.resource return self._check_active(server)<br>2014-05-21 16:05:20.633 33816 TRACE heat.engine.resource File "/usr/lib/python2.6/site-packages/heat/engine/resources/server.py", line 561, in _check_active<br>
2014-05-21 16:05:20.633 33816 TRACE heat.engine.resource raise exc<br>2014-05-21 16:05:20.633 33816 TRACE heat.engine.resource Error: Creation of server Test server failed.<br><br>[root@comet ~]# cat test-stack.yml <br>
heat_template_version: 2013-05-23<br><br>description: Test Template<br><br>parameters:<br> ImageID:<br> type: string<br> description: Image use to boot a server<br> NetID:<br> type: string<br> description: Network ID for the server<br>
<br>resources:<br> server1:<br> type: OS::Nova::Server<br> properties:<br> name: "Test server"<br> image: { get_param: ImageID }<br> flavor: "m1.tiny"<br> networks:<br> - network: { get_param: NetID }<br>
<br>outputs:<br> server1_private_ip:<br> description: IP address of the server in the private network<br> value: { get_attr: [ server1, first_address ] }<br><br><br><br><br></div></div></div>