commit a0150a4d9e751ec222221558dfe89a66b0c118ab
Author: Alex Meade <email address hidden>
Date: Wed Mar 21 19:13:16 2012 +0000
Add the serialization of exceptions for RPC calls.
This change uses json to serialize an exception so that it can be sent
through RPC calls to be reconstructed on the other side. The traceback is added
to the exception message. If recreating the exception fails for whatever reason
then a RemoteError is created containing all of the exception information.
Adds flag 'allowed_rpc_exception_modules' to prevent dangerous modules from
being accessed and allowing arbitrary code to be run.
Reviewed: https:/ /review. openstack. org/5749 github. com/openstack/ nova/commit/ a0150a4d9e751ec 222221558dfe89a 66b0c118ab
Committed: http://
Submitter: Jenkins
Branch: master
commit a0150a4d9e751ec 222221558dfe89a 66b0c118ab
Author: Alex Meade <email address hidden>
Date: Wed Mar 21 19:13:16 2012 +0000
Add the serialization of exceptions for RPC calls.
This change uses json to serialize an exception so that it can be sent
through RPC calls to be reconstructed on the other side. The traceback is added
to the exception message. If recreating the exception fails for whatever reason
then a RemoteError is created containing all of the exception information.
Adds flag 'allowed_ rpc_exception_ modules' to prevent dangerous modules from
being accessed and allowing arbitrary code to be run.
Fixes bug 920705
Fixes bug 940500
Change-Id: Ife3b64b19fe8ab bc730184d4ee7d9 fcabfd29db3