From bdbd22904733af311225a3315555bb39ea12ed55 Mon Sep 17 00:00:00 2001 From: dongwenjuan Date: Fri, 1 Dec 2017 14:28:31 +0800 Subject: use keystone v3 API Change-Id: Ia642279a99ad9bf014764337c8a5170e3c98e2f2 Signed-off-by: dongwenjuan --- doctor_tests/inspector/vitrage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doctor_tests/inspector') 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() -- cgit 1.2.3-korg