<div dir="ltr"><div><div><div><div><div>Hi Chen,<br><br></div>The reason which heat given is "Multiple possible networks found", that means you need to specify a NetworkID.<br><br></div>You can use "<font color="black" face="Verdana,Arial,Helvetica"><font color="black" face="Verdana,Arial,Helvetica">VPCZoneIdentifier" property to do this, please search it.<br>
<br></font></font></div><font color="black" face="Verdana,Arial,Helvetica"><font color="black" face="Verdana,Arial,Helvetica">P.S I need to say that Heat in Havana is very </font></font>immaturity.<br><br></div>Hope this helps<br>
<br></div>Damon<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-27 10:30 GMT+08:00 Li, Chen <span dir="ltr"><<a href="mailto:chen.li@intel.com" target="_blank">chen.li@intel.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I have been told that  " Unknown resource Type : OS::Neutron::SecurityGroup " is caused by this type of resource is not support in Havana.<br>
So I changed to use template file:<br>
<a href="https://github.com/openstack/heat-templates/blob/master/hot/F20/WordPress_Native.yaml" target="_blank">https://github.com/openstack/heat-templates/blob/master/hot/F20/WordPress_Native.yaml</a><br>
Which is old enough for Havana to work.<br>
<br>
Also, I download image:  <a href="http://cloud.fedoraproject.org/fedora-20.x86_64.qcow2" target="_blank">http://cloud.fedoraproject.org/fedora-20.x86_64.qcow2</a><br>
<br>
Then I run command:<br>
<br>
heat stack-create mystack --template-file=WordPress_Native.yaml --parameters="key_name=key_b-compute04;instance_type=m1.small;image_id=Fedora-x86_64-20-20131211.1-sda;db_name=testheat;db_username=testheat;db_password=testheat;db_root_password=123456"<br>

<br>
But still, the stack is failed:<br>
<br>
heat stack-show mystack<br>
+----------------------+-------------------------------------------------------------------------------------------<br>
| Property             | Value<br>
+----------------------+-------------------------------------------------------------------------------------------<br>
| capabilities         | []<br>
| creation_time        | 2014-03-27T02:20:32Z<br>
| description          | Heat WordPress template to support F20, using only Heat<br>
|                      | OpenStack-native resource types, and without the<br>
|                      | requirement for heat-cfntools in the image. WordPress<br>
|                      | is web software you can use to create a beautiful<br>
|                      | website or blog. This template installs a single-<br>
|                      | instance WordPress deployment using a local MySQL<br>
|                      | database to store the data.<br>
| disable_rollback     | True<br>
| id                   | d25d4101-1b33-432d-a65f-0c3a7afdd679<br>
| links                | <a href="http://host-heat:8004/v1/1e57be810f854bcdb73901567140ac48/stacks/mystack/d25d4101-1b33-432" target="_blank">http://host-heat:8004/v1/1e57be810f854bcdb73901567140ac48/stacks/mystack/d25d4101-1b33-432</a><br>

| notification_topics  | []<br>
| parameters           | {<br>
|                      |   "instance_type": "m1.small",<br>
|                      |   "db_password": "******",<br>
|                      |   "AWS::StackName": "mystack",<br>
|                      |   "image_id": "Fedora-x86_64-20-20131211.1-sda",<br>
|                      |   "AWS::StackId": "arn:openstack:heat::1e57be810f854bcdb73901567140ac48:stacks/mystack/d25<br>
|                      |   "db_name": "testheat",<br>
|                      |   "db_username": "******",<br>
|                      |   "db_root_password": "******",<br>
|                      |   "AWS::Region": "ap-southeast-1",<br>
|                      |   "key_name": "key_b-compute04"<br>
|                      | }<br>
| stack_name           | mystack<br>
| stack_status         | CREATE_FAILED<br>
| stack_status_reason  | Resource create failed: BadRequest: Multiple possible<br>
|                      | networks found, use a Network ID to be more specific.<br>
|                      | (HTTP 400) (Request-ID: req-<br>
|                      | dc723c8a-4977-4df0-86a6-9465b83d488b)<br>
| template_description | Heat WordPress template to support F20, using only Heat<br>
|                      | OpenStack-native resource types, and without the<br>
|                      | requirement for heat-cfntools in the image. WordPress<br>
|                      | is web software you can use to create a beautiful<br>
|                      | website or blog. This template installs a single-<br>
|                      | instance WordPress deployment using a local MySQL<br>
|                      | database to store the data.<br>
| timeout_mins         | 60<br>
| updated_time         | 2014-03-27T02:20:33Z<br>
+----------------------+-------------------------------------------------------------------------------------------<br>
<br>
<br>
What should I do next ???<br>
<br>
Thanks.<br>
<span class="HOEnZb"><font color="#888888">-chen<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
-----Original Message-----<br>
From: Li, Chen [mailto:<a href="mailto:chen.li@intel.com">chen.li@intel.com</a>]<br>
Sent: Wednesday, March 26, 2014 3:14 PM<br>
To: <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Subject: [Openstack] [Heat]ERROR: Unknown resource Type : OS::Neutron::SecurityGroup<br>
<br>
Hi all,<br>
<br>
I'm a new user of heat.<br>
<br>
Just installed on CentOS 6.4 followed by:<br>
<a href="http://docs.openstack.org/trunk/install-guide/install/yum/content/ch_heat.html" target="_blank">http://docs.openstack.org/trunk/install-guide/install/yum/content/ch_heat.html</a><br>
<br>
The packages I'm using:<br>
<br>
yum list installed |grep -A1 heat<br>
openstack-heat-api.noarch                   2013.2.2-1.0.el6<br>
openstack-heat-common.noarch           2013.2.2-1.0.el6<br>
openstack-heat-engine.noarch              2013.2.2-1.0.el6<br>
python-heatclient.noarch                0.2.6-2.el6     @openstack-havana<br>
<br>
I copied template file from<br>
<a href="https://github.com/openstack/heat-templates/blob/master/hot/servers_in_existing_neutron_network_no_floating_ips.yaml" target="_blank">https://github.com/openstack/heat-templates/blob/master/hot/servers_in_existing_neutron_network_no_floating_ips.yaml</a>.<br>

<br>
I didn't use "hello_world.yaml", because I have no knowledge of AWS...<br>
<br>
Then, I try to run heat command:<br>
<br>
heat stack-create mystack --template-file=servers_in_existing_neutron_network_no_floating_ips.yaml --parameters="image=base_image;flavor=m1.small;net_id=da3b99ed-a806-4a9e-9a3d-1aa7ebdc0cd5;subnet_id=010f0972-e28b-44fd-b759-5b2288022111;key_name=key_b-compute04"<br>

<br>
And I get error :<br>
ERROR: Unknown resource Type : OS::Neutron::SecurityGroup<br>
<br>
Anyone know why this happened ???<br>
<br>
Thanks.<br>
-chen<br>
<br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</div></div></blockquote></div><br></div>