← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1227247] Re: keyerror when booting a vm with specific port id

 

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1227247

Title:
  keyerror when booting a vm with specific port id

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  Got this stacktrace when booting a VM whose NIC is tied to a specified
  port:

  update failed
  2013-09-16 10:52:30.622 25580 TRACE neutron.api.v2.resource Traceback (most recent call last):
  2013-09-16 10:52:30.622 25580 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/resource.py", line 84, in resource
  2013-09-16 10:52:30.622 25580 TRACE neutron.api.v2.resource     result = method(request=request, **args)
  2013-09-16 10:52:30.622 25580 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/base.py", line 486, in update2013-09-16 10:52:30.622 25580 TRACE neutron.api.v2.resource     obj = obj_updater(request.context, id, **kwargs)
  2013-09-16 10:52:30.622 25580 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/plugins/nicira/NeutronPlugin.py", line 1313, in update_port2013-09-16 10:52:30.622 25580 TRACE neutron.api.v2.resource     port)
  2013-09-16 10:52:30.622 25580 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/db/portbindings_db.py", line 81, in _process_portbindings_create_and_update
  2013-09-16 10:52:30.622 25580 TRACE neutron.api.v2.resource     PortBindingPort).filter_by(port_id=port['id']).first()2013-09-16 10:52:30.622 25580 TRACE neutron.api.v2.resource KeyError: 'id'
  2013-09-16 10:52:30.622 25580 TRACE neutron.api.v2.resource

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