From 7ac41c21eaf2f618d447dfb4edfa0b6b37e7691e Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 11 Sep 2024 23:26:02 +0900 Subject: [PATCH] Deprecate ineffective [DEFAULT] max_param_size This option has been unused since identity v2 API was removed[1]. [1] d5e9c0b4fe814ba6e6d36a7d1ea676914c79e5eb Change-Id: I739d28fff9304d58c4f278c5faecc4dddf755f9e --- keystone/conf/default.py | 3 +++ .../notes/deprecate-max-param-size-6e0770e0c9d21dd6.yaml | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 releasenotes/notes/deprecate-max-param-size-6e0770e0c9d21dd6.yaml diff --git a/keystone/conf/default.py b/keystone/conf/default.py index 295597b82e..d72f00ccdd 100644 --- a/keystone/conf/default.py +++ b/keystone/conf/default.py @@ -59,6 +59,9 @@ adversely impact performance. max_param_size = cfg.IntOpt( 'max_param_size', default=64, + deprecated_for_removal=True, + deprecated_reason=utils.fmt('This option has had no effect.'), + deprecated_since='2025.1', help=utils.fmt( """ Limit the sizes of user & project ID/names. diff --git a/releasenotes/notes/deprecate-max-param-size-6e0770e0c9d21dd6.yaml b/releasenotes/notes/deprecate-max-param-size-6e0770e0c9d21dd6.yaml new file mode 100644 index 0000000000..eed1e8b175 --- /dev/null +++ b/releasenotes/notes/deprecate-max-param-size-6e0770e0c9d21dd6.yaml @@ -0,0 +1,6 @@ +--- +deprecations: + - | + The ``[DEFAULT] max_param_size`` option has been deprecated. This option + was used in identity v2 APU but identity v2 API was removed in 13.0.0 + release.