<html><body>
<p><font size="2" face="sans-serif">Hi Claudio.</font><br>
<br>
<font size="2" face="sans-serif">I was having this issue too but maybe not as often as you. I believe I finally fixed it by increasing "agent_down_time" in /etc/neutron/neutron.conf. The default is 75 and I increased to 120. The following are a few things you can check to determine if your problem is the same as mine. (BTW... I'm running on RedHat 6.5)</font><br>
<br>
<font size="2" face="sans-serif">1. On the NETWORK node, Check the VLAN ID of the "tag" port on the "br-int" bridge (4095 is the dead Vlan)</font><br>
<br>
<font size="2" face="sans-serif"> ovs-vsctl show</font><br>
<font size="2" face="sans-serif"> cbf90101-67bc-40d3-adc1-4f28aca87c85</font><br>
<font size="2" face="sans-serif"> </font><font size="2" color="#FF0000" face="sans-serif">Bridge br-int</font><br>
<font size="2" face="sans-serif"> fail_mode: secure</font><br>
<font size="2" face="sans-serif"> Port br-int</font><br>
<font size="2" face="sans-serif"> Interface br-int</font><br>
<font size="2" face="sans-serif"> type: internal</font><br>
<font size="2" face="sans-serif"> </font><font size="2" color="#FF0000" face="sans-serif">Port "tap81f710b4-84"</font><br>
<font size="2" face="sans-serif"> </font><font size="2" color="#FF0000" face="sans-serif">tag: 4095</font><br>
<font size="2" face="sans-serif"> Interface "tap81f710b4-84"</font><br>
<font size="2" face="sans-serif"> type: internal</font><br>
<font size="2" face="sans-serif"> Port patch-tun</font><br>
<font size="2" face="sans-serif"> Interface patch-tun</font><br>
<font size="2" face="sans-serif"> type: patch</font><br>
<font size="2" face="sans-serif"> options: {peer=patch-int}</font><br>
<font size="2" face="sans-serif"> Port "qr-9ffcb84c-32"</font><br>
<font size="2" face="sans-serif"> tag: 1</font><br>
<font size="2" face="sans-serif"> Interface "qr-9ffcb84c-32"</font><br>
<font size="2" face="sans-serif"> type: internal</font><br>
<font size="2" face="sans-serif"> Bridge br-ex</font><br>
<font size="2" face="sans-serif"> Port "qg-48380a3c-2a"</font><br>
<font size="2" face="sans-serif"> Interface "qg-48380a3c-2a"</font><br>
<font size="2" face="sans-serif"> type: internal</font><br>
<font size="2" face="sans-serif"> Port "eth1"</font><br>
<font size="2" face="sans-serif"> Interface "eth1"</font><br>
<font size="2" face="sans-serif"> Port br-ex</font><br>
<font size="2" face="sans-serif"> Interface br-ex</font><br>
<font size="2" face="sans-serif"> type: internal</font><br>
<font size="2" face="sans-serif"> Bridge br-tun</font><br>
<font size="2" face="sans-serif"> Port patch-int</font><br>
<font size="2" face="sans-serif"> Interface patch-int</font><br>
<font size="2" face="sans-serif"> type: patch</font><br>
<font size="2" face="sans-serif"> options: {peer=patch-tun}</font><br>
<font size="2" face="sans-serif"> Port "gre-0a000018"</font><br>
<font size="2" face="sans-serif"> Interface "gre-0a000018"</font><br>
<font size="2" face="sans-serif"> type: gre</font><br>
<font size="2" face="sans-serif"> options: {in_key=flow, local_ip="10.0.0.14", out_key=flow, remote_ip="10.0.0.24"}</font><br>
<font size="2" face="sans-serif"> Port br-tun</font><br>
<font size="2" face="sans-serif"> Interface br-tun</font><br>
<font size="2" face="sans-serif"> type: internal</font><br>
<font size="2" face="sans-serif"> ovs_version: "1.11.0"</font><br>
<br>
<font size="2" face="sans-serif">2. On the NETWORK node, Check for the following types of messages in /var/log/neutron.log with DEBUG mode enabled</font><br>
<br>
<font size="2" face="sans-serif"> DEBUG neutron.plugins.ml2.drivers.mech_agent [req-cfcf3460-c013-4259-9e6c-7b0125e97a8e None] Attempting to bind port</font><br>
<font size="2" face="sans-serif"> DEBUG neutron.plugins.ml2.drivers.mech_agent [req-cfcf3460-c013-4259-9e6c-7b0125e97a8e None] Checking agent:</font><br>
<font size="2" face="sans-serif"> WARNING neutron.plugins.ml2.drivers.mech_agent [req-cfcf3460-c013-4259-9e6c-7b0125e97a8e None] Attempting to bind with dead agent:</font><br>
<font size="2" face="sans-serif"> WARNING neutron.plugins.ml2.managers [req-cfcf3460-c013-4259-9e6c-7b0125e97a8e None] Failed to bind port DHCP-PORT-ID on host HOSTNAME</font><br>
<br>
<font size="2" face="sans-serif">3. On the CONTROLLER node, Check the status of "network:dhcp" port in MySQL (will be DOWN when failing)</font><br>
<br>
<font size="2" face="sans-serif"> mysql -u root -pPASSWORD</font><br>
<font size="2" face="sans-serif"> mysql> use neutron;</font><br>
<font size="2" face="sans-serif"> mysql> select * from ports;</font><br>
<br>
<br>
<font size="2" face="sans-serif">Hope this helps,</font><br>
<font size="2" face="sans-serif">Ernie</font><br>
<font size="2" face="sans-serif"> <br>
----<br>
<br>
Ernie Bisson<br>
System Administrator & Virtualization<br>
IBM Software Group<br>
Mass Lab Central Services<br>
550 King St. Littleton, MA. 01460<br>
Email: ebisson@us.ibm.com<br>
Phone: 978-899-3893<br>
T/L : 276-3893</font><br>
<br>
<img width="16" height="16" src="cid:1__=0ABBF7C5DFC769418f9e8a93df938@us.ibm.com" border="0" alt="Inactive hide details for Claudio Pupparo ---09/17/2014 11:04:56 AM---Hi, I have the common issue of instances not getting thei"><font size="2" color="#424282" face="sans-serif">Claudio Pupparo ---09/17/2014 11:04:56 AM---Hi, I have the common issue of instances not getting their ip.</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From: </font><font size="1" face="sans-serif">Claudio Pupparo <claudio.pupparo@gmail.com></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To: </font><font size="1" face="sans-serif">openstack@lists.openstack.org, </font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date: </font><font size="1" face="sans-serif">09/17/2014 11:04 AM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject: </font><font size="1" face="sans-serif">[Openstack] A strange solution for instances not getting their ip</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<tt><font size="2">Hi,<br>
<br>
I have the common issue of instances not getting their ip.<br>
When I start a cirros instance, the output looks like this:<br>
<br>
udhcpc (v1.20.1) started<br>
Sending discover...<br>
Sending discover...<br>
Sending discover...<br>
No lease, failing<br>
<br>
I've found that during the boot process (while the instance is trying to <br>
get an ip), if I remove and immediately recreate in the router the <br>
interface to the subnet in which the instance is located, the instance <br>
succeds in getting its ip!<br>
<br>
I've tested many times, and this method keeps working.<br>
Anyone has a hint about this strange behaviour?<br>
<br>
Thanks,<br>
<br>
Claudio<br>
<br>
_______________________________________________<br>
Mailing list: </font></tt><tt><font size="2"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></font></tt><tt><font size="2"><br>
Post to : openstack@lists.openstack.org<br>
Unsubscribe : </font></tt><tt><font size="2"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></font></tt><tt><font size="2"><br>
<br>
</font></tt><br>
</body></html>