Remove some deprecated identity options

Below options are deprecated on 2015, so it's safe to delete them now.
  * identity.admin_username
  * auth.admin_tenant_name
  * identity.admin_tenant_name
  * identity.admin_password
  * identity.admin_domain_name

Change-Id: I9cfd3b93f032e6816661e16cbb319af507835997
This commit is contained in:
zhufl 2019-05-28 09:49:15 +08:00
parent 65ab13d4e5
commit 5402cc3f89
2 changed files with 15 additions and 11 deletions

View File

@ -0,0 +1,11 @@
upgrade:
- |
Remove deprecated config option ``admin_username`` from
``identity`` groups. Use ``admin_username`` from ``auth`` instead.
Remove deprecated config option ``admin_tenant_name`` from
``auth`` and ``identity`` groups. Use ``admin_project_name`` from
``auth`` instead.
Remove deprecated config option ``admin_password`` from
``identity`` groups. Use ``admin_password`` from ``auth`` instead.
Remove deprecated config option ``admin_domain_name`` from
``identity`` groups. Use ``admin_domain_name`` from ``auth`` instead.

View File

@ -84,27 +84,20 @@ AuthGroup = [
cfg.StrOpt('admin_username',
help="Username for an administrative user. This is needed for "
"authenticating requests made by project isolation to "
"create users and projects",
deprecated_group='identity'),
"create users and projects"),
cfg.StrOpt('admin_project_name',
help="Project name to use for an administrative user. This is "
"needed for authenticating requests made by project "
"isolation to create users and projects",
deprecated_opts=[cfg.DeprecatedOpt('admin_tenant_name',
group='auth'),
cfg.DeprecatedOpt('admin_tenant_name',
group='identity')]),
"isolation to create users and projects"),
cfg.StrOpt('admin_password',
help="Password to use for an administrative user. This is "
"needed for authenticating requests made by project "
"isolation to create users and projects",
secret=True,
deprecated_group='identity'),
secret=True),
cfg.StrOpt('admin_domain_name',
default='Default',
help="Admin domain name for authentication (Keystone V3). "
"The same domain applies to user and project",
deprecated_group='identity'),
"The same domain applies to user and project"),
]
identity_group = cfg.OptGroup(name='identity',