From 1071b9da480d25e7cee556d7f9b483f8ac258ffb Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Wed, 5 Sep 2012 13:38:41 -0400 Subject: 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 --- 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 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.'), -- cgit