Bug 764897 (GLUSTER-3165)

Summary: quota with object storage,exceeding limit slightly
Product: [Community] GlusterFS Reporter: Saurabh <saurabh>
Component: quotaAssignee: Raghavendra G <raghavendra>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.2.1CC: amarts, gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Saurabh 2011-07-13 13:00:09 UTC
I have a setup for a distribute-replicate volume, 
the data is getting created inside sub-dirs using the object-storage integration,
at one point the limit is hit and then I am still trying to PUT data in a new subdir which should get created automatically if quota limit is not hit.

here the new dir does not getting created as expected but still the quota limit gets exceeded slightly.

logs are here,

1. quota is hit:-
   ------------

root@Unbuntu:/mnt/swift/drep31/cont1# /root/glusterfs/inst/sbin/gluster volume quota drep31 list
	path		  limit_set	     size
----------------------------------------------------------------------------------
/cont1/dir              1048576               823296
/                    1073741824           1073135616
root@Unbuntu:/mnt/swift/drep31/cont1# 
root@Unbuntu:/mnt/swift/drep31/cont1# 
root@Unbuntu:/mnt/swift/drep31/cont1# 
root@Unbuntu:/mnt/swift/drep31/cont1# ls
1GBfile  dir1   dir2  dir4  dir6  dir8  f.0  f.10  f.12  f.16  f.18  f.2   f.3  f.5  f.7  f.9
dir      dir10  dir3  dir5  dir7  dir9  f.1  f.11  f.13  f.17  f.19  f.20  f.4  f.6  f.8


2. trying to again put data inside a new dir

using this command
for i in {0..25}; do curl -X PUT -T /root/f.$i -H 'X-Auth-Token: AUTH_tkc6cfff4a9322489c842ef1bb48437941' https://10.1.12.25:443/v1/AUTH_drep31/cont1/dir11/ -k; done



root@Unbuntu:/mnt/swift/drep31/cont1# /root/glusterfs/inst/sbin/gluster volume quota drep31 list
	path		  limit_set	     size
----------------------------------------------------------------------------------
/cont1/dir              1048576               823296
/                    1073741824           1074475008


root@Unbuntu:/mnt/swift/drep31/cont1# ls
1GBfile  dir1   dir2  dir4  dir6  dir8  f.0  f.10  f.12  f.16  f.18  f.2   f.3  f.5  f.7  f.9
dir      dir10  dir3  dir5  dir7  dir9  f.1  f.11  f.13  f.17  f.19  f.20  f.4  f.6  f.8

Comment 1 Amar Tumballi 2011-09-20 03:06:07 UTC

*** This bug has been marked as a duplicate of bug 3421 ***