Remove unused [state] options
This has been unused since it was replaced by DBStateManager[1][2][3]. [1] https://review.opendev.org/c/openstack/cloudkitty/+/112846 [2] https://review.opendev.org/c/openstack/cloudkitty/+/120472 [3] https://review.opendev.org/c/openstack/cloudkitty/+/140114 Change-Id: Id062249e5d503de7c2b4990b2988e66caf6d6319 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
@@ -60,8 +60,6 @@ _opts = [
|
||||
cloudkitty.orchestrator.orchestrator_opts))),
|
||||
('output', list(itertools.chain(
|
||||
cloudkitty.config.output_opts))),
|
||||
('state', list(itertools.chain(
|
||||
cloudkitty.config.state_opts))),
|
||||
('storage', list(itertools.chain(
|
||||
cloudkitty.storage.storage_opts))),
|
||||
('storage_influxdb', list(itertools.chain(
|
||||
|
@@ -18,14 +18,6 @@ from oslo_db import options as db_options # noqa
|
||||
from oslo_messaging import opts # noqa
|
||||
|
||||
|
||||
state_opts = [
|
||||
cfg.StrOpt('backend',
|
||||
default='cloudkitty.backend.file.FileBackend',
|
||||
help='Backend for the state manager.'),
|
||||
cfg.StrOpt('basepath',
|
||||
default='/var/lib/cloudkitty/states/',
|
||||
help='Storage directory for the file state backend.'), ]
|
||||
|
||||
output_opts = [
|
||||
cfg.StrOpt('backend',
|
||||
default='cloudkitty.backend.file.FileBackend',
|
||||
@@ -38,7 +30,6 @@ output_opts = [
|
||||
help='Output pipeline'), ]
|
||||
|
||||
|
||||
cfg.CONF.register_opts(state_opts, 'state')
|
||||
cfg.CONF.register_opts(output_opts, 'output')
|
||||
|
||||
# oslo.db defaults
|
||||
|
@@ -0,0 +1,5 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
The ``[state]`` configuration group has been removed, because all options
|
||||
in this group have been unused.
|
Reference in New Issue
Block a user