summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docker/requirements.pip2
-rw-r--r--storperf/storperf_master.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/docker/requirements.pip b/docker/requirements.pip
index be29c28..c6f262c 100644
--- a/docker/requirements.pip
+++ b/docker/requirements.pip
@@ -3,7 +3,7 @@ python-neutronclient==2.6.0
python-heatclient==0.8.0
python-novaclient==2.28.1
python-glanceclient==1.1.0
-python-cinderclient==1.4.0
+python-cinderclient==1.6.0
python-keystoneclient==1.6.0
flask>=0.10
flask-restful>=0.3.5
diff --git a/storperf/storperf_master.py b/storperf/storperf_master.py
index 9e88a3c..c5d436e 100644
--- a/storperf/storperf_master.py
+++ b/storperf/storperf_master.py
@@ -45,6 +45,7 @@ class StorPerfMaster(object):
self._username = os.environ.get('OS_USERNAME')
self._password = os.environ.get('OS_PASSWORD')
self._tenant_name = os.environ.get('OS_TENANT_NAME')
+ self._tenant_id = os.environ.get('OS_TENANT_ID')
self._project_name = os.environ.get('OS_PROJECT_NAME')
self._auth_url = os.environ.get('OS_AUTH_URL')
@@ -128,7 +129,7 @@ class StorPerfMaster(object):
@property
def volume_quota(self):
self._attach_to_openstack()
- quotas = self._cinder_client.quotas.get(self._tenant_name)
+ quotas = self._cinder_client.quotas.get(self._tenant_id)
return int(quotas.volumes)
@property