Bug 799930

Summary: lockf: F_TEST always fails on gNFS
Product: [Community] GlusterFS Reporter: Sachidananda Urs <sac>
Component: nfsAssignee: Vinayaga Raman <vraman>
Severity: high Docs Contact:
Priority: high    
Version: pre-releaseCC: amarts, gluster-bugs, rwheeler, vinaraya
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-04 08:31:47 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: DP CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
fcntl version none

Description Sachidananda Urs 2012-03-05 07:51:02 EST
Description of problem:

lockf(int filedes, int function, off_t size) always fails on gNFS (works on kernel NFS and FUSE though).

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


How reproducible:


Steps to Reproduce:

Program attached.
Actual results:

lockf fails.

Expected results:

lockf should pass.
Comment 1 Sachidananda Urs 2012-03-05 08:14:42 EST
Created attachment 567606 [details]
fcntl version
Comment 2 Krishna Srinivas 2012-03-08 08:36:26 EST
This behavior was seen as kernel lockd was also running. We can close this bug. We have to document that glusterfs-NLM can not run when lockd is also running.
Comment 3 Amar Tumballi 2012-03-12 05:46:26 EDT
please update these bugs w.r.to 3.3.0qa27, need to work on it as per target milestone set.
Comment 4 Sachidananda Urs 2012-03-12 08:07:51 EDT
Works when there is no kernel NFS mount on the machine.

However, this needs to be documented. Kris, can we keep this till documentation is in place?
Comment 5 Amar Tumballi 2012-03-13 03:02:51 EDT
We can document this behavior. But we need to fix the root cause of kernel NFSv4 being present failing our NLM.
Comment 6 Vidya Sakar 2012-03-20 08:09:13 EDT
Documented in the known issues section for beta1. To be investigated for beta2.
Comment 7 Krishna Srinivas 2012-04-04 08:31:47 EDT

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