← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1192893] Re: Cannot delete when there are no fixed ips available

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1192893

Title:
  Cannot delete when there are no fixed ips available

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  After failing to create an instance due to no more fixed ips
  available, I try to delete the instance in error state. The instance
  cannot be deleted, and Traceback shows in the log:

  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    rval = self.proxy.dispatch(ctxt, version, method, **args)s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    return getattr(proxyobj, method)(ctxt, **kwargs)
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    temp_level, payload)
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m  File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    self.gen.next()
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    return function(self, context, instance_uuid, *args, **kwargs)
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    do_terminate_instance()
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    retval = f(*args, **kwargs)
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    self._delete_instance(context, instance)
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    self._shutdown_instance(context, instance)
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    instance)
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    res = f(self, context, *args, **kwargs)
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    return self._get_instance_nw_info(context, instance)
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    return _get_impl().call(cfg.CONF, context, topic, msg, timeout)
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    rpc_amqp.get_connection_pool(conf, Connection))
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    rv = list(rv)
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00mTraceback (most recent call last):
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    rval = self.proxy.dispatch(ctxt, version, method, **args)
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    return getattr(proxyobj, method)(ctxt, **kwargs)
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    return func(self, context, *args, **kwargs)
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m  File "/usr/lib/python2.6/site-packages/nova/network/manager.py", line 1017, in get_instance_nw_info
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    rxtx_factor, host)
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m  File "/usr/lib/python2.6/site-packages/nova/network/manager.py", line 1038, in build_network_info_model
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    instance_host)
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m  File "/usr/lib/python2.6/site-packages/nova/network/manager.py", line 1126, in _get_subnets_from_network
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    instance_host)
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m  File "/usr/lib/python2.6/site-packages/nova/utils.py", line 679, in inner
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    retval = f(*args, **kwargs)
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m  File "/usr/lib/python2.6/site-packages/nova/network/manager.py", line 808, in _get_dhcp_ip
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    host=host)
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m  File "/usr/lib/python2.6/site-packages/nova/db/api.py", line 434, in fixed_ip_associate_pool
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    instance_id, host)
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m  File "/usr/lib/python2.6/site-packages/nova/db/sqlalchemy/api.py", line 113, in wrapper
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    return f(*args, **kwargs)
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m  File "/usr/lib/python2.6/site-packages/nova/db/sqlalchemy/api.py", line 1032, in fixed_ip_associate_pool
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m    raise exception.NoMoreFixedIps()
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00mNoMoreFixedIps: Zero fixed ips available.
  s2013-06-20 17:53:30 TRACE nova.openstack.common.rpc.amqp ^[[01;35m^[[00m
                                                                                                                             107,1         98

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1192893/+subscriptions