[Bugs] [Bug 1258717] New: gluster-nfs : contents of export file is not updated correctly in its context
bugzilla at redhat.com
bugzilla at redhat.com
Tue Sep 1 05:57:47 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1258717
Bug ID: 1258717
Summary: gluster-nfs : contents of export file is not updated
correctly in its context
Product: GlusterFS
Version: 3.7.5
Component: nfs
Keywords: Triaged
Severity: medium
Priority: medium
Assignee: bugs at gluster.org
Reporter: jthottan at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com,
kkeithle at redhat.com, ndevos at redhat.com,
rwareing at fb.com, shreyas.siravara at gmail.com,
skoduri at redhat.com, vagarwal at redhat.com
Depends On: 1256352
+++ This bug was initially created as a clone of Bug #1256352 +++
Description of problem:
The following tests(50,51) in mount-nfs-auth.t were failing spuriously for
NETBSD machines. In those tests, nfs client is only allowed for reads. Here
even though export file is updated correctly but it is not reflected in
nfs-server context. So write will be allowed for those clients.
Version-Release number of selected component (if applicable):
mainline
How reproducible:
10% when mount-nfs-auth.t executed in NETBSD machine.(Spurious failure)
Steps to Reproduce:
Run mount-nfs-auth.t in infinite loop . The test will fail at 50,51 cases(which
checks for read-only client) at some point.
Actual results:
Servers allow write operation
Expected results:
Server should not allow write operation.
Additional info:
It seems to be when contents of export file are updated , then
_mnt3_auth_param_refresh_thread() should call _mnt3_has_file_changed(). But it
is not happening for those above mentioned tests which can be understand from
nfs-server log.
The following logs were missing after updating the export file :
[MSGID: 112147] [mount3.c:3720:_mnt3_auth_param_refresh_thread] 0-nfs-mount:
File /autobuild/install/var/db/glusterd/nfs/exports changed, updating exports,
[MSGID: 112151] [mount3.c:3752:_mnt3_auth_param_refresh_thread] 0-nfs-mount:
Purging auth cache
--- Additional comment from Anand Avati on 2015-08-31 01:34:00 EDT ---
REVIEW: http://review.gluster.org/12006 (tests : workaround for the spourious
failure in mount-nfs-auth.t) posted (#2) for review on master by jiffin tony
Thottan (jthottan at redhat.com)
--- Additional comment from Anand Avati on 2015-08-31 03:28:46 EDT ---
REVIEW: http://review.gluster.org/12006 (tests : workaround for the spurious
failure in mount-nfs-auth.t) posted (#3) for review on master by Raghavendra
Talur (rtalur at redhat.com)
--- Additional comment from Anand Avati on 2015-08-31 15:00:19 EDT ---
COMMIT: http://review.gluster.org/12006 committed in master by Niels de Vos
(ndevos at redhat.com)
------
commit 9f52d22690b3b0aac0a736eb15fe649fde6286b5
Author: Jiffin Tony Thottan <jthottan at redhat.com>
Date: Mon Aug 24 18:01:19 2015 +0530
tests : workaround for the spurious failure in mount-nfs-auth.t
Change-Id: I459a0c60743291a2e164a5e0a76a7e2577afdae0
BUG: 1256352
Signed-off-by: Jiffin Tony Thottan <jthottan at redhat.com>
Reviewed-on: http://review.gluster.org/12006
Reviewed-by: Niels de Vos <ndevos at redhat.com>
Tested-by: NetBSD Build System <jenkins at build.gluster.org>
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1256352
[Bug 1256352] gluster-nfs : contents of export file is not updated
correctly in its context
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list