Remove deprecated option db_enforce_mysql_charset

As per the config option docstring, the option was supposed to have been
removed back in Juno. Removing now.

DocImpact

Change-Id: If2ac2fd38cc1ea5e3ed3d4fdb8eb97e13bcb93c8
This commit is contained in:
Flavio Percoco 2015-02-26 22:11:57 +01:00
parent 15fea34808
commit efeb69f903
4 changed files with 1 additions and 21 deletions

View File

@ -4,13 +4,6 @@
# From glance.manage # From glance.manage
# #
# DEPRECATED. TO BE REMOVED IN THE JUNO RELEASE. Whether or not to
# enforce that all DB tables have charset utf8. If your database
# tables do not have charset utf8 you will need to convert before this
# option is removed. This option is only relevant if your database
# engine is MySQL. (boolean value)
#db_enforce_mysql_charset = true
# Print debugging output (set logging level to DEBUG instead of # Print debugging output (set logging level to DEBUG instead of
# default WARNING level). (boolean value) # default WARNING level). (boolean value)
#debug = false #debug = false

View File

@ -91,16 +91,6 @@ task_opts = [
'based on the worst case scenario and be prepared to ' 'based on the worst case scenario and be prepared to '
'act in case they were wrong.')), 'act in case they were wrong.')),
] ]
manage_opts = [
cfg.BoolOpt('db_enforce_mysql_charset',
default=True,
help=_('DEPRECATED. TO BE REMOVED IN THE JUNO RELEASE. '
'Whether or not to enforce that all DB tables have '
'charset utf8. If your database tables do not have '
'charset utf8 you will need to convert before this '
'option is removed. This option is only relevant if '
'your database engine is MySQL.'))
]
common_opts = [ common_opts = [
cfg.BoolOpt('allow_additional_image_properties', default=True, cfg.BoolOpt('allow_additional_image_properties', default=True,
help=_('Whether to allow users to specify image properties ' help=_('Whether to allow users to specify image properties '
@ -189,7 +179,6 @@ CONF = cfg.CONF
CONF.register_opts(paste_deploy_opts, group='paste_deploy') CONF.register_opts(paste_deploy_opts, group='paste_deploy')
CONF.register_opts(image_format_opts, group='image_format') CONF.register_opts(image_format_opts, group='image_format')
CONF.register_opts(task_opts, group='task') CONF.register_opts(task_opts, group='task')
CONF.register_opts(manage_opts)
CONF.register_opts(common_opts) CONF.register_opts(common_opts)

View File

@ -97,8 +97,7 @@ _cache_opts = [
glance.registry.client.registry_client_ctx_opts))), glance.registry.client.registry_client_ctx_opts))),
] ]
_manage_opts = [ _manage_opts = [
(None, list(itertools.chain( (None, [])
glance.common.config.manage_opts)))
] ]

View File

@ -305,7 +305,6 @@ class OptsTestCase(utils.BaseTestCase):
None, None,
] ]
expected_opt_names = [ expected_opt_names = [
'db_enforce_mysql_charset'
] ]
self._check_opt_groups(opt_list, expected_opt_groups) self._check_opt_groups(opt_list, expected_opt_groups)