summaryrefslogtreecommitdiffstats
path: root/doctor_tests/inspector
diff options
context:
space:
mode:
authordongwenjuan <dong.wenjuan@zte.com.cn>2017-12-01 14:28:31 +0800
committerdongwenjuan <dong.wenjuan@zte.com.cn>2017-12-21 11:09:02 +0800
commitbdbd22904733af311225a3315555bb39ea12ed55 (patch)
treefa057eb320b1656184b0ed822e903034ba1ab0d5 /doctor_tests/inspector
parent9e36d918fef054b8d23692c0ec8c25d7b0640c07 (diff)
use keystone v3 API
Change-Id: Ia642279a99ad9bf014764337c8a5170e3c98e2f2 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Diffstat (limited to 'doctor_tests/inspector')
-rw-r--r--doctor_tests/inspector/vitrage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/doctor_tests/inspector/vitrage.py b/doctor_tests/inspector/vitrage.py
index 7d1dbc1c..0452d9b1 100644
--- a/doctor_tests/inspector/vitrage.py
+++ b/doctor_tests/inspector/vitrage.py
@@ -19,7 +19,8 @@ class VitrageInspector(BaseInspector):
def __init__(self, conf, log):
super(VitrageInspector, self).__init__(conf, log)
self.auth = get_identity_auth()
- self.keystone = keystone_client(get_session(auth=self.auth))
+ self.keystone = keystone_client(self.conf.keystone_version,
+ get_session(auth=self.auth))
self.vitrage = vitrage_client(self.conf.vitrage_version,
get_session(auth=self.auth))
self.inspector_url = self.get_inspector_url()