<div dir="ltr">Hi <span style="font-family:calibri;font-size:14.6667px">Jean-Philippe Evrard and Jesse,</span><div><span style="font-family:calibri;font-size:14.6667px"><br></span></div><div><span style="font-family:calibri;font-size:14.6667px">Thank you both for your responses. </span></div><div><span style="font-size:14.6667px;font-family:calibri">Finally i succeeded in deploying DVR setup but i don’t know if my approach is good or not. I am going to describe it for the sake of sharing.</span></div><div><div><font face="calibri"><span style="font-size:14.6667px"><br></span></font></div><div><font face="calibri"><span style="font-size:14.6667px">I used newton tag 14.0.2 and my scenario is VLANs tenant networks+flat external network+DVR. Inside  neutron agents containers i created 2 OVS bridges, br-prv for tenant networks and br-floating for the flat network, then i attached eth11 and eth12 as ports accordingly, like this:</span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><br></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b>ovs-vsctl add-br br-floating</b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b>ovs-vsctl add-br br-prv</b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b>ovs-vsctl add-port br-prv eth11</b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b>ovs-vsctl add-port br-floating eth12</b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><br></span></font></div><div><font face="calibri"><span style="font-size:14.6667px">In the compute nodes it was a bit hard for me as the equivalent  of eth11 and eth12 interfaces don’t exist, also OpenvSwitch cannot accept br-vlan to be a port for both  br-prv and br-floating. So, what i ended up doing is creating 2 <b>internal</b> OVS ports one for br-prv and the other for br-floating, then i added them to br-vlan bridge in  /etc/network/interfaces file, like this:</span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><br></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b>auto p_prv</b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b>allow-br-prv p_prv</b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b>iface p_prv inet manual</b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>ovs_type OVSIntPort</b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>ovs_bridge br-prv</b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b><br></b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b><br></b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b>auto p_floating</b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b>allow-br-floating p_floating</b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b>iface p_floating inet manual</b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>ovs_type OVSIntPort</b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>ovs_bridge br-floating</b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b><br></b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b>auto br-vlan</b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b>iface br-vlan inet manual</b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b>        bridge_stp off</b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b>        bridge_waitport 0</b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b>        bridge_fd 0</b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><b>        bridge_ports enp4s1 p_prv p_floating</b></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><br></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><br></span></font></div><div><font face="calibri"><span style="font-size:14.6667px">I hope we could get other solutions that use openstack-ansible with DVR to select the best one since DVR is new in openstack-ansible.</span></font></div><div style="font-family:calibri;font-size:14.6667px"><br></div></div><div style="font-family:calibri;font-size:14.6667px">Best regards,</div><div style="font-family:calibri;font-size:14.6667px">Hamza</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 5 December 2016 at 10:51, Jesse Pretorius <span dir="ltr"><<a href="mailto:Jesse.Pretorius@rackspace.co.uk" target="_blank">Jesse.Pretorius@rackspace.co.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="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_-2421827220571410439WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-family:Calibri;color:black">From:
</span></b><span style="font-family:Calibri;color:black">Achi Hamza <<a href="mailto:h16mara@gmail.com" target="_blank">h16mara@gmail.com</a>><br>
<b>Date: </b>Saturday, December 3, 2016 at 12:19 PM<br>
<b>To: </b>"<a href="mailto:openstack-operators@lists.openstack.org" target="_blank">openstack-operators@lists.<wbr>openstack.org</a>" <<a href="mailto:openstack-operators@lists.openstack.org" target="_blank">openstack-operators@lists.<wbr>openstack.org</a>><span class=""><br>
<b>Subject: </b>[Openstack-operators] [openstack-ansible] networking services of compute nodes on LXC<u></u><u></u></span></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
Hello,<u></u><u></u></p>
</div><span class="">
<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
I need to install the networking services of the compute nodes into LXC, just like networking services on the infra nodes (neutron_agents_container) so that i can leverage eth11 and eth12 interfaces within the container on the compute nodes for my setup (DVR).<u></u><u></u></p>
</span></div><span class="">
<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
How openstack-ansible should be configured to deploy the the networking services of the compute nodes on LXC too ?<u></u><u></u></p>
</span><p class="MsoNormal" style="margin-bottom:12.0pt">Hi Achi,<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">The short answer is that you don’t. For the moment we do not use containers for compute services, or neutron agent services on compute, so you would need to ensure that those hosts are configured with the appropriate
 bridges/interfaces to make it work.<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Unfortunately I’m unfamiliar with DVR or networking at the best of times, and with DVR being a new feature in Newton I haven’t had the chance to give it a go. Perhaps someone who has given it a try will be able
 to advise.<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal">Best regards,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Jesse<u></u><u></u></p>
<p class="MsoNormal">IRC: odyssey4me<u></u><u></u></p>
</div>
</div><span class="">
   
<hr>
Rackspace Limited is a company registered in England & Wales (company registered number 03897010) whose registered office is at 5 Millington Road, Hyde Park Hayes, Middlesex UB3 4AZ. Rackspace Limited privacy policy can be viewed at <a href="http://www.rackspace.co.uk/legal/privacy-policy" target="_blank">www.rackspace.co.uk/legal/<wbr>privacy-policy</a>
 - This e-mail message may contain confidential or privileged information intended for the recipient. Any dissemination, distribution or copying of the enclosed material is prohibited. If you receive this transmission in error, please notify us immediately
 by e-mail at <a href="mailto:abuse@rackspace.com" target="_blank">abuse@rackspace.com</a> and delete the original message. Your cooperation is appreciated.
</span></div>

</blockquote></div><br></div>