[Openstack] can't get IP when I working with ml2 + GRE

Mattei.org remo at mattei.org
Tue Jan 7 13:28:58 UTC 2014


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.


— 
Ciao
Remo Mattei
Da: Li, Chen Li, Chen
Rispondi: Li, Chen chen.li at intel.com
Data: January 7, 2014 at 1:36:59
A: Martinš Jakubovics martins at hostnet.lv, Remo Mattei remo at mattei.org
Oggetto:  RE: [Openstack] can't get IP when I working with ml2 + GRE  
When instances can't get IP from DHCP.  

On network node, I can observed the DHCP request can be received, but it complains can't reach the ICMP host :  

tcpdump -i eth4  
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  
14:31:51.315028 IP 192.101.11.201 > 192.101.11.102: ICMP host 192.101.11.201 unreachable - admin prohibited, length 378  

Anyone know why ???  


Thanks.  
-chen  


-----Original Message-----  
From: Mārtiņš Jakubovičs [mailto:martins at hostnet.lv]  
Sent: Friday, January 03, 2014 3:44 PM  
To: Remo Mattei; Li, Chen  
Cc: openstack at lists.openstack.org  
Subject: Re: [Openstack] can't get IP when I working with ml2 + GRE  

Hello Remo,  

Yes, in test purposes I disabled iptable rules in all nodes and in hypervisor.  

On 2014.01.03. 4:11, Remo Mattei wrote:  
> Are you sure your iptables is not blocking anything?  
>  
> Inviato da iPhone ()  
>  
>> Il giorno Jan 2, 2014, alle ore 17:07, "Li, Chen" <chen.li at intel.com> ha scritto:  
>>  
>>  
>> 2.6.32-358.111.1.openstack.el6.x86_64  
>>  
>> Thanks.  
>> -chen  
>>  
>> -----Original Message-----  
>> From: Mārtiņš Jakubovičs [mailto:martins at hostnet.lv]  
>> Sent: Thursday, January 02, 2014 5:35 PM  
>> To: openstack at lists.openstack.org  
>> Subject: Re: [Openstack] can't get IP when I working with ml2 + GRE  
>>  
>> Hello Li,  
>>  
>> 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?  
>>  
>>> On 2014.01.02. 7:03, Li, Chen wrote:  
>>> After upgrade network node's kernel to 2.6.32-358.123.2.openstack.el6.x86_64, the issue looks gone.  
>>>  
>>> Thanks.  
>>> -chen  
>>>  
>>> -----Original Message-----  
>>> From: Li, Chen [mailto:chen.li at intel.com]  
>>> Sent: Thursday, January 02, 2014 9:12 AM  
>>> To: Dnsbed Ops; openstack at lists.openstack.org  
>>> Subject: Re: [Openstack] can't get IP when I working with ml2 + GRE  
>>>  
>>> Yes, DHCP is enabled, and I can see IP is already in  
>>> /var/lib/neutron/dhcp/${net_id}/ host  
>>>  
>>> Thanks.  
>>> -chen  
>>>  
>>> -----Original Message-----  
>>> From: Dnsbed Ops [mailto:ops at dnsbed.com]  
>>> Sent: Monday, December 30, 2013 6:21 PM  
>>> To: openstack at lists.openstack.org  
>>> Subject: Re: [Openstack] can't get IP when I working with ml2 + GRE  
>>>  
>>>> On 2013-12-30 14:50, Li, Chen wrote:  
>>>> I created a gre network and booted a instance successfully.  
>>>> No error can be found in log.  
>>>> But, my instance can't get IP from dhcp agent.  
>>>>  
>>>> Anyone know why this happen ??????  
>>> We run GRE + OVS + Neutron, the dhcp works well.  
>>> Are you sure dhcp is enabled?  
>>> for neutron it is:  
>>>  
>>> $ neutron port-list -c id -c device_owner  
>>>  
>>> And we see a line like:  
>>>  
>>> | e422bb05-3f51-45f1-b688-a1d9c20f197c | network:dhcp  
>>>  
>>> This means at least dhcp has been running there.  
>>>  
>>> Regards.  
>>>  
>>> _______________________________________________  
>>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack  
>>> Post to : openstack at lists.openstack.org  
>>> Unsubscribe :  
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack  
>>>  
>>> _______________________________________________  
>>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack  
>>> Post to : openstack at lists.openstack.org  
>>> Unsubscribe :  
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack  
>>>  
>>> _______________________________________________  
>>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack  
>>> Post to : openstack at lists.openstack.org  
>>> Unsubscribe :  
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack  
>> _______________________________________________  
>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack  
>> Post to : openstack at lists.openstack.org  
>> Unsubscribe :  
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack  
>>  
>> _______________________________________________  
>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack  
>> Post to : openstack at lists.openstack.org  
>> Unsubscribe :  
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack  
>>  
>>  
>>  

!DSPAM:52cba08b207971719590898!  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140107/754dec4b/attachment.html>


More information about the Openstack mailing list