summaryrefslogtreecommitdiffstats
path: root/keystone-moon/keystone/common/controller.py
diff options
context:
space:
mode:
Diffstat (limited to 'keystone-moon/keystone/common/controller.py')
-rw-r--r--keystone-moon/keystone/common/controller.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/keystone-moon/keystone/common/controller.py b/keystone-moon/keystone/common/controller.py
index bc7074ac..56bc211a 100644
--- a/keystone-moon/keystone/common/controller.py
+++ b/keystone-moon/keystone/common/controller.py
@@ -17,6 +17,7 @@ import uuid
from oslo_config import cfg
from oslo_log import log
+from oslo_log import versionutils
from oslo_utils import strutils
import six
@@ -736,6 +737,16 @@ class V3Controller(wsgi.Application):
# the current tempest heat tests issue a v3 call without this.
# This is raised as bug #1283539. Once this is fixed, we
# should remove the line below and replace it with an error.
+ #
+ # Ahead of actually changing the code to raise an exception, we
+ # issue a deprecation warning.
+ versionutils.report_deprecated_feature(
+ LOG,
+ _LW('Not specifying a domain during a create user, group or '
+ 'project call, and relying on falling back to the '
+ 'default domain, is deprecated as of Liberty and will be '
+ 'removed in the N release. Specify the domain explicitly '
+ 'or use a domain-scoped token'))
return CONF.identity.default_domain_id
def _normalize_domain_id(self, context, ref):