Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1138327

Summary: NFS-Ganesha: Infinite Loop When Creating Files via FSAL-PROXY
Product: [Retired] nfs-ganesha Reporter: Ming Chen <mchen>
Component: FSALAssignee: Jim Lieb <lieb>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.1CC: ffilz, mchen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-19 20:04:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
proxy config file as an example none

Description Ming Chen 2014-09-04 13:45:51 UTC
Created attachment 934439 [details]
proxy config file as an example

Description of problem:

When creating files via Ganesha proxy, the proxy will loop forever.

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

2.1

How reproducible:

100%

Steps to Reproduce:
1. configure and start the nfs-ganesha proxy
2. run "mount /proxy/home/ /mnt" on the client
3. run "echo 'hello' > /mnt/hello.txt" on the client

Actual results:

No file is created, and the proxy loop forever.

Expected results:

hello.txt be created.

Additional info:

To configure proxy, you can take the attached config file as an example.

The cause of this bug is that PROXY/FSAL does not implement the status() FSAL API.

This patch fixes it: https://github.com/sbu-fsl/nfs-ganesha/commit/76cda8022edfb03f317cfa3162a10e9bbf647249

Comment 1 Ming Chen 2014-09-04 13:57:23 UTC
Another problem that can be reproduced in the same way is "NFS4ERR_BAD_SEQID".

The patch (based on 2.1) to fix this "NFS4ERR_BAD_SEQID" is at https://github.com/sbu-fsl/nfs-ganesha/commit/b3f5506de493e00f1811212b20cd6fc0090c0452

Comment 2 Jim Lieb 2014-11-19 20:04:32 UTC
both of these fixes are in V2.2-dev-9.