<div dir="ltr"><div><div>Hello Jason,<br>Agree with TianTian. It would be good if you provide more details about the error you have.<br></div>Additionally, it would be perfect if you'll use heat IRC channel: #heat or <a href="http://ask.openstack.org">ask.openstack.org</a> to resolve such kind of questions.<br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Best regards,<div>Kairat Kushaev</div><div>Software Engineer, Mirantis</div></div></div></div>
<br><div class="gmail_quote">On Fri, Aug 7, 2015 at 9:43 AM, TIANTIAN <span dir="ltr"><<a href="mailto:tiantian223@163.com" target="_blank">tiantian223@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><span class=""><div>1) OS::Neutron::Port does not seem to recognize security groups by name<br></div></span><div>    ------ <a href="https://github.com/openstack/heat/blob/stable/kilo/heat/engine/resources/openstack/neutron/port.py#L303" target="_blank">https://github.com/openstack/heat/blob/stable/kilo/heat/engine/resources/openstack/neutron/port.py#L303</a> </div><div>            <a href="https://github.com/openstack/heat/blob/stable/kilo/heat/engine/clients/os/neutron.py#L111" target="_blank">https://github.com/openstack/heat/blob/stable/kilo/heat/engine/clients/os/neutron.py#L111</a> </div><div>            we can recognize group name </div><span class=""><div>2) OS::Neutron::SecurityGroup has no attributes so it can not return a security group ID  </div></span><div>    ------ <a href="https://github.com/openstack/heat/blob/stable/kilo/heat/engine/resources/openstack/neutron/neutron.py#L133," target="_blank">https://github.com/openstack/heat/blob/stable/kilo/heat/engine/resources/openstack/neutron/neutron.py#L133</a></div><div>            we can get the resource id (security group id) by function 'get_resource'</div>So what do you want? And what's the problems?<div><div class="h5"><br><div style="zoom:1"></div><div></div><br>At 2015-08-07 11:10:37, "jason witkowski" <<a href="mailto:jwitko1@gmail.com" target="_blank">jwitko1@gmail.com</a>> wrote:<br> <blockquote style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid"><div dir="ltr"><div><div><div><div><div><div><div>Hey All,<br><br></div>I am having issues on the Kilo branch creating an auto-scaling template that builds a security group and then adds instances to it.  I have tried every various method I could think of with no success.  My issues are as such:<br><br></div>1) OS::Neutron::Port does not seem to recognize security groups by name  <br></div><div>2) OS::Neutron::SecurityGroup has no attributes so it can not return a security group ID<br><br></div><div>These issues combined find me struggling to automate the building of a security group and instances in one heat stack.  I have read and looked at every example online and they all seem to use either the name of the security group or the get_resource function to return the security group object itself.  Neither of these work for me.<br><br></div><div>Here are my heat template files:<br><br></div><div>autoscaling.yaml - <a href="http://paste.openstack.org/show/412143/" target="_blank">http://paste.openstack.org/show/412143/</a><br></div><div>redirector.yaml - <a href="http://paste.openstack.org/show/412144/" target="_blank">http://paste.openstack.org/show/412144/</a><br></div><div>env.yaml - <a href="http://paste.openstack.org/show/412145/" target="_blank">http://paste.openstack.org/show/412145/</a><br></div><div><br></div>Heat Client: 0.4.1<br></div>Heat-Manage: 2015.1.1<br><br></div>Any help would be greatly appreciated.<br><br></div>Best Regards,<br><br></div>Jason<br></div>
</blockquote></div></div></div><br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>