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
This commit is contained in:
@@ -427,7 +427,7 @@ global_opts = [
|
|||||||
default=False,
|
default=False,
|
||||||
help='Allow destination machine to match source for resize. '
|
help='Allow destination machine to match source for resize. '
|
||||||
'Useful when testing in single-host environments.'),
|
'Useful when testing in single-host environments.'),
|
||||||
cfg.StrOpt('stub_network',
|
cfg.BoolOpt('stub_network',
|
||||||
default=False,
|
default=False,
|
||||||
help='Stub network related code'),
|
help='Stub network related code'),
|
||||||
cfg.IntOpt('reclaim_instance_interval',
|
cfg.IntOpt('reclaim_instance_interval',
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ rpc_opts = [
|
|||||||
cfg.IntOpt('rpc_response_timeout',
|
cfg.IntOpt('rpc_response_timeout',
|
||||||
default=60,
|
default=60,
|
||||||
help='Seconds to wait for a response from call or multicall'),
|
help='Seconds to wait for a response from call or multicall'),
|
||||||
cfg.IntOpt('allowed_rpc_exception_modules',
|
cfg.ListOpt('allowed_rpc_exception_modules',
|
||||||
default=['nova.exception'],
|
default=['nova.exception'],
|
||||||
help='Modules of exceptions that are permitted to be recreated'
|
help='Modules of exceptions that are permitted to be recreated'
|
||||||
'upon receiving exception data from an rpc call.'),
|
'upon receiving exception data from an rpc call.'),
|
||||||
|
|||||||
Reference in New Issue
Block a user