diff --git a/ceilometer/cmd/polling.py b/ceilometer/cmd/polling.py index 9b3000e89c..6d8be9553d 100644 --- a/ceilometer/cmd/polling.py +++ b/ceilometer/cmd/polling.py @@ -68,9 +68,11 @@ CLI_OPTS = [ 'resource polling'), MultiChoicesOpt('pollster-list', default=[], + deprecated_for_removal=True, dest='pollster_list', help='List of pollsters (or wildcard templates) to be ' - 'used while polling'), + 'used while polling. This option is deprecated. ' + 'Configure pollsters via polling.yaml'), ] diff --git a/releasenotes/notes/deprecate-pollster-list-ccf22b0dea44f043.yaml b/releasenotes/notes/deprecate-pollster-list-ccf22b0dea44f043.yaml new file mode 100644 index 0000000000..129dc9d395 --- /dev/null +++ b/releasenotes/notes/deprecate-pollster-list-ccf22b0dea44f043.yaml @@ -0,0 +1,5 @@ +--- +deprecations: + - | + Deprecating support for enabling pollsters via command line. Meter and + pollster enablement should be configured via polling.yaml file.