<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.hoenzb
{mso-style-name:hoenzb;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I will check openvswitch open-flow tables:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri","sans-serif"">ovs-ofctl show br-int<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">……<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">1(int-br-eth4): addr:5a:cb:04:ab:33:90<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> config: 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> state: 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> current: 10GB-FD COPPER<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> speed: 10000 Mbps now, 0 Mbps max<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">2(tap130bc000-fb): addr:36:86:30:f5:bc:da<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> config: 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> state: 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> current: 10GB-FD COPPER<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> speed: 10000 Mbps now, 0 Mbps max<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">……<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri","sans-serif"">ovs-ofctl dump-flows br-int<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">NXST_FLOW reply (xid=0x4):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">cookie=0x0, duration=432224.342s, table=0, n_packets=24419311, n_bytes=1619005477, idle_age=204, hard_age=65534, priority=3,</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:red">in_port=1,dl_vlan=2999
actions=mod_vlan_vid:1,NORMAL</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">cookie=0x0, duration=432235.912s, table=0, n_packets=445090, n_bytes=117218014, idle_age=8, hard_age=65534, priority=2,</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:red">in_port=1
actions=drop</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">cookie=0x0, duration=432236.951s, table=0, n_packets=21963102, n_bytes=1207410551474, idle_age=65534, hard_age=65534, priority=1 actions=NORMAL<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-chen<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></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""> Vikash Kumar [mailto:vikash.kumar@oneconvergence.com]
<br>
<b>Sent:</b> Wednesday, February 12, 2014 12:41 PM<br>
<b>To:</b> Chris Baker<br>
<b>Cc:</b> openstack<br>
<b>Subject:</b> Re: [Openstack] dhcp request can't reach br-int of network node<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">U can try few things quickly.<o:p></o:p></p>
</div>
<p class="MsoNormal">a) Connectivity between ur compute node and n/w node. Check the interfaces.<o:p></o:p></p>
</div>
<p class="MsoNormal">b) Check the route entry.<br>
<br>
Ur compute node can ping to n/w node. U can also chk the vlan tag settings on ovs bridge.<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Fri, Feb 7, 2014 at 10:11 PM, Chris Baker <<a href="mailto:openstack2014@qq.com" target="_blank">openstack2014@qq.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">Hi guys,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">My havana installation has 3 nodes:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">control node, runs keystone APIs and neutron server;<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">network node, runs l3, dhcp, metadata, ovs agents; with VLAN mode<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">compute node, runs nova compute and ovs agents;<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">repo from
<a href="http://repos.fedorapeople.org/repos/openstack/openstack-havana/" target="_blank">
<span style="color:#1E5494">http://repos.fedorapeople.org/repos/openstack/openstack-havana</span></a>, and the os gets updated well with latest kernel.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif""><br>
Currently my VM can't get dhcp ack from network node.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">Based the topology picture for the package flow:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif""><a href="http://docs.openstack.org/admin-guide-cloud/content/figures/10/a/common/figures/under-the-hood-scenario-1-ovs-network.png" target="_blank"><span style="color:#1E5494">http://docs.openstack.org/admin-guide-cloud/content/figures/10/a/common/figures/under-the-hood-scenario-1-ovs-network.png</span></a><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">With the tcpdump result on both network and compute node, it says the dhcp request successfully leaves compute node, and it can reach the "int-br-eth1" of network
node, but not the next step br "br-int", so the dnsmasq would not able to ack. I think this is the problem why I can't get dhcp ipaddr.<o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""># uname -r<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">2.6.32-358.123.2.openstack.el6.x86_64<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""># ip netns (should we say namespace works well?)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">qdhcp-11f3adc1-6a2e-429b-9679-b565347e2f74<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">qdhcp-4aaa7c19-7864-4b17-aebc-d6aa354d4cd5<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">qdhcp-285e259e-e3ec-4149-81db-8e94e1713aa2<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">qdhcp-4044cdf0-717b-4628-9ce0-a9ff49533d8f<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">qrouter-76c9b884-5928-42f4-a016-afab1b72066b<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">Anyone can help where/which section I should check for the issue next? or let me know if other info is needed.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">Thanks a lot.<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif";color:#888888"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif";color:#888888">Chris<o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>