Merge "Remove deprecated allow_tenant_isolation option"

This commit is contained in:
Zuul 2018-07-18 06:04:37 +00:00 committed by Gerrit Code Review
commit 409bcf71c5
4 changed files with 9 additions and 7 deletions

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
Remove deprecated config option ``allow_tenant_isolation`` from
``auth`` and ``compute`` groups. Use ``use_dynamic_credentials`` directly
instead of the removed option.

View File

@ -84,7 +84,7 @@ class IdentityUsersTest(base.BaseIdentityV2Test):
new_pass = data_utils.rand_password()
user_id = self.creds.user_id
# to change password back. important for allow_tenant_isolation = false
# to change password back. important for use_dynamic_credentials=false
self.addCleanup(self._restore_password, user_id, old_pass, new_pass)
# user updates own password

View File

@ -82,7 +82,7 @@ class IdentityV3UsersTest(base.BaseIdentityV3Test):
old_token = self.non_admin_client.token
new_pass = data_utils.rand_password()
# to change password back. important for allow_tenant_isolation = false
# to change password back. important for use_dynamic_credentials=false
self.addCleanup(self._restore_password, old_pass, new_pass)
# user updates own password

View File

@ -61,11 +61,7 @@ AuthGroup = [
"users. This option requires that OpenStack Identity "
"API admin credentials are known. If false, isolated "
"test cases and parallel execution, can still be "
"achieved configuring a list of test accounts",
deprecated_opts=[cfg.DeprecatedOpt('allow_tenant_isolation',
group='auth'),
cfg.DeprecatedOpt('allow_tenant_isolation',
group='compute')]),
"achieved configuring a list of test accounts"),
cfg.ListOpt('tempest_roles',
help="Roles to assign to all users created by tempest",
default=[]),