← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1099179] Re: DHCP RPC context exception in NEC plugin

 

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

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

Title:
  DHCP RPC context exception in NEC plugin

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

Bug description:
  RPC context was changed in https://review.openstack.org/#/c/15726
  RPC between DHCP agent and Quatum server raises an exception in NEC plugin.

  [-] Exception during message handling
  Traceback (most recent call last):
    File "/opt/stack/quantum/quantum/openstack/common/rpc/amqp.py", line 276, in _process_data
      rval = self.proxy.dispatch(ctxt, version, method, **args)
    File "/opt/stack/quantum/quantum/openstack/common/rpc/dispatcher.py", line 133, in dispatch
      return getattr(proxyobj, method)(ctxt, **kwargs)
    File "/opt/stack/quantum/quantum/db/dhcp_rpc_base.py", line 37, in get_active_networks
      plugin.get_networks(context, filters=filters)]
    File "/opt/stack/quantum/quantum/plugins/nec/nec_plugin.py", line 306, in get_networks
      nets = super(NECPluginV2, self).get_networks(context, filters, None)
    File "/opt/stack/quantum/quantum/db/db_base_plugin_v2.py", line 983, in get_networks
      filters=filters, fields=fields)
    File "/opt/stack/quantum/quantum/db/db_base_plugin_v2.py", line 217, in _get_collection
      query = self._get_collection_query(context, model, filters)
    File "/opt/stack/quantum/quantum/db/db_base_plugin_v2.py", line 211, in _get_collection_query
      collection = self._model_query(context, model)
    File "/opt/stack/quantum/quantum/db/db_base_plugin_v2.py", line 90, in _model_query
      query = context.session.query(model)
    File "/opt/stack/quantum/quantum/openstack/common/rpc/common.py", line 331, in __getattr__
      raise AttributeError(key)
  AttributeError: session

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