Deprecate default value for v3_endpoint_type

To make endpoint_type default values consistent across services,
keystone v3_endpoint_type default value is deprecated in Pike and
will be changed to publicURL in next release

Change-Id: Iacdfb61e718b8ae45eab25e8041829989486a2ed
Closes-Bug: #1687141
This commit is contained in:
Hemanth Nakkina 2017-04-29 10:57:31 +05:30
parent 72d54b6877
commit b4c0c82282
2 changed files with 9 additions and 1 deletions

View File

@ -0,0 +1,6 @@
---
deprecations:
- |
Deprecate default value for configuration parameter v3_endpoint_type
of identity section in OpenStack Pike and modify the default value to
publicURL in OpenStack Q release.

View File

@ -161,7 +161,9 @@ IdentityGroup = [
choices=['public', 'admin', 'internal', choices=['public', 'admin', 'internal',
'publicURL', 'adminURL', 'internalURL'], 'publicURL', 'adminURL', 'internalURL'],
help="The endpoint type to use for OpenStack Identity " help="The endpoint type to use for OpenStack Identity "
"(Keystone) API v3"), "(Keystone) API v3. The default value adminURL is "
"deprecated and will be modified to publicURL in "
"the next release."),
cfg.StrOpt('admin_role', cfg.StrOpt('admin_role',
default='admin', default='admin',
help="Role required to administrate keystone."), help="Role required to administrate keystone."),