Ask Your Question
0

Reclaiming orphaned Floating IP addresses?

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

Vinoth gravatar image

Hi,

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?

Thanks,

Vinoth

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

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

tictoc gravatar image

Floating IP https://community.hpcloud.com/article...

  1. Deallocate a Floating IP from your account:

neutron floatingip-delete FLOATING_IP_ID

Example:

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

Output:

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 346 times

Last updated: Jun 16 '16