diff --git a/cloudkitty/common/config.py b/cloudkitty/common/config.py index cbd37e14..9052d5b2 100644 --- a/cloudkitty/common/config.py +++ b/cloudkitty/common/config.py @@ -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( diff --git a/cloudkitty/config.py b/cloudkitty/config.py index 2c730423..87d2c224 100644 --- a/cloudkitty/config.py +++ b/cloudkitty/config.py @@ -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 diff --git a/releasenotes/notes/remove-state-opts-a013e25c744d7494.yaml b/releasenotes/notes/remove-state-opts-a013e25c744d7494.yaml new file mode 100644 index 00000000..1ffa14f2 --- /dev/null +++ b/releasenotes/notes/remove-state-opts-a013e25c744d7494.yaml @@ -0,0 +1,5 @@ +--- +upgrade: + - | + The ``[state]`` configuration group has been removed, because all options + in this group have been unused.