From dc9c3cb3e376e6af263e4ffae88471317f830e0a Mon Sep 17 00:00:00 2001 From: Zhongyue Luo Date: Wed, 16 May 2012 06:01:43 +0000 Subject: Misused and not used config options Fixes bug #1000071 [nova.flag.py] stub_network: StrOpt -> BoolOpt [nova.api.sizelimit.py] osapi_max_request_body_size: BoolOpt -> IntOpt [nova.compute.api.py] find_host_timeout: not used [nova.rpc.__init__.py] allowed_rpc_exception_modules: IntOpt -> ListOpt [nova.virt.vmwareapi_conn.py] vmwareapi_api_retry_count: FloatOpt -> IntOpt [nova.volume.driver.py] num_shell_tries: StrOpt -> IntOpt num_iscsi_scan_tries: StrOpt -> IntOpt [nova.volume.driver.py] san_thin_provision: 'true' -> True san_is_local: 'false' -> False Change-Id: I07ab60b1d881c9475f4f2517a432f1e934d8ae52 --- nova/compute/api.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'nova/compute') diff --git a/nova/compute/api.py b/nova/compute/api.py index de4042de9..6401b5829 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -51,12 +51,7 @@ from nova import volume LOG = logging.getLogger(__name__) -find_host_timeout_opt = cfg.StrOpt('find_host_timeout', - default=30, - help='Timeout after NN seconds when looking for a host.') - FLAGS = flags.FLAGS -FLAGS.register_opt(find_host_timeout_opt) flags.DECLARE('consoleauth_topic', 'nova.consoleauth') -- cgit