Bug 1465536
Summary: | [GANESHA] Ganesha crashed on 2 nodes while running posix compliance suit on v3 mount | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Manisha Saini <msaini> |
Component: | nfs-ganesha | Assignee: | Soumya Koduri <skoduri> |
Status: | CLOSED ERRATA | QA Contact: | Manisha Saini <msaini> |
Severity: | unspecified | Docs Contact: | |
Priority: | urgent | ||
Version: | rhgs-3.3 | CC: | amukherj, dang, ffilz, jthottan, mbenjamin, msaini, rcyriac, rhinduja, rhs-bugs, skoduri, storage-qa-internal |
Target Milestone: | --- | ||
Target Release: | RHGS 3.3.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | 3.3.0-devel-freeze-exception | ||
Fixed In Version: | nfs-ganesha-2.4.4-14 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-09-21 04:47:57 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: | |||
Bug Blocks: | 1417151 |
Description
Manisha Saini
2017-06-27 15:02:24 UTC
So, the UP calls replace op_ctx. From mdc_up_invalidate(): req_ctx.fsal_export = &myself->export; save_ctx = op_ctx; op_ctx = &req_ctx; The reason for this is that up-calls don't come from clients, so they don't have op_ctx set up by the protocol layer. Worse, the invalidate_close() UP call is an async call, so it's run in a separate thread, so any op_ctx set up by the FSAL wouldn't even apply. However, MDCACHE needs an op_ctx, and needs it to have a valid fsal_export, so it forces this. None of the other fields in op_ctx will be valid. Thanks for the clarification Dan. Posted the fix for this crash upstream for review - https://review.gerrithub.io/#/c/367266/ Verified this fix on # rpm -qa | grep ganesha nfs-ganesha-2.4.4-15.el7rhgs.x86_64 nfs-ganesha-gluster-2.4.4-15.el7rhgs.x86_64 glusterfs-ganesha-3.8.4-33.el7rhgs.x86_64 While running posix compliance without non-root user patch,I am unable to hit the crash.Hence moving this bug to verified state Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:2779 |