<div dir="ltr"><div>Hello,</div><div><br></div><div>(cross-posting from <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>)</div><div><br></div><div>I am reaching out in the hopes that someone may have seen this issue before or have some ideas on what might be going wrong. Apologies if this has already been discussed elsewhere, I did search quite a bit but only found mention of a similar issue here <a href="https://ask.openstack.org/en/question/66105/dnsmasq-dhcp-server-doesnt-lease-a-released-ip-address/">https://ask.openstack.org/en/question/66105/dnsmasq-dhcp-server-doesnt-lease-a-released-ip-address/</a> which does not have any answers for it yet.</div><div><br></div><div>The problem I am seeing is that when nova-network calls dhcp_release upon instance termination (due to force_dhcp_release=True) the address is not always released. Sometimes I do see in nova-dhcpbridge.log that there is an 'old' followed by 'del' command from dnsmasq, but it will sometimes only have the 'old'. Then later on if nova assigned a new instance the same ip address that was *not* released the DHCP request is ignored and an error in the syslog will show that dnsmasq saw the request and refused because the ip address was already leased to a different MAC address (the one belonging to the old, terminated, VM).</div><div><br></div><div>Some details about my setup:<br></div><div>* Kilo release</div><div>* Ubuntu 14.04</div><div>* Followed the install guide <a href="http://docs.openstack.org/kilo/install-guide/install/apt/content/">http://docs.openstack.org/kilo/install-guide/install/apt/content/</a> and did the legacy (nova-) network setup initially, but have since modified it a little to allow for my hosts with only a single management/external network connection. </div><div><br></div><div>When hosts are able to get their ip address from the DHCP server everything appears to be working perfectly fine. It seems as though the error is only when an ip fails to be released and blocks subsequent use of it for future VM's.</div><div><br></div><div>I checked for any errors in my nova-* logs and don't see any. The only errors are in my syslog when dnsmasq refuses to lease the ip address due to the conflicting MAC addresses.</div><div><br></div><div>Any info or suggestions would be much appreciated.</div><div><br></div><div>Thanks!</div><div><br></div><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Patrick East</div><div><a href="mailto:patrick.east@purestorage.com">patrick.east@purestorage.com</a></div></div></div>
</div>