diff options
| author | Zhongyue Luo <lzyeval@gmail.com> | 2012-05-16 06:01:43 +0000 |
|---|---|---|
| committer | Zhongyue Luo <lzyeval@gmail.com> | 2012-05-16 08:19:21 +0000 |
| commit | dc9c3cb3e376e6af263e4ffae88471317f830e0a (patch) | |
| tree | f0d17c9925475c44f47e672265849d7e4e189b4a /nova/flags.py | |
| parent | 823a114727e514f153b500a16c7cad98253300f5 (diff) | |
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
Diffstat (limited to 'nova/flags.py')
| -rw-r--r-- | nova/flags.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nova/flags.py b/nova/flags.py index aca602f7d..83a3c8535 100644 --- a/nova/flags.py +++ b/nova/flags.py @@ -410,7 +410,7 @@ global_opts = [ cfg.BoolOpt('enable_instance_password', default=True, help='Allows use of instance password during ' - 'server creation'), + 'server creation'), cfg.IntOpt('password_length', default=12, help='Length of generated instance admin passwords'), @@ -427,9 +427,9 @@ global_opts = [ default=False, help='Allow destination machine to match source for resize. ' 'Useful when testing in single-host environments.'), - cfg.StrOpt('stub_network', - default=False, - help='Stub network related code'), + cfg.BoolOpt('stub_network', + default=False, + help='Stub network related code'), cfg.IntOpt('reclaim_instance_interval', default=0, help='Interval in seconds for reclaiming deleted instances'), |
