RPC Endpoint reserves the 'target' attribute as documented:
Each endpoint object may have a target attribute which may have namespace and version fields set. By default, we use the ‘null namespace’ and version 1.0. Incoming method calls will be dispatched to the first endpoint with the requested method, a matching namespace and a compatible version number.
However messaging should verify that the attribute has not been overridden by a user's method call before attempting to use it.
This is being done by the neutron-openvswitch-agent
http://logs.openstack.org/06/486706/3/check/gate-telemetry-dsvm-integration-oslo.messaging-ubuntu-xenial/e08d0d5/logs/screen-q-agt.txt.gz?level=WARNING
Aug 04 18:09:43.131995 ubuntu-xenial-internap-mtl01-10262876 neutron-openvswitch-agent[8107]: ERROR oslo_messaging.rpc.server [-] Exception during message handling: AttributeError: 'function' object has no attribute 'accepted_namespaces'
Aug 04 18:09:43.132177 ubuntu-xenial-internap-mtl01-10262876 neutron-openvswitch-agent[8107]: ERROR oslo_messaging.rpc.server Traceback (most recent call last):
Aug 04 18:09:43.132307 ubuntu-xenial-internap-mtl01-10262876 neutron-openvswitch-agent[8107]: ERROR oslo_messaging.rpc.server File "/opt/stack/new/oslo.messaging/oslo_messaging/rpc/server.py", line 160, in _process_incoming
Aug 04 18:09:43.132445 ubuntu-xenial-internap-mtl01-10262876 neutron-openvswitch-agent[8107]: ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
Aug 04 18:09:43.132569 ubuntu-xenial-internap-mtl01-10262876 neutron-openvswitch-agent[8107]: ERROR oslo_messaging.rpc.server File "/opt/stack/new/oslo.messaging/oslo_messaging/rpc/dispatcher.py", line 207, in dispatch
Aug 04 18:09:43.132706 ubuntu-xenial-internap-mtl01-10262876 neutron-openvswitch-agent[8107]: ERROR oslo_messaging.rpc.server if not (self._is_namespace(target, namespace) and
Aug 04 18:09:43.132832 ubuntu-xenial-internap-mtl01-10262876 neutron-openvswitch-agent[8107]: ERROR oslo_messaging.rpc.server File "/opt/stack/new/oslo.messaging/oslo_messaging/rpc/dispatcher.py", line 170, in _is_namespace
Aug 04 18:09:43.132945 ubuntu-xenial-internap-mtl01-10262876 neutron-openvswitch-agent[8107]: ERROR oslo_messaging.rpc.server return namespace in target.accepted_namespaces
Aug 04 18:09:43.133058 ubuntu-xenial-internap-mtl01-10262876 neutron-openvswitch-agent[8107]: ERROR oslo_messaging.rpc.server AttributeError: 'function' object has no attribute 'accepted_namespaces'
Fix proposed to branch: master /review. openstack. org/491851
Review: https:/