Remove deprecated config 'verbose'

The OpenStack community decided to deprecate the config 'verbose',
so we remove it from Magnum.

Change-Id: Ia19728e080e1903b118bff33229689b1091d3891
Closes-Bug: #1486308
This commit is contained in:
Hongbin Lu 2015-08-18 21:53:35 -04:00
parent fb168ffb47
commit d6ccd68575
4 changed files with 5 additions and 8 deletions

View File

@ -123,7 +123,6 @@ function create_magnum_conf {
# (Re)create ``magnum.conf``
rm -f $MAGNUM_CONF
iniset $MAGNUM_CONF DEFAULT verbose "True"
iniset $MAGNUM_CONF DEFAULT debug "$ENABLE_DEBUG_LOG_LEVEL"
iniset $MAGNUM_CONF oslo_messaging_rabbit rabbit_userid $RABBIT_USERID
iniset $MAGNUM_CONF oslo_messaging_rabbit rabbit_password $RABBIT_PASSWORD

View File

@ -169,9 +169,6 @@ Configure magnum::
# enable debugging output
sudo sed -i "s/#debug\s*=.*/debug=true/" /etc/magnum/magnum.conf
# enable more verbose output
sudo sed -i "s/#verbose\s*=.*/verbose=true/" /etc/magnum/magnum.conf
# set RabbitMQ userid
sudo sed -i "s/#rabbit_userid\s*=.*/rabbit_userid=stackrabbit/" \
/etc/magnum/magnum.conf

View File

@ -43,9 +43,11 @@
# default WARNING level). (boolean value)
#debug = false
# Print more verbose output (set logging level to INFO instead of
# default WARNING level). (boolean value)
#verbose = false
# If set to false, will disable INFO logging level, making WARNING the
# default. (boolean value)
# This option is deprecated for removal.
# Its value may be silently ignored in the future.
#verbose = true
# The name of a logging configuration file. This file is appended to
# any existing logging configuration files. For details about logging

View File

@ -34,6 +34,5 @@ class ConfFixture(fixtures.Fixture):
self.conf.set_default('host', 'fake-mini')
self.conf.set_default('connection', "sqlite://", group='database')
self.conf.set_default('sqlite_synchronous', False, group='database')
self.conf.set_default('verbose', True)
config.parse_args([], default_config_files=[])
self.addCleanup(self.conf.reset)