From 14d730a0f4aef9070712337ece1707a95039e230 Mon Sep 17 00:00:00 2001 From: Fei Long Wang Date: Wed, 29 Mar 2017 16:08:13 +1300 Subject: [PATCH] Using generic instead of v3 for identity Change-Id: I3a208507c511c7d3dfa13f3388993f9e1158a528 --- zaqar/storage/swift/driver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zaqar/storage/swift/driver.py b/zaqar/storage/swift/driver.py index c92c742b8..953a2fdcc 100644 --- a/zaqar/storage/swift/driver.py +++ b/zaqar/storage/swift/driver.py @@ -13,7 +13,7 @@ from six.moves import urllib -from keystoneauth1.identity import v3 +from keystoneauth1.identity import generic from keystoneauth1 import session as keystone_session from oslo_log import log as logging import swiftclient @@ -89,7 +89,7 @@ class _ClientWrapper(object): self.auth = None def _refresh_auth(self): - self.auth = v3.Password( + self.auth = generic.Password( username=self.parsed_url.username, password=self.parsed_url.password, project_name=self.parsed_url.path[1:],