Ask Your Question

Reclaiming orphaned Floating IP addresses?

asked 2016-06-16 14:31:48 -0500

Vinoth gravatar image


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?



edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-06-16 18:24:56 -0500

tictoc gravatar image

Floating IP

  1. Deallocate a Floating IP from your account:

neutron floatingip-delete FLOATING_IP_ID


neutron floatingip-delete b65bd14e-8117-4661-8e5c-ab2bee5ec486


Deleted floatingip: b65bd14e-8117-4661-8e5c-ab2bee5ec486

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-06-16 14:31:48 -0500

Seen: 474 times

Last updated: Jun 16 '16