Bug 916406 - NLM failure against Solaris NFS client
Summary: NLM failure against Solaris NFS client
Keywords:
Status: CLOSED EOL
Alias: None
Product: GlusterFS
Classification: Community
Component: nfs
Version: mainline
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-28 02:00 UTC by Anand Avati
Modified: 2015-10-22 15:46 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-22 15:46:38 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)
pcap dump of solaris cthon locks test failure (1.25 MB, application/octet-stream)
2013-02-28 02:00 UTC, Anand Avati
no flags Details

Description Anand Avati 2013-02-28 02:00:15 UTC
Created attachment 703726 [details]
pcap dump of solaris cthon locks test failure

While running the connectathon locking test from Solaris NFS client, the test fails with EINVAL. Gluster NFS logs has the following error:

[2013-02-28 01:51:01.514511] W [nlm4.c:1682:nlm4_unlock_resume] 0-nfs-NLM: fd_lookup_uint64() returned NULL
[2013-02-28 01:51:01.514713] W [nlm4.c:1689:nlm4_unlock_resume] 0-nfs-NLM: unable to unlock_fd_resume
[2013-02-28 01:51:01.533188] W [nlm4.c:1682:nlm4_unlock_resume] 0-nfs-NLM: fd_lookup_uint64() returned NULL
[2013-02-28 01:51:01.533278] W [nlm4.c:1689:nlm4_unlock_resume] 0-nfs-NLM: unable to unlock_fd_resume
[2013-02-28 01:51:06.655493] W [nlm4.c:1682:nlm4_unlock_resume] 0-nfs-NLM: fd_lookup_uint64() returned NULL
[2013-02-28 01:51:06.655614] W [nlm4.c:1689:nlm4_unlock_resume] 0-nfs-NLM: unable to unlock_fd_resume
[2013-02-28 01:51:06.757796] W [nlm4.c:1682:nlm4_unlock_resume] 0-nfs-NLM: fd_lookup_uint64() returned NULL
[2013-02-28 01:51:06.757908] W [nlm4.c:1689:nlm4_unlock_resume] 0-nfs-NLM: unable to unlock_fd_resume
[2013-02-28 01:51:06.758939] W [nlm4.c:1682:nlm4_unlock_resume] 0-nfs-NLM: fd_lookup_uint64() returned NULL
[2013-02-28 01:51:06.759015] W [nlm4.c:1689:nlm4_unlock_resume] 0-nfs-NLM: unable to unlock_fd_resume

pcap dump from tcpdump of the session is attached.

Comment 1 Niels de Vos 2013-03-01 10:08:10 UTC
These errors look related to the UNLOCK procedures returning NLM_DENIED.

$ TZ=UTC tshark -ta -r nlm-solaris-einval.pcap nlm.stat == NLM_DENIED
...removed NLM_DENIED replies from before the log in comment #0
487 01:51:01.514887 172.16.50.183 2045 172.16.1.86  1015 NLM 106 V4 UNLOCK Reply (Call In 486) NLM_DENIED
504 01:51:01.533409 172.16.50.183 2045 172.16.1.86  1015 NLM 106 V4 UNLOCK Reply (Call In 503) NLM_DENIED
6549 01:51:06.655803 172.16.50.183 2045 172.16.1.86  1015 NLM 106 V4 UNLOCK Reply (Call In 6548) NLM_DENIED
6601 01:51:06.758019 172.16.50.183 2045 172.16.1.86  1015 NLM 106 V4 UNLOCK Reply (Call In 6600) NLM_DENIED
6603 01:51:06.759217 172.16.50.183 2045 172.16.1.86  1015 NLM 106 V4 UNLOCK Reply (Call In 6602) NLM_DENIED


A quick look at xlators/nfs/server/src/nlm4.c:nlm4_unlock_resume() shows that
cs->args->nlm4_stat is not checked there. This might be done somewhere else where
I do not spot it this quickly.

Comment 3 Kaleb KEITHLEY 2015-10-22 15:46:38 UTC
because of the large number of bugs filed against mainline version\ is ambiguous and about to be removed as a choice.

If you believe this is still a bug, please change the status back to NEW and choose the appropriate, applicable version for it.


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