← Back to team overview

openstack team mailing list archive

Re: Floating IPs don't get dissociated after delete

 

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@xxxxxxxxxxxxxxxxxxx
> 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


Follow ups

References