Bug 1117256
Summary: | [3.4.4] mounting a volume over NFS (TCP) with MOUNT over UDP fails | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Kaleb KEITHLEY <kkeithle> |
Component: | nfs | Assignee: | Kaleb KEITHLEY <kkeithle> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 3.4.4 | CC: | bugs, gluster-bugs, ndevos |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.4.5beta2 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1116997 | Environment: | |
Last Closed: | 2015-02-12 19:21:39 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: | |||
Bug Depends On: | 1116503, 1116997 | ||
Bug Blocks: | 1110456 |
Description
Kaleb KEITHLEY
2014-07-08 12:01:18 UTC
REVIEW: http://review.gluster.org/8262 (nfs: prevent assertion error with MOUNT over UDP) posted (#1) for review on release-3.4 by Kaleb KEITHLEY (kkeithle) REVIEW: http://review.gluster.org/8262 (nfs: prevent assertion error with MOUNT over UDP) posted (#2) for review on release-3.4 by Kaleb KEITHLEY (kkeithle) REVIEW: http://review.gluster.org/8262 (nfs: prevent assertion error with MOUNT over UDP) posted (#3) for review on release-3.4 by Kaleb KEITHLEY (kkeithle) REVIEW: http://review.gluster.org/8262 (nfs: prevent assertion error with MOUNT over UDP) posted (#4) for review on release-3.4 by Kaleb KEITHLEY (kkeithle) REVIEW: http://review.gluster.org/8262 (nfs: prevent assertion error with MOUNT over UDP) posted (#5) for review on release-3.4 by Kaleb KEITHLEY (kkeithle) COMMIT: http://review.gluster.org/8262 committed in release-3.4 by Kaleb KEITHLEY (kkeithle) ------ commit e311014d94c7fcfd8c5e7abe3aca7d99f43e0d91 Author: Kaleb S. KEITHLEY <kkeithle> Date: Tue Jul 8 08:25:36 2014 -0400 nfs: prevent assertion error with MOUNT over UDP see http://review.gluster.org/#/c/8258/, http://review.gluster.org/8241; and BZs 1116997, 1116503, respectively. The MOUNT service over UDP runs in a separate thread. This thread does not have the correct *THIS xlator set. *THIS points to the global (base) xlator structure, but GF_CALLOC() requires it to be the NFS-xlator so that assertions can get validated correctly. This is solved by passing the NFS-xlator to the pthread function, and setting the *THIS pointer explicitly in the new thread. It seems that on occasion (needs further investigation) MOUNT over UDP does not unregister itself. There can also be issues when the kernel NLM implementation has been registered at portmap/rpcbind, so adding some unregister procedures in the cleanup of the test-cases. Change-Id: Iea3bafd65bf480f2b12da91875c73571594d52d3 BUG: 1117256 Signed-off-by: Kaleb S. KEITHLEY <kkeithle> Reviewed-on: http://review.gluster.org/8262 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Niels de Vos <ndevos> Reviewed-by: Santosh Pradhan <spradhan> |