[Openstack] Nova doesn't release ips when terminating instances

John Postlethwait john.postlethwait at nebula.com
Sat Jun 23 18:55:33 UTC 2012


Seems like this might be a pretty valid issue to report/fix though, no? 

I would assume those IPs should be unallocated/released if they are no longer attached to anything... 


John Postlethwait
Nebula, Inc.
206-999-4492


On Saturday, June 23, 2012 at 11:06 AM, Belmiro Moreira wrote:

> Hi,
> can you try with the flag:
> force_dhcp_release=false
> 
> But first you need to:
> > Manually set instance_id=NULL in the fixed_ips table allows things to
> > work again.
> > 
> 
> 
> 
> Belmiro
> CERN
> 
> 
> On Jun 23, 2012, at 5:11 AM, Lars Kellogg-Stedman wrote:
> 
> > When an instance terminates, the "allocated" field in the fixed_ips is
> > set to "0", but the "instance_id" field remains set. Once all the
> > addresses are in this state, new instances fail to start, and the
> > following error is logged by nova-network:
> > 
> > 2012-06-22 23:09:34 ERROR nova.rpc.amqp
> > [req-1fea207d-cd65-4375-9a04-17ba1ab92e3e
> > 22bb8e502d3944ad953e72fc77879c2f 76e2726cacca4be0bde6d8840f88c136]
> > Returning exception Zero fixed ips available. to caller
> > 
> > Which shows up in compute.log as:
> > 
> > 2012-06-22 23:08:35 TRACE nova.rpc.amqp RemoteError: Remote error:
> > NoMoreFixedIps Zero fixed ips available.
> > 
> > Manually set instance_id=NULL in the fixed_ips table allows things to
> > work again.
> > 
> > We're running the 2012.1.1 release and we're using the FlatDHCP model.
> > Is this a known bug?
> > 
> > Thanks,
> > 
> > -- 
> > Lars Kellogg-Stedman <lars at seas.harvard.edu (mailto:lars at seas.harvard.edu)> |
> > Senior Technologist | http://ac.seas.harvard.edu/
> > Academic Computing | http://code.seas.harvard.edu/
> > Harvard School of Engineering and Applied Sciences |
> > 
> > _______________________________________________
> > Mailing list: https://launchpad.net/~openstack
> > Post to : openstack at lists.launchpad.net (mailto:openstack at lists.launchpad.net)
> > Unsubscribe : https://launchpad.net/~openstack
> > More help : https://help.launchpad.net/ListHelp
> > 
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack at lists.launchpad.net (mailto:openstack at lists.launchpad.net)
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120623/620f5e4b/attachment.html>


More information about the Openstack mailing list