[Openstack] Floating IPs don't get dissociated after delete

Steven Dake sdake at redhat.com
Wed May 9 15:26:02 UTC 2012


On 05/09/2012 07:20 AM, Bilel Msekni wrote:
> Hi , 
> 
> I am having this problem just like many others.
> 
> Each time I delete a VM, the floating IP doesn't get automatically
> dissociated, has anyone encountred this problem and solved it ?
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

Bilel,

We had this problem in openstack during our floating ip implementation
of heat (http://www.heat-api.org).  We solved it by using the floating
ip.delete api in nova.  See:

https://github.com/heat-api/heat/blob/master/heat/engine/eip.py
line 118

The program flow on delete is:
delete an instance
wait for instance to disappear
delete floating ip

Regards
-steve




More information about the Openstack mailing list