The RPC calls should treat exceptions.
gkotton@gkotton-ubuntu12:~/devstack$ sudo python /opt/stack/quantum/bin/quantum-dhcp-agent --config-file /etc/quantum/quantum.conf --config-file=/etc/quantum/dhcp_agent.ini
Traceback (most recent call last):
File "/opt/stack/quantum/bin/quantum-dhcp-agent", line 20, in <module>
main()
File "/opt/stack/quantum/quantum/agent/dhcp_agent.py", line 505, in main
mgr.run()
File "/opt/stack/quantum/quantum/agent/dhcp_agent.py", line 73, in run
self.enable_dhcp_helper(network_id)
File "/opt/stack/quantum/quantum/agent/dhcp_agent.py", line 103, in enable_dhcp_helper
network = self.plugin_rpc.get_network_info(network_id)
File "/opt/stack/quantum/quantum/agent/dhcp_agent.py", line 222, in get_network_info
topic=self.topic))
File "/opt/stack/quantum/quantum/openstack/common/rpc/proxy.py", line 80, in call
return rpc.call(context, self._get_topic(topic), msg, timeout)
File "/opt/stack/quantum/quantum/openstack/common/rpc/__init__.py", line 102, in call
return _get_impl().call(cfg.CONF, context, topic, msg, timeout)
File "/opt/stack/quantum/quantum/openstack/common/rpc/impl_kombu.py", line 712, in call
rpc_amqp.get_connection_pool(conf, Connection))
File "/opt/stack/quantum/quantum/openstack/common/rpc/amqp.py", line 368, in call
rv = list(rv)
File "/opt/stack/quantum/quantum/openstack/common/rpc/amqp.py", line 336, in __iter__
raise result
quantum.openstack.common.rpc.common.RemoteError: Remote error: NameError global name 'cause_exception' is not defined
[u'Traceback (most recent call last):\n', u' File "/opt/stack/quantum/quantum/openstack/common/rpc/amqp.py", line 275, in _process_data\n rval = self.proxy.dispatch(ctxt, version, method, **args)\n', u' File "/opt/stack/quantum/quantum/openstack/common/rpc/dispatcher.py", line 145, in dispatch\n return getattr(proxyobj, method)(ctxt, **kwargs)\n', u' File "/opt/stack/quantum/quantum/db/dhcp_rpc_base.py", line 59, in get_network_info\n network[\'ports\'] = plugin.get_ports(context, filters=filters)\n', u' File "/opt/stack/quantum/quantum/db/db_base_plugin_v2.py", line 1202, in get_ports\n cause_exception\n', u"NameError: global name 'cause_exception' is not defined\n"].
gkotton@gkotton-ubuntu12:~/devstack$
gary, mark, can you two coordinate on this fix? assigning to RC1 until proven otherwise.