Merge "deprecate `compute_stats_class` config option"

This commit is contained in:
Jenkins
2016-03-04 16:23:36 +00:00
committed by Gerrit Code Review
2 changed files with 11 additions and 1 deletions

View File

@@ -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. '

View File

@@ -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.