<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=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@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;}
/* 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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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">Yes, if I set IP to these instances by hand, IP can be reached from instances to instances.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Also, I restart neutron-openvswicth-agent and neutron-dhcp-agent several times, restart service operation do not work at all.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">And I’m pretty sure there is no error in dhcp-agent.log with debug option on.<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">But, here is my issue,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">First, after I enable GRE, the DHCP is not work.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Then, I upgrade my kernel and reboot the network node, the dhcp do work at that time.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I don’t know why, then, suddenly, it can’t work again.<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">Previously, I guess  it is the issue caused by my kernel.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Now, it looks not.<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">And from the tcpdump output, something stop the ICMP request to be received.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif"">14:31:51.315028 IP 192.101.11.201 > 192.101.11.102: ICMP host 192.101.11.201 unreachable - admin prohibited, length 378</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"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">If the ICMP request is rejected at my physical NIC, then it couldn’t be received by ovs.<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">Because dhcp agent actually just create an interface on ovs bridge br-int, and start dnsmasq based on that port.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I don’t think dhcp agent is really involved in this issue.<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>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<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""> Mattei.org [mailto:remo@mattei.org]
<br>
<b>Sent:</b> Tuesday, January 07, 2014 9:29 PM<br>
<b>To:</b> Martinš Jakubovics; Li, Chen<br>
<b>Cc:</b> openstack@lists.openstack.org<br>
<b>Subject:</b> RE: [Openstack] can't get IP when I working with ml2 + GRE<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div id="bloop_customfont">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif"">the question is does it work if you set it manually? if it does then look at dhcp and make sure it’s running or restart look at the logs and see if there is any info there.
 I would set a debug option on the dhcp.<o:p></o:p></span></p>
</div>
<div id="bloop_customfont">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif""><o:p> </o:p></span></p>
</div>
<div id="bloop_customfont">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif""><o:p> </o:p></span></p>
</div>
<div id="bloop_sign_1389101252088657920">
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif"">— <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif"">Ciao<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif"">Remo Mattei<o:p></o:p></span></p>
</div>
</div>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:gray">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:gray">Da: </span><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:black">Li, Chen</span><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:gray">
<a href="mailto:chen.li@intel.com">Li, Chen</a><br>
Rispondi: </span><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:black">Li, Chen</span><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:gray">
<a href="mailto:chen.li@intel.com">chen.li@intel.com</a><br>
Data: </span><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:black">January 7, 2014 at 1:36:59</span><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:gray"><br>
A: </span><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:black">Martinš Jakubovics</span><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:gray">
<a href="mailto:martins@hostnet.lv">martins@hostnet.lv</a>, </span><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:black">Remo Mattei</span><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:gray">
<a href="mailto:remo@mattei.org">remo@mattei.org</a><br>
Oggetto: </span><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:black"> RE: [Openstack] can't get IP when I working with ml2 + GRE
</span><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:gray"><o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif"">When instances can't get IP from DHCP.
<br>
<br>
On network node, I can observed the DHCP request can be received, but it complains can't reach the ICMP host :
<br>
<br>
tcpdump -i eth4 <br>
14:31:51.314974 IP 192.101.11.102 > 192.101.11.201: GREv0, key=0x1, length 350: IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from fa:16:3e:73:dc:7a (oui Unknown), length 300
<br>
14:31:51.315028 IP 192.101.11.201 > 192.101.11.102: ICMP host 192.101.11.201 unreachable - admin prohibited, length 378
<br>
<br>
Anyone know why ??? <br>
<br>
<br>
Thanks. <br>
-chen <br>
<br>
<br>
-----Original Message----- <br>
From: Mārtiņš Jakubovičs [<a href="mailto:martins@hostnet.lv">mailto:martins@hostnet.lv</a>]
<br>
Sent: Friday, January 03, 2014 3:44 PM <br>
To: Remo Mattei; Li, Chen <br>
Cc: <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>
<br>
Subject: Re: [Openstack] can't get IP when I working with ml2 + GRE <br>
<br>
Hello Remo, <br>
<br>
Yes, in test purposes I disabled iptable rules in all nodes and in hypervisor. <br>
<br>
On 2014.01.03. 4:11, Remo Mattei wrote: <br>
> Are you sure your iptables is not blocking anything? <br>
> <br>
> Inviato da iPhone () <br>
> <br>
>> Il giorno Jan 2, 2014, alle ore 17:07, "Li, Chen" <<a href="mailto:chen.li@intel.com">chen.li@intel.com</a>> ha scritto:
<br>
>> <br>
>> <br>
>> 2.6.32-358.111.1.openstack.el6.x86_64 <br>
>> <br>
>> Thanks. <br>
>> -chen <br>
>> <br>
>> -----Original Message----- <br>
>> From: Mārtiņš Jakubovičs [<a href="mailto:martins@hostnet.lv">mailto:martins@hostnet.lv</a>]
<br>
>> Sent: Thursday, January 02, 2014 5:35 PM <br>
>> To: <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>
<br>
>> Subject: Re: [Openstack] can't get IP when I working with ml2 + GRE <br>
>> <br>
>> Hello Li, <br>
>> <br>
>> I have similar issue, unfortunately I use Ubuntu system on my network node. When I manualy setup IP in instance, network works, but when I setup to use DHCP, it fails to assign IP. Which kernel you got before?
<br>
>> <br>
>>> On 2014.01.02. 7:03, Li, Chen wrote: <br>
>>> After upgrade network node's kernel to 2.6.32-358.123.2.openstack.el6.x86_64, the issue looks gone.
<br>
>>> <br>
>>> Thanks. <br>
>>> -chen <br>
>>> <br>
>>> -----Original Message----- <br>
>>> From: Li, Chen [<a href="mailto:chen.li@intel.com">mailto:chen.li@intel.com</a>]
<br>
>>> Sent: Thursday, January 02, 2014 9:12 AM <br>
>>> To: Dnsbed Ops; <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>
<br>
>>> Subject: Re: [Openstack] can't get IP when I working with ml2 + GRE <br>
>>> <br>
>>> Yes, DHCP is enabled, and I can see IP is already in <br>
>>> /var/lib/neutron/dhcp/${net_id}/ host <br>
>>> <br>
>>> Thanks. <br>
>>> -chen <br>
>>> <br>
>>> -----Original Message----- <br>
>>> From: Dnsbed Ops [<a href="mailto:ops@dnsbed.com">mailto:ops@dnsbed.com</a>] <br>
>>> Sent: Monday, December 30, 2013 6:21 PM <br>
>>> To: <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>
<br>
>>> Subject: Re: [Openstack] can't get IP when I working with ml2 + GRE <br>
>>> <br>
>>>> On 2013-12-30 14:50, Li, Chen wrote: <br>
>>>> I created a gre network and booted a instance successfully. <br>
>>>> No error can be found in log. <br>
>>>> But, my instance can't get IP from dhcp agent. <br>
>>>> <br>
>>>> Anyone know why this happen ?????? <br>
>>> We run GRE + OVS + Neutron, the dhcp works well. <br>
>>> Are you sure dhcp is enabled? <br>
>>> for neutron it is: <br>
>>> <br>
>>> $ neutron port-list -c id -c device_owner <br>
>>> <br>
>>> And we see a line like: <br>
>>> <br>
>>> | e422bb05-3f51-45f1-b688-a1d9c20f197c | network:dhcp <br>
>>> <br>
>>> This means at least dhcp has been running there. <br>
>>> <br>
>>> Regards. <br>
>>> <br>
>>> _______________________________________________ <br>
>>> Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">
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 : <br>
>>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
<br>
>>> <br>
>>> _______________________________________________ <br>
>>> Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">
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 : <br>
>>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
<br>
>>> <br>
>>> _______________________________________________ <br>
>>> Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">
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 : <br>
>>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
<br>
>> _______________________________________________ <br>
>> Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">
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 : <br>
>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
<br>
>> <br>
>> _______________________________________________ <br>
>> Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">
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 : <br>
>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
<br>
>> <br>
>> <br>
>> <br>
<br>
!DSPAM:52cba08b207971719590898! <o:p></o:p></span></p>
</div>
</div>
</blockquote>
</div>
</body>
</html>