TrivialFix: Remove deprecated option 'DEFAULT/verbose'

Option "verbose" from group "DEFAULT" is deprecated for removal.
Its value may be silently ignored in the future.

If this option is not set explicitly, there is no such warning.
Furthermore, the default value of verbose is true, so there is no
need to set this value in config files.

And we use oslo_config.generator to generate a sample file.
We'd better fix the doc not encourage user to set verbose=True.

Change-Id: Ie9a68e511425d34cbce04e416f258db3064d0479
This commit is contained in:
binean 2016-01-20 17:08:47 +08:00
parent 33b3183672
commit dac458af56
2 changed files with 1 additions and 3 deletions

View File

@ -130,7 +130,6 @@ function configure_manila {
iniset $MANILA_CONF DEFAULT auth_strategy keystone iniset $MANILA_CONF DEFAULT auth_strategy keystone
iniset $MANILA_CONF DEFAULT debug True iniset $MANILA_CONF DEFAULT debug True
iniset $MANILA_CONF DEFAULT verbose True
iniset $MANILA_CONF DEFAULT scheduler_driver $MANILA_SCHEDULER_DRIVER iniset $MANILA_CONF DEFAULT scheduler_driver $MANILA_SCHEDULER_DRIVER
iniset $MANILA_CONF DEFAULT share_name_template ${SHARE_NAME_PREFIX}%s iniset $MANILA_CONF DEFAULT share_name_template ${SHARE_NAME_PREFIX}%s
iniset $MANILA_CONF DATABASE connection `database_connection_url manila` iniset $MANILA_CONF DATABASE connection `database_connection_url manila`

View File

@ -318,8 +318,7 @@ Open Manila configuration file `/etc/manila/manila.conf`::
# Set scheduler driver with usage of filters. Recommended. # Set scheduler driver with usage of filters. Recommended.
scheduler_driver = manila.scheduler.drivers.filter.FilterScheduler scheduler_driver = manila.scheduler.drivers.filter.FilterScheduler
# Set following two opts to True to get maximum info in logging. # Set following opt to True to get more info in logging.
verbose = True
debug = True debug = True
[london] [london]