Bug 1717076 - nfs-ganesha: Release state lock in case of error in LOCK fop
Summary: nfs-ganesha: Release state lock in case of error in LOCK fop
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: nfs-ganesha
Version: rhgs-3.5
Hardware: All
OS: All
unspecified
high
Target Milestone: ---
: RHGS 3.5.0
Assignee: Frank Filz
QA Contact: Manisha Saini
URL:
Whiteboard:
Depends On:
Blocks: 1696809
TreeView+ depends on / blocked
 
Reported: 2019-06-04 16:20 UTC by Soumya Koduri
Modified: 2019-10-30 12:15 UTC (History)
9 users (show)

Fixed In Version: nfs-ganesha-2.7.3-4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-30 12:15:39 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2019:3252 0 None None None 2019-10-30 12:15:56 UTC

Description Soumya Koduri 2019-06-04 16:20:31 UTC
Description of problem:

While processing LOCK operation, if we do not find appropriate fd (because of any PERM/OPEN issues), we do not unlock state lock. This may result in nfs-ganesha server being unresponsive.

This issue is fixed already in upstream. This bug is to backport the fix to dowsntream

https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/430415

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 6 Manisha Saini 2019-06-24 09:35:27 UTC
Verified this BZ with 

# rpm -qa | grep ganesha
nfs-ganesha-gluster-2.7.3-4.el7rhgs.x86_64
glusterfs-ganesha-6.0-6.el7rhgs.x86_64
nfs-ganesha-2.7.3-4.el7rhgs.x86_64

# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.7 Beta (Maipo)


Ran file locking test,cthon lock test,pynfs(v4.0,v4.1) on v3,v4.1 mount. More lock related tests will be run as part of regression cases.
Moving this BZ to verified state.

Locking test failure reported on v3 mount due to selinux issue - https://bugzilla.redhat.com/show_bug.cgi?id=1722392

Comment 8 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


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