summaryrefslogtreecommitdiffstats
path: root/openstack/common/rpc/__init__.py
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2012-09-05 13:38:41 -0400
committerDan Prince <dprince@redhat.com>2012-09-05 13:38:41 -0400
commit1071b9da480d25e7cee556d7f9b483f8ac258ffb (patch)
tree7c4b1c274ca9a7a19f3b0a43d21984e5906ea792 /openstack/common/rpc/__init__.py
parent376f41ef77ac0a9804517ac9e59896598e3d6d2f (diff)
downloadoslo-1071b9da480d25e7cee556d7f9b483f8ac258ffb.tar.gz
oslo-1071b9da480d25e7cee556d7f9b483f8ac258ffb.tar.xz
oslo-1071b9da480d25e7cee556d7f9b483f8ac258ffb.zip
Add cinder to allowed_rpc_exception_modules.
When configuring Cinder I would rather not have to specify allowed_rpc_exception_modules in my default config. This patch updates the default list of allowed_rpc_exception_modules to include cinder.exception. Change-Id: Ib7babb1ceb13e86c555947ebc869b50afd7e9b49
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 f9e44c7..5b1f8d1 100644
--- a/openstack/common/rpc/__init__.py
+++ b/openstack/common/rpc/__init__.py
@@ -49,6 +49,7 @@ rpc_opts = [
cfg.ListOpt('allowed_rpc_exception_modules',
default=['openstack.common.exception',
'nova.exception',
+ 'cinder.exception',
],
help='Modules of exceptions that are permitted to be recreated'
'upon receiving exception data from an rpc call.'),