← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1263446] Re: RPC Dispather implementation error

 

Any logic errors should be fixed in the Oslo messaging project.

** Changed in: neutron
       Status: New => Won't Fix

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

Title:
  RPC Dispather implementation error

Status in OpenStack Neutron (virtual network service):
  Won't Fix

Bug description:
  release: Havana
  file: neutron/openstack/common/rpc/dispather.py
  Code:
  def dispatch(self, ctxt, version, method, namespace, **kwargs):
      ......
      for proxyobj in self.callbacks:
          ......
          if is_compatible:
              kwargs = self._deserialize_args(ctxt, kwargs)
              result = getattr(proxyobj, method)(ctxt, **kwargs)
              return self.serializer.serialize_entity(ctxt, result)
          ......

  Method dispatch will return after call the specified method of the
  FIRST proxyobj in self.callbacks. Currently, this code is harmless,
  because there is only one ProxyObject in self.callbacks, but the logic
  is not right.

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


References