[openstack-dev] [Oslo] Does ZeroMQ RPCs handle caller side exceptions correctly?

Ray Pekowski pekowski at gmail.com
Sun Jan 27 17:06:23 UTC 2013


I have not had a chance to configure a ZeroMQ setup with OpenStack, but
have been getting a pretty good understanding of the RPC component from my
work on https://blueprints.launchpad.net/oslo/+spec/amqp
-rpc-fast-reply-queue.  The code review investigations led me to check how
the ZeroMQ RPC implementation handles certain error paths.  What I think I
discovered is that the ZeroMQ RPC implementation handles caller side
exceptions by simply call stack dumping the thread.  Nothing is logged,
nothing is returned in an RPC call response.  Is this correct?  Should this
be logged as a bug?  A simply try/catch around proxy.dispatch() like in
amqp.py would be the fix.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130127/58de06bb/attachment.html>


More information about the OpenStack-dev mailing list