← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1124674] Re: add-fixed-ip causes traceback

 

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

** Changed in: nova
    Milestone: None => grizzly-3

-- 
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/1124674

Title:
  add-fixed-ip causes traceback

Status in OpenStack Compute (Nova):
  Fix Released
Status in Tempest:
  Confirmed

Bug description:
  nova add-fixed-ip leads to a traceback in nova-network
  2013-02-13 16:10:57.711 ERROR nova.openstack.common.rpc.amqp [req-434b8722-566c-4345-933a-5646277cd6ef demo demo] Exception during message handling2013-02-13 16:10:57.711 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):2013-02-13 16:10:57.711 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 276, in _process_data2013-02-13 16:10:57.711 TRACE nova.openstack.common.rpc.amqp     rval = self.proxy.dispatch(ctxt, version, method, **args)2013-02-13 16:10:57.711 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch2013-02-13 16:10:57.711 TRACE nova.openstack.common.rpc.amqp     return getattr(proxyobj, method)(ctxt, **kwargs)2013-02-13 16:10:57.711 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/network/manager.py", line 756, in add_fixed_ip_to_instance2013-02-13 16:10:57.711 TRACE nova.openstack.common.rpc.amqp     self._allocate_fixed_ips(context, instance_id, host, [network])2013-02-13 16:10:57.711 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/network/manager.py", line 212, in _allocate_fixed_ips
  2013-02-13 16:10:57.711 TRACE nova.openstack.common.rpc.amqp     vpn=vpn, address=address)
  2013-02-13 16:10:57.711 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/network/manager.py", line 801, in allocate_fixed_ip
  2013-02-13 16:10:57.711 TRACE nova.openstack.common.rpc.amqp     instance_ref = self.db.instance_get(context, instance_id)
  2013-02-13 16:10:57.711 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/db/api.py", line 593, in instance_get
  2013-02-13 16:10:57.711 TRACE nova.openstack.common.rpc.amqp     return IMPL.instance_get(context, instance_id)
  2013-02-13 16:10:57.711 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 137, in wrapper
  2013-02-13 16:10:57.711 TRACE nova.openstack.common.rpc.amqp     return f(*args, **kwargs)
  2013-02-13 16:10:57.711 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 1520, in instance_get
  2013-02-13 16:10:57.711 TRACE nova.openstack.common.rpc.amqp     raise exception.InstanceNotFound(instance_id=instance_id)
  2013-02-13 16:10:57.711 TRACE nova.openstack.common.rpc.amqp InstanceNotFound: Instance f96d5c44-6c17-46cb-8b5c-057717ce076d could not be found.

  there seems to be quite a bit of mixing of instance['id'] with
  instance['uuid']

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