diff --git a/nova/compute/resource_tracker.py b/nova/compute/resource_tracker.py index ebe8aa0f511f..f0089ccdb2b6 100644 --- a/nova/compute/resource_tracker.py +++ b/nova/compute/resource_tracker.py @@ -48,7 +48,9 @@ resource_tracker_opts = [ help='Amount of memory in MB to reserve for the host'), cfg.StrOpt('compute_stats_class', default='nova.compute.stats.Stats', - help='Class that will manage stats for the local compute host'), + help='DEPRECATED: Class that will manage stats for the ' + 'local compute host', + deprecated_for_removal=True), cfg.ListOpt('compute_resources', default=[], help='DEPRECATED: The names of the extra resources to track. ' diff --git a/releasenotes/notes/deprecate_compute_stats_class-229abfcb8816bdbd.yaml b/releasenotes/notes/deprecate_compute_stats_class-229abfcb8816bdbd.yaml new file mode 100644 index 000000000000..1adec46ec0e8 --- /dev/null +++ b/releasenotes/notes/deprecate_compute_stats_class-229abfcb8816bdbd.yaml @@ -0,0 +1,8 @@ +--- +deprecations: + + - Deprecate ``compute_stats_class`` config option. This allowed + loading an alternate implementation for collecting statistics for + the local compute host. Deployments that felt the need to use + this facility are encoraged to propose additions upstream so we + can create a stable and supported interface here.