The problem I am seeing is that when nova-network calls dhcprelease upon
instance termination (due to forcedhcp_release=True) the address is not
always released(syslog are not showing DHCPRELEASE request). 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).
Some details about my setup:
- Juno release
- legacy (nova-) network
- Ubuntu 14.04
- DHCP handled by DNSMASQ.
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.
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.
Any info or suggestions would be much appreciated.