From 430638888c987a99e537e2ac956087a7310ecdc6 Mon Sep 17 00:00:00 2001 From: Dan Smith Date: Thu, 7 Jul 2016 11:26:00 -0700 Subject: [PATCH] Deprecate the quota_driver config option This starts the timer on quota_driver so we can remove or restrain it in Ocata. Change-Id: Ic0fd0433aa9e60d98f62f90ae8cdf544a3c860ee --- nova/conf/quota.py | 3 ++- .../notes/quota-driver-is-deprecated-a915edf8777f3ddb.yaml | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/quota-driver-is-deprecated-a915edf8777f3ddb.yaml diff --git a/nova/conf/quota.py b/nova/conf/quota.py index 717e01ae6427..904c17aba7e9 100644 --- a/nova/conf/quota.py +++ b/nova/conf/quota.py @@ -88,7 +88,8 @@ quota_opts = [ 'passed since the last reservation'), cfg.StrOpt('quota_driver', default='nova.quota.DbQuotaDriver', - help='Default driver to use for quota checks'), + deprecated_for_removal=True, + help='DEPRECATED: Default driver to use for quota checks'), ] diff --git a/releasenotes/notes/quota-driver-is-deprecated-a915edf8777f3ddb.yaml b/releasenotes/notes/quota-driver-is-deprecated-a915edf8777f3ddb.yaml new file mode 100644 index 000000000000..d5c19c822716 --- /dev/null +++ b/releasenotes/notes/quota-driver-is-deprecated-a915edf8777f3ddb.yaml @@ -0,0 +1,4 @@ +--- +deprecations: + - The quota_driver configuration option is now deprecated and will be removed + in a subsequent release.