← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1419970] [NEW] L3RpcCallback methods are not handled in rpc_worker processes

 

Public bug reported:

None of the L3RpcCallback methods are handled from the rpc_workers (when
rpc_workers > 0) but instead are handled solely by the parent neutron-
server process.

Examining a stack trace on neutron-server startup, I found that the
service_plugins are instantiated from the
NeutronManager._load_service_plugins() call in the
NeutronManager.__init__() method.  In the case of the L3RouterPlugin,
its __init__ includes a call to its setup_rpc() method, which has the
result of also starting the rpc listeners.  All of this is done in the
context of the neutron-server parent process the first time the
NeutronManager.get_plugin() method is invoked, and thus only the
neutron-server parent process handles any rpc callbacks for
L3RpcCallback methods.

** Affects: neutron
     Importance: Undecided
     Assignee: Erik Colnick (erikcolnick)
         Status: New

** Summary changed:

- L3RpcCallback methods are not handled in rpc_worker_threads
+ L3RpcCallback methods are not handled in rpc_worker processes

** Changed in: neutron
     Assignee: (unassigned) => Erik Colnick (erikcolnick)

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

Title:
  L3RpcCallback methods are not handled in rpc_worker processes

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  None of the L3RpcCallback methods are handled from the rpc_workers
  (when rpc_workers > 0) but instead are handled solely by the parent
  neutron-server process.

  Examining a stack trace on neutron-server startup, I found that the
  service_plugins are instantiated from the
  NeutronManager._load_service_plugins() call in the
  NeutronManager.__init__() method.  In the case of the L3RouterPlugin,
  its __init__ includes a call to its setup_rpc() method, which has the
  result of also starting the rpc listeners.  All of this is done in the
  context of the neutron-server parent process the first time the
  NeutronManager.get_plugin() method is invoked, and thus only the
  neutron-server parent process handles any rpc callbacks for
  L3RpcCallback methods.

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


Follow ups

References