Yes, if I set IP to these instances by hand, IP can be reached from instances to instances. Also, I restart neutron-openvswicth-agent and neutron-dhcp-agent several times, restart service operation do not work at all. And I’m pretty sure there is no error in dhcp-agent.log with debug option on.
But, here is my issue, First, after I enable GRE, the DHCP is not work. Then, I upgrade my kernel and reboot the network node, the dhcp do work at that time. I don’t know why, then, suddenly, it can’t work again. Previously, I guess it is the issue caused by my kernel. Now, it looks not. And from the tcpdump output, something stop the ICMP request to be received. 14:31:51.315028 IP 192.101.11.201 > 192.101.11.102: ICMP host 192.101.11.201 unreachable - admin prohibited, length 378 If the ICMP request is rejected at my physical NIC, then it couldn’t be received by ovs. Because dhcp agent actually just create an interface on ovs bridge br-int, and start dnsmasq based on that port. I don’t think dhcp agent is really involved in this issue. Thanks. -chen From: Mattei.org [mailto:[email protected]] Sent: Tuesday, January 07, 2014 9:29 PM To: Martinš Jakubovics; Li, Chen Cc: [email protected] Subject: RE: [Openstack] can't get IP when I working with ml2 + GRE 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<mailto:[email protected]> Rispondi: Li, Chen [email protected]<mailto:[email protected]> Data: January 7, 2014 at 1:36:59 A: Martinš Jakubovics [email protected]<mailto:[email protected]>, Remo Mattei [email protected]<mailto:[email protected]> 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:[email protected]] Sent: Friday, January 03, 2014 3:44 PM To: Remo Mattei; Li, Chen Cc: [email protected]<mailto:[email protected]> 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" >> <[email protected]<mailto:[email protected]>> ha scritto: >> >> >> 2.6.32-358.111.1.openstack.el6.x86_64 >> >> Thanks. >> -chen >> >> -----Original Message----- >> From: Mārtiņš Jakubovičs [mailto:[email protected]] >> Sent: Thursday, January 02, 2014 5:35 PM >> To: [email protected]<mailto:[email protected]> >> 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:[email protected]] >>> Sent: Thursday, January 02, 2014 9:12 AM >>> To: Dnsbed Ops; >>> [email protected]<mailto:[email protected]> >>> 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:[email protected]] >>> Sent: Monday, December 30, 2013 6:21 PM >>> To: [email protected]<mailto:[email protected]> >>> 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 : >>> [email protected]<mailto:[email protected]> >>> Unsubscribe : >>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >>> >>> _______________________________________________ >>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >>> Post to : >>> [email protected]<mailto:[email protected]> >>> Unsubscribe : >>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >>> >>> _______________________________________________ >>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >>> Post to : >>> [email protected]<mailto:[email protected]> >>> Unsubscribe : >>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> _______________________________________________ >> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> Post to : [email protected]<mailto:[email protected]> >> Unsubscribe : >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> >> _______________________________________________ >> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> Post to : [email protected]<mailto:[email protected]> >> Unsubscribe : >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> >> >> !DSPAM:52cba08b207971719590898!
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
