diff options
Diffstat (limited to 'nova/scheduler/filters/trusted_filter.py')
-rw-r--r-- | nova/scheduler/filters/trusted_filter.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/nova/scheduler/filters/trusted_filter.py b/nova/scheduler/filters/trusted_filter.py index c54487ad4e..059b6d8030 100644 --- a/nova/scheduler/filters/trusted_filter.py +++ b/nova/scheduler/filters/trusted_filter.py @@ -44,6 +44,7 @@ the Open Attestation project at: """ from oslo_log import log as logging +from oslo_log import versionutils from oslo_serialization import jsonutils from oslo_utils import timeutils import requests @@ -231,12 +232,10 @@ class TrustedFilter(filters.BaseHostFilter): def __init__(self): self.compute_attestation = ComputeAttestation() - LOG.warning(_LW('The TrustedFilter is considered experimental ' - 'by the OpenStack project because it receives much ' - 'less testing than the rest of Nova. This may change ' - 'in the future, but current deployers should be aware ' - 'that the use of it in production right now may be ' - 'risky.')) + msg = _LW('The TrustedFilter is deprecated as it has been marked ' + 'experimental for some time with no tests. It will be ' + 'removed in the 17.0.0 Queens release.') + versionutils.report_deprecated_feature(LOG, msg) # The hosts the instances are running on doesn't change within a request run_filter_once_per_request = True |