Set volume usage audit period to not NoneType

The setting of NoneType causes cinder-volume-usage-audit to not start up
and throw a stacktrace. This sets the config default back to something
it can use.

Change-Id: I4a9751025486b77dd7cf45d0aaad02e2325055d4
Closes-Bug: #1320541
This commit is contained in:
Mike Perez 2014-05-17 15:18:59 -04:00
parent 721e657073
commit d46ee739d6
2 changed files with 2 additions and 1 deletions
cinder/common
etc/cinder

@ -157,6 +157,7 @@ global_opts = [
default=None,
help='Default volume type to use'),
cfg.StrOpt('volume_usage_audit_period',
default='month',
help='Time period for which to generate volume usages. '
'The options are hour, day, month, or year.'),
cfg.StrOpt('rootwrap_config',

@ -543,7 +543,7 @@
# Time period for which to generate volume usages. The options
# are hour, day, month, or year. (string value)
#volume_usage_audit_period=<None>
#volume_usage_audit_period=month
# Path to the rootwrap configuration file to use for running
# commands as root (string value)