Thanks Dennis. <div><br></div><div>I don't have a switch in-between the two nodes so I don't have the default native VLAN issue. The two nodes are connected back to back. </div><div><br></div><div>I managed to console into the VM's on the compute node and saw that they don't have the IP address. The VM's on the controller node (also where the dhcp agent and quantum server are located) seem to get the IP address. To test the hypothesis, I created a separate network with the command that you mention below for the "demo" tenant and was able to spawn the VM's. I see the same problem on the compute node VM's not getting the IP address assigned. Has anyone who has been able to setup the VLAN tunnels successfully share their config files?</div>
<div><br></div><div>Thanks</div><div>Vinay<br><br><div class="gmail_quote">On Mon, Nov 5, 2012 at 10:37 AM, Qin, Xiaohong <span dir="ltr"><<a href="mailto:Xiaohong.Qin@emc.com" target="_blank">Xiaohong.Qin@emc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Vinay,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I have sent the following email out a while ago,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-------<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">In the following quantum command,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">quantum net-create --tenant-id $TENANT_ID net1 --provider:network_type vlan --provider:physical_network physnet1 --provider:segmentation_id 1024<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">provider:segmentation_id is actually a VLAN id which is used in the network for controller and compute nodes. This same VLAN id is also passed to the physical switch that interconnects controller and compute nodes. Try to avoid use VLAN id 1 since some physical switches do not forward VLAN 1 frames by default.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">------<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">This is the problem we were running into when setting up multi node deployment. Not sure if it helps or not.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Dennis Qin<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> openstack-bounces+xiaohong.qin=<a href="mailto:emc.com@lists.launchpad.net" target="_blank">emc.com@lists.launchpad.net</a> [mailto:<a href="mailto:openstack-bounces%2Bxiaohong.qin" target="_blank">openstack-bounces+xiaohong.qin</a>=<a href="mailto:emc.com@lists.launchpad.net" target="_blank">emc.com@lists.launchpad.net</a>] <b>On Behalf Of </b>Vinay Bannai<br>
<b>Sent:</b> Monday, November 05, 2012 10:05 AM<br><b>To:</b> Dan Wendlandt<br><b>Cc:</b> Openstack<br><b>Subject:</b> Re: [Openstack] [quantum] Relationship between br-int and physical bridge mapping in OVS plugin<u></u><u></u></span></p>
<div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Yes, that makes sense. I was not thinking about multiple physical nics in the provider network space. <u></u><u></u></p><div><p class="MsoNormal">
<u></u> <u></u></p></div><div><p class="MsoNormal">I am trying to get a better understanding of how the vif plugins in the br-int and the bridge providing external connectivity interact. <u></u><u></u></p></div><div><p class="MsoNormal">
The quantum vif plug-in will do the work to configure the br-ext for tunneling (whether it is vlan or gre). <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">In my two node setup (controller node and compute node), I am able to all my VM's instantiated properly. The controller also has n-cpu running so I get an even distribution of the vm's between the controller node and the compute nodes. The DHCP IP address is allocated fine. However when I try to vnc or ping the VM's, I am only able to get to the VM's on the controller node. I am not able to ping the instances created on the compute node. I am thinking that there is problem in my phsynet connectivity as the instances I am not able to get to are on the compute node. <br>
<br>I have vlan tunneling enabled and here is my snippet of the ovs_quantum_plugin.ini file on the compute and controller node. Any pointers on where to look?<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p>
</div><div><div><p class="MsoNormal">[OVS]<u></u><u></u></p></div><div><p class="MsoNormal">bridge_mappings = physnet1:br-eth2<u></u><u></u></p></div><div><p class="MsoNormal">network_vlan_ranges = physnet1:1:4094<u></u><u></u></p>
</div><div><p class="MsoNormal">tenant_network_type = vlan<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><div><p class="MsoNormal">Thanks<u></u><u></u></p>
</div><div><p class="MsoNormal">Vinay<u></u><u></u></p></div></div><div><p class="MsoNormal">On Sun, Nov 4, 2012 at 10:44 PM, Dan Wendlandt <<a href="mailto:dan@nicira.com" target="_blank">dan@nicira.com</a>> wrote:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><div><p class="MsoNormal">On Sun, Nov 4, 2012 at 9:57 PM, Vinay Bannai <<a href="mailto:vbannai@gmail.com" target="_blank">vbannai@gmail.com</a>> wrote:<u></u><u></u></p>
<p class="MsoNormal">I have a multi node setup. The CC controller doubles up as the quantum<br>server and also has the l3 agent and DHCP. I have configured OVS as my<br>L2 plugin with vlan tunneling. On the compute nodes, I see that in<br>
addition to having the integration bridge (br-int) you will also need<br>the ovs physical bridge (br-th1) with the physical ether port eth1 as<br>a member. I am wondering about the relationship between br-int and<br>br-eth1 bridges. Wouldn't it make sense to add eth1 port to the<br>
integration mode. <u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div></div><div><p class="MsoNormal">you might have quantum networks that use vlans on different on different physical NICs (e.g., eth0 and eth1), so adding each NIC directly to br-int wouldn't make sense.  Similarly, you might have some quantum networks that also use tunneling.  Hence, all vNICs are just plugged into br-int, and the plugin is responsible for doing the right thing with the traffic.  <u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Dan<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">
 <u></u><u></u></p></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><div><p class="MsoNormal" style="margin-bottom:12.0pt">Why have two bridges on the compute node for VMs to<br>
talk to other VMs in the same tenancy over the physical network?<br>I am sure I am missing something in my understanding so would<br>appreciate any comments or explanations.<br><br>Thanks<br>Vinay<u></u><u></u></p></div><p class="MsoNormal">
_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><u></u><u></u></p>
</blockquote></div><p class="MsoNormal"><span style="color:#888888"><br><br clear="all"><u></u><u></u></span></p><div><p class="MsoNormal"><span style="color:#888888"><u></u> <u></u></span></p></div><p class="MsoNormal"><span style="color:#888888">-- <br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Dan Wendlandt <u></u><u></u></span></p><div><p class="MsoNormal"><span style="color:#888888">Nicira, Inc: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><u></u><u></u></span></p>
<div><p class="MsoNormal"><span style="color:#888888">twitter: danwendlandt<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p></div></div><p class="MsoNormal"><br><br clear="all">
<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">-- <br>Vinay Bannai<br>Email: <a href="mailto:vbannai@gmail.com" target="_blank">vbannai@gmail.com</a><br>
Google Voice: <a href="tel:415%20938%207576" target="_blank">415 938 7576</a><u></u><u></u></p></div></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Vinay Bannai<br>Email: <a href="mailto:vbannai@gmail.com">vbannai@gmail.com</a><br>
Google Voice: 415 938 7576<br><br>
</div>