summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster
diff options
context:
space:
mode:
authorharigowtham <hgowtham@redhat.com>2018-06-14 01:49:34 -0400
committerJonathan Holloway <jholloway@redhat.com>2018-06-26 00:39:58 +0000
commit4f8583cc4cb7a7f55a14943dbcbdd9325b702a8c (patch)
tree24ca1c8e58b349e0bdbac8ed48fe2ebacaa86b12 /glustolibs-gluster/glustolibs/gluster
parent6d0d539ed382a543c25059729583de36dbe32dbd (diff)
Quota : Validate limit on deep directories
The below operations are performed on various types of volumes and mount. * Enable Quota * Create 10 directories one inside the other and set limit of 1GB on each directory * Perform a quota list operation * Create some random amount of data inside each directory * Perform a quota list operation * Remove the quota limit and delete the data Change-Id: I2a706eba5c23909e2e6996f485b3f4ead9d5dbca Signed-off-by: harigowtham <hgowtham@redhat.com>
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster')
-rw-r--r--glustolibs-gluster/glustolibs/gluster/quota_libs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glustolibs-gluster/glustolibs/gluster/quota_libs.py b/glustolibs-gluster/glustolibs/gluster/quota_libs.py
index 805db78..6cb7701 100644
--- a/glustolibs-gluster/glustolibs/gluster/quota_libs.py
+++ b/glustolibs-gluster/glustolibs/gluster/quota_libs.py
@@ -48,7 +48,7 @@ def quota_validate(mnode, volname, path, **kwargs):
quotalist = quota_fetch_list(mnode, volname, path)
if path not in quotalist:
- g.log.error("Path not found (script issue)")
+ g.log.error("Path not found (script issue) path: %s", path)
return False
else:
listinfo = quotalist[path]