Bug 1116818 - quota: quota-crawl process related glusterfs mount is found to be running even after quota is disabled and for a long time it exists.
Summary: quota: quota-crawl process related glusterfs mount is found to be running eve...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: quota
Version: rhgs-3.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Manikandan
QA Contact: Anil Shah
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-07 11:29 UTC by Saurabh
Modified: 2016-09-17 12:40 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-12 05:50:58 UTC
Embargoed:


Attachments (Terms of Use)

Description Saurabh 2014-07-07 11:29:51 UTC
Description of problem:
quota-crawl process related glusterfs mount is seen to be there after quota is disabled and it's seen even after a long time.

[root@nfs1 ~]# ps -auxww | grep quota
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
root      5005  1.5  0.8 441808 68088 ?        Ssl  04:26   1:30 /usr/sbin/glusterfs -s localhost --volfile-id dist-rep --use-readdirp=no --client-pid -100 -l /var/log/glusterfs/quota-crawl.log /tmp/mnt1wtbSy
root     24510  0.0  0.0 103252   812 pts/0    R+   06:02   0:00 grep quota

same issue is seen on the different nodes.

Version-Release number of selected component (if applicable):
glusterfs-3.6.0.24-1.el6rhs.x86_64

How reproducible:
seen on this build.

Expected results:
quota-crawl process should be post quota is disabled and that's also for a long time as this shows a discrepency of keeping the mount with "/tmp", which itself may security concerns

Additional info:

Comment 3 Vijaikumar Mallikarjuna 2015-12-15 11:23:13 UTC
upstream patch: http://review.gluster.org/#/c/12952/ fixes this problem

Comment 6 Mike McCune 2016-03-28 23:44:20 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 9 Manikandan 2016-05-12 05:50:58 UTC
Hi,

With versioning, the crawl process related issues are fixed. Every time quota is enabled, it creates a new set of xattrs(by suffixing the numbers), and previously created xattrs and the crawl process gets killed then.


Note You need to log in before you can comment on or make changes to this bug.