How to force Neutron DHCP to release IPs?

asked 2016-01-08 14:40:32 -0500

vincent gravatar image

updated 2016-01-08 14:40:56 -0500

Any help on a way to release unused IPs to be reused would be greatly appreciated. Even release _all_ of them in face as I currently only have a dev setup not production.

For some reason the dhcp server isn't automatically releasing the addresses when the instance ends (I'm using nova-docker, so that's another story for now), and my allocation pools saturates.

I've tried messing with the files under /var/lib/neutron/<namespace>/{leases, hosts, addn_hosts} but the entries seem to get recovered from the db upon restart of the service anyway. I'd much prefer to not have to do that in the db itself, but I'll take any hint you may have


edit retag flag offensive close merge delete


So far the only workaround I've found to this is to delete the ports manually using

neutron port-delete <port_id>

wondering if there are other/cleaner ways?

vincent gravatar imagevincent ( 2016-01-08 16:07:32 -0500 )edit