summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorAlex Meade <alex.meade@rackspace.com>2012-03-21 19:13:16 +0000
committerAlex Meade <alex.meade@rackspace.com>2012-04-06 14:55:50 -0400
commita0150a4d9e751ec222221558dfe89a66b0c118ab (patch)
treee0eedb7c735b80e4c2e6d416acc66237874ad1e2 /nova/openstack
parentb573276e00f486120b35d84b892df2c0fa617acc (diff)
downloadnova-a0150a4d9e751ec222221558dfe89a66b0c118ab.tar.gz
nova-a0150a4d9e751ec222221558dfe89a66b0c118ab.tar.xz
nova-a0150a4d9e751ec222221558dfe89a66b0c118ab.zip
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: Ife3b64b19fe8abbc730184d4ee7d9fcabfd29db3
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions