From 34b747d9bbed1623a2a9024685df6b7e7832aeff Mon Sep 17 00:00:00 2001 From: Eyal Date: Sun, 18 Feb 2018 14:40:01 +0200 Subject: [PATCH] try to create mistral client without auth_url Change-Id: Ia090c9018a8b1cf51d0448ec2fe525cdf9b4ed9a --- requirements.txt | 1 + vitrage/os_clients.py | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 2cc64c748..93bf70cd8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 diff --git a/vitrage/os_clients.py b/vitrage/os_clients.py index 70b972b47..9e0240337 100644 --- a/vitrage/os_clients.py +++ b/vitrage/os_clients.py @@ -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