From 670dc3f8844e6fd3bcf9df1195891162a13719fe Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Wed, 5 Dec 2012 13:48:18 +0000 Subject: 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 --- openstack/common/rpc/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'openstack') 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.'), -- cgit