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

2012-05-09 Thread Bilel Msekni

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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


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

2012-05-09 Thread Steven Dake
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@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

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


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

2012-05-09 Thread Vishvananda Ishaya
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@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
 
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp