Bug 1732671

Summary: [Ganesha] du -sh stuck on mount point for more then 17+ Hours
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Manisha Saini <msaini>
Component: nfs-ganeshaAssignee: Daniel Gryniewicz <dang>
Status: CLOSED ERRATA QA Contact: Manisha Saini <msaini>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.5CC: dang, ffilz, grajoria, jthottan, kkeithle, mbenjamin, pasik, rhs-bugs, skoduri, storage-qa-internal, vdas
Target Milestone: ---   
Target Release: RHGS 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nfs-ganesha-2.7.3-7 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1732427 Environment:
Last Closed: 2019-10-30 12:15:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1475699, 1696809    
Attachments:
Description Flags
Fix for du loop none

Comment 4 Manisha Saini 2019-07-24 11:52:39 UTC
Proposed this as a blocker as its impacting the readdir functionality which is an RFE for 3.5.0.

Comment 7 Manisha Saini 2019-07-29 12:53:44 UTC
du -sh issue seems to be resolved with the test build provided in comment 6.

More details can be found with respect to QE test on testbuild- https://bugzilla.redhat.com/show_bug.cgi?id=1730686#c19

Comment 9 Soumya Koduri 2019-07-30 08:00:56 UTC
Created attachment 1594532 [details]
Fix for du loop

Comment 10 Soumya Koduri 2019-07-30 08:01:37 UTC
(In reply to Manisha Saini from comment #7)
> du -sh issue seems to be resolved with the test build provided in comment 6.
> 
> More details can be found with respect to QE test on testbuild-
> https://bugzilla.redhat.com/show_bug.cgi?id=1730686#c19

Thanks Manisha. Attached this workaround fix (with Label: DOWNTREAM ONLY added) to be added to the ganesha build.

Comment 12 Manisha Saini 2019-08-12 09:03:11 UTC
Verified this BZ with

# rpm -qa | grep ganesha
nfs-ganesha-2.7.3-7.el7rhgs.x86_64
glusterfs-ganesha-6.0-11.el7rhgs.x86_64
nfs-ganesha-gluster-2.7.3-7.el7rhgs.x86_64


Steps:
========

1.Create 4 node ganesha cluster
2.Create 4*3 Distributed-Replicate Volume
3.Export the volume via ganesha
4.Mount the volume on 3 clients via v4.1
5.Run the following workload
Client 1: Linux untars for large dirs
Client 2: du -sh in loop
Client 3: ls -lRt in loop

No readdir operations were stuck.Moving this BZ to verified state

Comment 14 errata-xmlrpc 2019-10-30 12:15:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:3252