Browse Source

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
changes/15/214415/4
Hongbin Lu 6 years ago
parent
commit
d6ccd68575
4 changed files with 5 additions and 8 deletions
  1. +0
    -1
      devstack/lib/magnum
  2. +0
    -3
      doc/source/dev/dev-manual-devstack.rst
  3. +5
    -3
      etc/magnum/magnum.conf.sample
  4. +0
    -1
      magnum/tests/conf_fixture.py

+ 0
- 1
devstack/lib/magnum 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


+ 0
- 3
doc/source/dev/dev-manual-devstack.rst 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


+ 5
- 3
etc/magnum/magnum.conf.sample 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


+ 0
- 1
magnum/tests/conf_fixture.py 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)

Loading…
Cancel
Save