summaryrefslogtreecommitdiffstats
path: root/openstack/common/rpc/__init__.py
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2012-12-05 13:48:18 +0000
committerMark McLoughlin <markmc@redhat.com>2012-12-05 13:48:18 +0000
commit670dc3f8844e6fd3bcf9df1195891162a13719fe (patch)
tree50741bc3e7d47af21c20ea80c82f9ab3077ca930 /openstack/common/rpc/__init__.py
parent2f7a7edc41d0e7b663877592aeda14e766a64241 (diff)
downloadoslo-670dc3f8844e6fd3bcf9df1195891162a13719fe.tar.gz
oslo-670dc3f8844e6fd3bcf9df1195891162a13719fe.tar.xz
oslo-670dc3f8844e6fd3bcf9df1195891162a13719fe.zip
Allow remote stdlib exceptions to be deserialized
Fixes bug #1086798 Add 'exceptions' to allowed_rpc_exception_modules so that stdlib exceptions (like NotImplementedError) can be deserialized from a RemoteError. Change-Id: I57f40fed2a86cc08fb64b81d648c71cd7db8027c
Diffstat (limited to 'openstack/common/rpc/__init__.py')
-rw-r--r--openstack/common/rpc/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/openstack/common/rpc/__init__.py b/openstack/common/rpc/__init__.py
index f84c493..e11fa16 100644
--- a/openstack/common/rpc/__init__.py
+++ b/openstack/common/rpc/__init__.py
@@ -50,6 +50,7 @@ rpc_opts = [
default=['openstack.common.exception',
'nova.exception',
'cinder.exception',
+ 'exceptions',
],
help='Modules of exceptions that are permitted to be recreated'
'upon receiving exception data from an rpc call.'),