← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1381938] [NEW] port action failure in RPC handler is broken

 

Public bug reported:

RACE
2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply
2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher     incoming.message))
2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch
2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher     result = getattr(endpoint, method)(ctxt, **new_args)
2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/neutron/neutron/api/rpc/handlers/dhcp_rpc.py", line 294, in update_dhcp_port
2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher     'update_port')
2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/neutron/neutron/api/rpc/handlers/dhcp_rpc.py", line 81, in _port_action
2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher     net_id = port['port']['network_id']
2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher KeyError: 'network_id'
2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher

** Affects: neutron
     Importance: Undecided
     Assignee: Kevin Benton (kevinbenton)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Kevin Benton (kevinbenton)

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

Title:
  port action failure in RPC handler is broken

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  RACE
  2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
  2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply
  2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher     incoming.message))
  2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch
  2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
  2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
  2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher     result = getattr(endpoint, method)(ctxt, **new_args)
  2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/neutron/neutron/api/rpc/handlers/dhcp_rpc.py", line 294, in update_dhcp_port
  2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher     'update_port')
  2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/neutron/neutron/api/rpc/handlers/dhcp_rpc.py", line 81, in _port_action
  2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher     net_id = port['port']['network_id']
  2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher KeyError: 'network_id'
  2014-10-16 01:21:50.217 28447 TRACE oslo.messaging.rpc.dispatcher

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


Follow ups

References