Bug 1361520
Summary: | ganesha crashes with segfault while mounting volume with v3 or v4. | ||
---|---|---|---|
Product: | [Retired] nfs-ganesha | Reporter: | Shashank Raj <sraj> |
Component: | Cache Inode | Assignee: | Jiffin <jthottan> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | devel | CC: | bugs, dang, ffilz, jthottan, kkeithle, malahal, mbenjamin, ndevos, pasik, skoduri |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-11-22 15:22:22 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: |
Description
Shashank Raj
2016-07-29 09:30:35 UTC
I can reproduce this issue with following steps : 1.) Create and start a volume 2.) start nfs-ganesha 3.) Export the volume via dbus command 4.) Modify the ganesha.conf file 5.) remove and add the volume again using dbus 6.) Mount the volume The inode in the call path is invalid. Still to figure out why inode become invalid this case. RCA : The mdcache entry created during the export of gluster volume is not cleaned up properly during unexport. So when the export is again added, it gives a entry already exist error(with respect to fsal_gluster, glfs_object corresponding to this entry is invalid) and further operation on this entry result in a crash(like mounting) On further dig up it seems to be refcount of this variable never become zero during unexport, therefore the entry is not removed from mdcache layer. For version 2.3 these entries were cleanup properly during . Similar problem is also present in fsal_vfs, but it didn't result any crash. Jiffin, could you try with this patch: https://review.gerrithub.io/286045 (In reply to Daniel Gryniewicz from comment #3) > Jiffin, could you try with this patch: > > https://review.gerrithub.io/286045 Thanks, It worked. *** Bug 1362621 has been marked as a duplicate of this bug. *** |