Drop direct reference to [identity] auth_version option
... to avoid compatibility problem caused by this option, which is being removed from tempest. Change-Id: Ia00d6af1dbef8bdcc84a8bb73dcc7574530c0daf Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
# License for the specific language governing permissions and limitations under
|
||||
# the License.
|
||||
|
||||
from tempest import clients
|
||||
from tempest import config
|
||||
from tempest.lib.services import clients as cli
|
||||
|
||||
@@ -24,8 +25,5 @@ class Clients(cli.ServiceClients):
|
||||
def __init__(self, credentials, service=None):
|
||||
"""Emulate the interface of Tempest's clients.Manager"""
|
||||
# Identity settings
|
||||
if CONF.identity.auth_version == 'v2':
|
||||
identity_uri = CONF.identity.uri
|
||||
else:
|
||||
identity_uri = CONF.identity.uri_v3
|
||||
_, identity_uri = clients.get_auth_provider_class(credentials)
|
||||
super(Clients, self).__init__(credentials, identity_uri)
|
||||
|
||||
Reference in New Issue
Block a user