diff options
author | harigowtham <hgowtham@redhat.com> | 2018-06-14 01:49:34 -0400 |
---|---|---|
committer | Jonathan Holloway <jholloway@redhat.com> | 2018-06-26 00:39:58 +0000 |
commit | 4f8583cc4cb7a7f55a14943dbcbdd9325b702a8c (patch) | |
tree | 24ca1c8e58b349e0bdbac8ed48fe2ebacaa86b12 /glustolibs-gluster/glustolibs/gluster/quota_libs.py | |
parent | 6d0d539ed382a543c25059729583de36dbe32dbd (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/quota_libs.py')
-rw-r--r-- | glustolibs-gluster/glustolibs/gluster/quota_libs.py | 2 |
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 805db7811..6cb770167 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] |