<div dir="ltr">Hi Jose,<div><br></div><div> That's awesome!</div><div><br></div><div> Floating IPs without fixed_ips and no more "OS::Neutron::FloatingIPAssociation"!</div><div><br></div><div> Thank you!</div><div><br></div><div>Best,</div><div>Thiago</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 17 October 2016 at 05:42, Jose Manuel Ferrer Mosteiro <span dir="ltr"><<a href="mailto:jmferrer.paradigmatecnologico@gmail.com" target="_blank">jmferrer.paradigmatecnologico@gmail.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="font-size:10pt">
<p>Hi</p>
<p>Here is a template that creates a server and publish it:</p>
<p><a href="https://github.com/jmferrer/openstack-openshift-workshop/blob/master/openstack/nfs-server-heat-template.yaml" target="_blank">https://github.com/jmferrer/<wbr>openstack-openshift-workshop/<wbr>blob/master/openstack/nfs-<wbr>server-heat-template.yaml</a></p>
<p>Maybe it could help you.</p>
<p>Have a nice day,</p>
<p>Jose Manuel</p><div><div class="h5">
<div> </div>
<p> </p>
<p>El 2016-10-14 00:01, Martinx - ジェームズ escribió:</p>
</div></div><blockquote type="cite" style="padding:0 0.4em;border-left:#1010ff 2px solid;margin:0"><div><div class="h5">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 13 October 2016 at 17:26, Martinx - ジェームズ <span><<a href="mailto:thiagocmartinsc@gmail.com" target="_blank">thiagocmartinsc@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid #cccccc;padding-left:1ex">
<div dir="ltr">
<div>
<div class="m_-4310653890066646357gmail-h5"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 13 October 2016 at 17:21, Martinx - ジェームズ <span><<a href="mailto:thiagocmartinsc@gmail.com" target="_blank">thiagocmartinsc@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid #cccccc;padding-left:1ex">
<div dir="ltr">Guys,
<div> </div>
<div> I'm trying to launch a stack via Heat, by using the following template (I'm copying just part of it here):</div>
<div> </div>
<div>---</div>
<div>
<div>  demosrv:</div>
<div>    type: OS::Nova::Server</div>
<div>    depends_on: ctrl_subnet</div>
<div>    properties:</div>
<div>      name: { str_replace: { params: { $stack_name: { get_param: 'OS::stack_name' } }, template: '$stack_name-demosrv' } }</div>
<div>      key_name: { get_param: 'ssh_key' }</div>
<div>      image: { get_param: 'demosrv_image' }</div>
<div>      flavor: "m1.small"</div>
<div>      networks:</div>
<div>        - network: { get_resource: ctrl_net }</div>
</div>
<div>---</div>
<div> </div>
<div> This works!</div>
<div> </div>
<div> However, I want to associate a Floating IP to it, then, I added:</div>
<div> </div>
<div>---</div>
<div> ....</div>
<div>
<div><strong>  floating_ip_1:</strong></div>
<div><strong>    type: OS::Neutron::FloatingIP</strong></div>
<div><strong>    depends_on: router-0-port-1</strong></div>
<div><strong>    properties:</strong></div>
<div><strong>      floating_network: { get_param: public_network }</strong></div>
</div>
<div>....</div>
<div>
<div>  demosrv:</div>
<div>    type: OS::Nova::Server</div>
<div>    depends_on: ctrl_subnet</div>
<div>    properties:</div>
<div>      name: { str_replace: { params: { $stack_name: { get_param: 'OS::stack_name' } }, template: '$stack_name-demosrv' } }</div>
<div>      key_name: { get_param: 'ssh_key' }</div>
<div>      image: { get_param: 'demosrv_image' }</div>
<div>      flavor: "m1.small"</div>
<div>      networks:</div>
<div>        - network: { get_resource: ctrl_net }</div>
<div><strong>        - floating_ip: { get_resource: floating_ip_1 }</strong></div>
</div>
<div>---</div>
<div> </div>
<div> Then, it does't work anymore!</div>
<div> </div>
<div> heat stack-create fails with:</div>
<div> </div>
<div>-</div>
<div>
<div>ERROR: One of the properties "network", "port" or "subnet" should be set for the specified network of server "demosrv".</div>
</div>
<div>-</div>
<div> </div>
<div> So, how to use it?</div>
<div> </div>
<div> If I use "OS::Neutron::Port" and "OS::Neutron::FloatingIPAssoci<wbr>ation", then, it works but, damn, I want a simpler Heat template, without fixed ips, without Port definitions, something like this:</div>
<div> </div>
<div><a href="https://specs.openstack.org/openstack/heat-specs/specs/kilo/rich-network-prop.html" target="_blank">https://specs.openstack.org/op<wbr>enstack/heat-specs/specs/kilo/<wbr>rich-network-prop.html</a></div>
<div> </div>
<div> Is it supported on Mitaka? If yes, how to do it?</div>
<div> </div>
<div>Thanks!</div>
<div>Thiago</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
<div class="gmail_extra">Also, according to the following doc:</div>
<div class="gmail_extra"> </div>
<div class="gmail_extra"><a href="http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Nova::Server-prop-networks" target="_blank">http://docs.openstack.org/deve<wbr>loper/heat/template_guide/open<wbr>stack.html#OS::Nova::Server-<wbr>prop-networks</a></div>
<div class="gmail_extra"> </div>
<div class="gmail_extra">The "networks" section supports "floating_ip", starting with Mitaka...</div>
</div>
</blockquote>
</div>
</div>
<div class="gmail_extra">BTW, I'll be happy to first, get rid of "OS::Neutron::<wbr>FloatingIPAssociation" AND the fixed_ips, then, later, if possobe, I'll get rid of "OS::Neutron::Port" as well...</div>
</div>
<br>
</div></div><div class="m_-4310653890066646357pre" style="margin:0;padding:0;font-family:monospace">______________________________<wbr>_________________<br> Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br> Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br> Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a></div>
</blockquote>
</div>
</blockquote></div><br></div>