<div dir="ltr">Hi Charles,<div><br></div><div>Thanks for sharing this!</div><div><br></div><div>In fact you should be able to pass the vlan ranges parameters in the network-environment.yaml as well so you don't need to do manual changes post deployment:</div><div><br></div><div><div>NeutronBridgeMappings: 'datacentre:br-ex'</div><div>NeutronNetworkVLANRanges: 'datacentre:<span style="font-size:12.8px">3510:3600</span>'</div></div><div><br></div><div>Marius</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 12, 2016 at 11:32 AM, Charles Short <span dir="ltr"><<a href="mailto:cems@ebi.ac.uk" target="_blank">cems@ebi.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Forgot to mention you also need this line in your
network-environment.yaml<br>
<br>
NeutronNetworkType: 'vlan'<br>
<br>
<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1282835" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1282835</a><span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
Charles</font></span><div><div class="h5"><br>
<div>On 12/02/2016 10:25, Charles Short
wrote:<br>
</div>
<blockquote type="cite">
Hi,<br>
<br>
This works for me and correctly deploys tenant VLANs with HA
enabled and no tunnels- <br>
<br>
openstack overcloud deploy --templates \<br>
--control-scale 3 \<br>
--compute-scale 12 \<br>
--ntp-server ntp.server \<br>
-e
/usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml
\<br>
-e /home/stack/nic-configs/network-environment.yaml \<br>
-e
/usr/share/openstack-tripleo-heat-templates/environments/puppet-pacemaker.yaml
\<br>
--neutron-bridge-mappings datacentre:br-ex \<br>
--neutron-flat-networks datacentre \<br>
--neutron-network-vlan-ranges datacentre:3510:3600 \<br>
--neutron-disable-tunneling<br>
<br>
Then once deployed make sure you update /etc/neutron/plugins.ini
with the vlan range specified for tenant networks on each
controller as there is a bug where this does not get populated - <br>
<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1282963" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1282963</a><br>
<br>
# network_vlan_ranges =<br>
network_vlan_ranges =datacentre:3510:3600<br>
<br>
<br>
HTH<br>
<br>
Charles<br>
<br>
<br>
<br>
<br>
<div>On 27/10/2015 17:10, Nuno Loureiro
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div><br clear="all">
</div>
Hi all!<br>
<br>
</div>
I'm deploying an HA overcloud with 3 controller
nodes and 3 compute nodes.<br>
</div>
<br>
I'm able to successfully deploy the overcloud in
GRE-tunnel mode by issuing the following command:<br>
<br>
openstack overcloud deploy --control-scale 3
--compute-scale 3 --libvirt-type kvm --ntp-server <a href="http://pool.ntp.org" target="_blank">pool.ntp.org</a>
--templates ~/the-cloud/ -e
~/the-cloud/environments/puppet-pacemaker.yaml -e
~/the-cloud/environments/network-isolation.yaml -e
~/the-cloud/environments/net-single-nic-with-vlans.yaml
-e ~/the-cloud/environments/network-environment.yaml
--control-flavor controller --compute-flavor compute<br>
<br>
<br>
</div>
Now I want to use VLAN in tenant networks, disabling the
GRE-tunnels.<br>
</div>
<br>
I ran the following command to deploy the overcloud in
VLAN mode: <br>
<br>
openstack overcloud deploy --control-scale 3
--compute-scale 3 --libvirt-type kvm --ntp-server <a href="http://pool.ntp.org" target="_blank">pool.ntp.org</a>
--templates ~/the-cloud/ -e
~/the-cloud/environments/puppet-pacemaker.yaml -e
~/the-cloud/environments/network-isolation.yaml -e
~/the-cloud/environments/net-single-nic-with-vlans.yaml -e
~/the-cloud/environments/network-environment.yaml
--control-flavor controller --compute-flavor compute <span style="font-family:arial,helvetica,sans-serif">--neutron-network-type
vlan --neutron-bridge-mappings datacentre:br-ex
--neutron-network-vlan-ranges datacentre:1000:10009<br>
<br>
</span></div>
<span style="font-family:arial,helvetica,sans-serif">However
I always get the following error:<br>
</span>
<pre><span style="font-family:arial,helvetica,sans-serif">ERROR: openstack Neutron tunnel types must be specified when Neutron network type is specified </span></pre>
<span style="font-family:arial,helvetica,sans-serif"><br>
</span></div>
<span style="font-family:arial,helvetica,sans-serif">I think
this problem might be related to this bug: <br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1244893" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1244893</a><br>
</span>
<div>
<div><span style="font-family:arial,helvetica,sans-serif"><br>
</span>
<div>
<div>
<div>
<div>
<div><br>
</div>
<div>Do you have any suggestions on how to solve
this problem? <br>
</div>
<div><br>
Thank you very much!<br>
</div>
<div>Regards,<br>
</div>
<div>-- <br>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<table>
<tbody>
<tr>
<td style="font-size:13px;color:black"><font size="4">Nuno Loureiro</font><br>
</td>
</tr>
<tr style="display:block;margin-bottom:10px">
<td style="font-size:11px;color:rgb(102,102,102)">Research
& Development<br>
</td>
</tr>
<tr>
<td style="font-size:11px;color:rgb(102,102,102);line-height:15px">Phone:
<a href="tel:%2B351%20256%20370%20980" value="+351256370980" target="_blank">+351 256 370 980</a><br>
</td>
</tr>
<tr>
<td style="font-size:11px;color:rgb(102,102,102);line-height:15px">Email:
<a href="mailto:nuno.loureiro@itcenter.com.pt" target="_blank"></a><a href="mailto:nuno.loureiro@itcenter.com.pt" target="_blank">nuno.loureiro@itcenter.com.pt</a></td>
</tr>
<tr style="display:block;width:100%;margin-top:10px">
<td style="width:600px;padding:0px">
<table style="border-collapse:collapse;width:100%">
<tbody>
<tr>
<td> <a href="http://www.itcenter.com.pt/" style="width:124px;min-height:74px;display:block;float:left" target="_blank"> <img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_logo-itcenter_124x74.jpg">
</a> </td>
<td> <a href="http://www.itcenter.com.pt/" style="width:50px;min-height:74px;margin-left:20px;display:block;float:left" target="_blank"> <img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_premios-destincoes_50x74.jpg">
</a> </td>
<td style="display:block;width:100%;padding:0px">
<a href="http://www.itcenter.com.pt/" style="width:317px;min-height:87px;display:block;float:right" target="_blank"> <img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_noticia-destaque.jpg">
</a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr style="border-top:1px solid rgb(0,194,169);padding-top:3px;display:block">
<td style="width:600px;padding:0px">
<table style="border-collapse:collapse">
<tbody>
<tr>
<td>
<table style="border-collapse:collapse">
<tbody>
<tr>
<td style="float:left;line-height:18px"><a href="http://www.itcenter.com.pt" target="_blank"></a><a href="http://www.itcenter.com.pt" target="_blank">www.itcenter.com.pt</a>
</td>
<td> <a href="http://store.itcenter.com.pt/" style="margin-left:10px;width:23px;min-height:23px;display:block" target="_blank"> <img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_store.jpg" alt="ITCENTER
Store" title="ITCENTER
Store"> </a>
</td>
<td> <a href="http://www.itcenter.com.pt/email/assinatura-email-itcenter.html#" style="margin-left:10px;width:23px;min-height:23px;display:block" target="_blank">
<img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_helpdesk.jpg" alt="ITCENTER
Helpdesk" title="ITCENTER
Helpdesk"> </a>
</td>
</tr>
</tbody>
</table>
</td>
<td style="width:100%;padding:0px"><br>
</td>
<td style="border-collapse:collapse">
<table style="border-collapse:collapse">
<tbody>
<tr style="width:100px;float:right">
<td style="float:right;margin-left:5px;padding:0px">
<a href="https://www.facebook.com/itcenterpt" style="margin-left:5px;width:23px;min-height:23px;display:block" target="_blank"> <img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_facebook.jpg" alt="ITCENTER
Facebook"> </a>
</td>
<td style="float:right;margin-left:5px;padding:0px">
<a href="https://www.linkedin.com/company/itcenter" style="margin-left:5px;width:23px;min-height:23px;display:block" target="_blank"> <img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_linkedin.jpg" alt="ITCENTER
Linkedin"> </a>
</td>
<td style="float:right;padding:0px">
<a href="https://twitter.com/ITCenter_PT" style="margin-left:5px;width:23px;min-height:23px;display:block" target="_blank"> <img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_twitter.jpg" alt="ITCENTER
Twitter"> </a>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Rdo-list mailing list
<a href="mailto:Rdo-list@redhat.com" target="_blank">Rdo-list@redhat.com</a>
<a href="https://www.redhat.com/mailman/listinfo/rdo-list" target="_blank">https://www.redhat.com/mailman/listinfo/rdo-list</a>
To unsubscribe: <a href="mailto:rdo-list-unsubscribe@redhat.com" target="_blank">rdo-list-unsubscribe@redhat.com</a></pre>
</blockquote>
<br>
<pre cols="72">--
Charles Short
Cloud Engineer
Virtualization and Cloud Team
European Bioinformatics Institute (EMBL-EBI)
Tel: <a href="tel:%2B44%20%280%291223%20494205" value="+441223494205" target="_blank">+44 (0)1223 494205</a> </pre>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Rdo-list mailing list
<a href="mailto:Rdo-list@redhat.com" target="_blank">Rdo-list@redhat.com</a>
<a href="https://www.redhat.com/mailman/listinfo/rdo-list" target="_blank">https://www.redhat.com/mailman/listinfo/rdo-list</a>
To unsubscribe: <a href="mailto:rdo-list-unsubscribe@redhat.com" target="_blank">rdo-list-unsubscribe@redhat.com</a></pre>
</blockquote>
<br>
<pre cols="72">--
Charles Short
Cloud Engineer
Virtualization and Cloud Team
European Bioinformatics Institute (EMBL-EBI)
Tel: <a href="tel:%2B44%20%280%291223%20494205" value="+441223494205" target="_blank">+44 (0)1223 494205</a> </pre>
</div></div></div>
<br>_______________________________________________<br>
Rdo-list mailing list<br>
<a href="mailto:Rdo-list@redhat.com">Rdo-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/rdo-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/rdo-list</a><br>
<br>
To unsubscribe: <a href="mailto:rdo-list-unsubscribe@redhat.com">rdo-list-unsubscribe@redhat.com</a><br></blockquote></div><br></div>