← Back to team overview

openstack team mailing list archive

Re: Floating IPs don't get dissociated after delete

 

This definitely sounds like a bug. Floating Ips should be automatically disassociated on delete

Vish

On May 9, 2012, at 8:26 AM, Steven Dake wrote:

> 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
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp



References