try to create mistral client without auth_url
Change-Id: Ia090c9018a8b1cf51d0448ec2fe525cdf9b4ed9a
This commit is contained in:
parent
4e98d787ec
commit
34b747d9bb
@ -14,6 +14,7 @@ python-keystoneclient>=3.8.0 # Apache-2.0
|
||||
python-neutronclient>=6.7.0 # Apache-2.0
|
||||
python-novaclient>=9.1.0 # Apache-2.0
|
||||
python-heatclient>=1.10.0 # Apache-2.0
|
||||
python-mistralclient>=3.1.0,!=3.2.0 # Apache-2.0
|
||||
pyzabbix>=0.7.4 # LGPL
|
||||
networkx<2.0,>=1.10 # BSD
|
||||
oslo.config>=5.1.0 # Apache-2.0
|
||||
|
@ -146,12 +146,10 @@ def heat_client(conf):
|
||||
|
||||
def mistral_client(conf):
|
||||
"""Get an instance of Mistral client"""
|
||||
auth_config = conf.service_credentials
|
||||
try:
|
||||
mi_client = driver_module('mistral')
|
||||
client = mi_client.Client(
|
||||
session=keystone_client.get_session(conf),
|
||||
auth_url=auth_config.auth_url
|
||||
)
|
||||
LOG.info('Mistral client created')
|
||||
return client
|
||||
|
Loading…
x
Reference in New Issue
Block a user