Do not use keystoneclient from Vitrage

Story: 2004053
Task: 27631
Change-Id: Ie3879329dee56870c051b994c72b18a6042c6e3c
This commit is contained in:
Ivan Kolodyazhny 2019-02-18 16:03:41 +02:00
parent 883d5698cd
commit a0f3db18e4
2 changed files with 4 additions and 3 deletions

View File

@ -10,7 +10,7 @@ python-heatclient>=1.10.0 # Apache-2.0
python-ceilometerclient>=2.5.0 # Apache-2.0
python-cinderclient>=3.3.0 # Apache-2.0
python-dateutil>=2.5.3 # BSD
python-keystoneclient>=3.8.0 # Apache-2.0
python-keystoneclient>=3.15.0 # Apache-2.0
python-neutronclient>=6.7.0 # Apache-2.0
python-novaclient>=9.1.0 # Apache-2.0
python-mistralclient!=3.2.0,>=3.1.0 # Apache-2.0

View File

@ -14,10 +14,10 @@
from keystoneauth1 import loading as ka_loading
from keystoneauth1 import session as ka_session
from keystoneclient.v3 import client as ks_client_v3
from neutronclient.v2_0 import client as neutron_client
from tempest.common import credentials_factory as common_creds
from tempest import config
from vitrage import keystone_client
from vitrage import os_clients
from vitrageclient import client as vc
@ -153,7 +153,8 @@ class TempestClients(object):
:rtype: keystoneclient.v3.client.Client
"""
if not cls._keystone:
cls._keystone = keystone_client.get_client(cls._conf)
sess = cls._get_session_for_admin()
cls._keystone = ks_client_v3.Client(session=sess)
return cls._keystone
@classmethod