<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">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.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div> <div id="bloop_sign_1389101252088657920" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px">— <br></div><div style="font-family:helvetica,arial;font-size:13px">Ciao</div><div style="font-family:helvetica,arial;font-size:13px">Remo Mattei</div></div> <div style="color:gray"><hr style="style:linear">Da: <span style="color:black">Li, Chen</span> <a href="mailto:chen.li@intel.com">Li, Chen</a><br>Rispondi: <span style="color:black">Li, Chen</span> <a href="mailto:chen.li@intel.com">chen.li@intel.com</a><br>Data: <span style="color:black">January 7, 2014 at 1:36:59</span><br>A: <span style="color:black">Martinš Jakubovics</span> <a href="mailto:martins@hostnet.lv">martins@hostnet.lv</a>, <span style="color:black">Remo Mattei</span> <a href="mailto:remo@mattei.org">remo@mattei.org</a><br>Oggetto: <span style="color:black"> RE: [Openstack] can't get IP when I working with ml2 + GRE <br></span></div> <blockquote type="cite" class="clean_bq"><span><div><div>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 [mailto:martins@hostnet.lv]
<br>Sent: Friday, January 03, 2014 3:44 PM
<br>To: Remo Mattei; Li, Chen
<br>Cc: openstack@lists.openstack.org
<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" <chen.li@intel.com> 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 [mailto:martins@hostnet.lv]
<br>>> Sent: Thursday, January 02, 2014 5:35 PM
<br>>> To: openstack@lists.openstack.org
<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 [mailto:chen.li@intel.com]
<br>>>> Sent: Thursday, January 02, 2014 9:12 AM
<br>>>> To: Dnsbed Ops; openstack@lists.openstack.org
<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 [mailto:ops@dnsbed.com]
<br>>>> Sent: Monday, December 30, 2013 6:21 PM
<br>>>> To: openstack@lists.openstack.org
<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: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
<br>>>> Post to : openstack@lists.openstack.org
<br>>>> Unsubscribe :
<br>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
<br>>>>
<br>>>> _______________________________________________
<br>>>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
<br>>>> Post to : openstack@lists.openstack.org
<br>>>> Unsubscribe :
<br>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
<br>>>>
<br>>>> _______________________________________________
<br>>>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
<br>>>> Post to : openstack@lists.openstack.org
<br>>>> Unsubscribe :
<br>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
<br>>> _______________________________________________
<br>>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
<br>>> Post to : openstack@lists.openstack.org
<br>>> Unsubscribe :
<br>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
<br>>>
<br>>> _______________________________________________
<br>>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
<br>>> Post to : openstack@lists.openstack.org
<br>>> Unsubscribe :
<br>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
<br>>>
<br>>>
<br>>>
<br>
<br>!DSPAM:52cba08b207971719590898!
<br>
<br></div></div></span></blockquote></body></html>