diff options
author | Joe Gordon <jogo@cloudscaling.com> | 2012-03-13 18:03:28 -0700 |
---|---|---|
committer | Joe Gordon <jogo@cloudscaling.com> | 2012-03-13 18:05:04 -0700 |
commit | db3c63d199275b92f9106b275e76fdc1eb62d6ba (patch) | |
tree | 5c434e991875f87e48314e715f413839f31b69e9 | |
parent | 78a067e9d3b848067b933d58a2abecc96753bc36 (diff) | |
download | nova-db3c63d199275b92f9106b275e76fdc1eb62d6ba.tar.gz nova-db3c63d199275b92f9106b275e76fdc1eb62d6ba.tar.xz nova-db3c63d199275b92f9106b275e76fdc1eb62d6ba.zip |
Cleanup flags
sql_max_retries: removed (unused)
instance_usage_audit_period: fixed help
default_schedule_zone: fixed help
Change-Id: I952b38497987780d30622fef526edd2d53860f99
-rw-r--r-- | nova/console/manager.py | 2 | ||||
-rw-r--r-- | nova/flags.py | 9 |
2 files changed, 4 insertions, 7 deletions
diff --git a/nova/console/manager.py b/nova/console/manager.py index b384ff354..58ac2174b 100644 --- a/nova/console/manager.py +++ b/nova/console/manager.py @@ -37,7 +37,7 @@ console_manager_opts = [ help='Stub calls to compute worker for tests'), cfg.StrOpt('console_public_hostname', default=socket.gethostname(), - help='Publicly visable name for this console host'), + help='Publicly visible name for this console host'), ] FLAGS = flags.FLAGS diff --git a/nova/flags.py b/nova/flags.py index 38c2258c2..e88ec7da2 100644 --- a/nova/flags.py +++ b/nova/flags.py @@ -321,10 +321,6 @@ global_opts = [ cfg.IntOpt('sql_idle_timeout', default=3600, help='timeout before idle sql connections are reaped'), - cfg.IntOpt('sql_max_retries', - default=12, - help='maximum number of retries for connecting to the sql ' - 'database'), cfg.IntOpt('sql_retry_interval', default=10, help='interval between retries of opening a sql connection'), @@ -391,7 +387,8 @@ global_opts = [ help='Memcached servers or None for in process cache.'), cfg.StrOpt('instance_usage_audit_period', default='month', - help='time period to generate instance usages for.'), + help='time period to generate instance usages for. ' + 'Time period must be hour, day, month or year'), cfg.IntOpt('bandwith_poll_interval', default=600, help='interval to pull bandwidth usage info'), @@ -449,7 +446,7 @@ global_opts = [ help='maximum time since last check-in for up service'), cfg.StrOpt('default_schedule_zone', default=None, - help='availability zone to use when user doesnt specify one'), + help='availability zone to use when user doesn\'t specify one'), cfg.ListOpt('isolated_images', default=[], help='Images to run on isolated host'), |