Revision history [back]

Reclaiming orphaned Floating IP addresses?


It's surprisingly easy to find yourself with a large number of orphaned objects in your OpenStack installation, i.e resources left behind after a project or tenant has been deleted. This can be particularly problematic when it comes to floating IP addresses as these can quickly eat into what precious few addresses you might have available, especially if they're publically accessible.

Surfing the internet for this problem shows we could use "nova floating_ip_bulk_list" to list the entire floating IPs available and then we can delete the orphaned floating IPs by deleting whichever the IPs has the project set to NULL in the floating_ip_bulk_list. But the method only works for nova-network.

Is there any other way I can use other than getting into Database to delete the orphaned floating IPs?