Bug 2264146
Summary: | [NFS Ganesha] Ganesha got crashed and dumped core in ino_release_cb while running the scale test for 1500 exports and 100 clients - | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Manisha Saini <msaini> |
Component: | NFS-Ganesha | Assignee: | Sachin Punadikar <spunadik> |
Status: | ASSIGNED --- | QA Contact: | Manisha Saini <msaini> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.1 | CC: | cephqe-warriors, gouthamr, kkeithle, vdas |
Target Milestone: | --- | Keywords: | Automation |
Target Release: | 8.1z3 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 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: | 2365869 | ||
Bug Blocks: |
Description
Manisha Saini
2024-02-14 07:26:29 UTC
Checked the core dump (gdb) bt #0 0x00007f21b9e3a948 in ino_release_cb (handle=0x7f217001ee20, vino=...) at /usr/src/debug/nfs-ganesha-5.6-4.el9cp.x86_64/src/FSAL/FSAL_CEPH/main.c:421 #1 0x00007f21946cca58 in Client::_async_inode_release (ino=..., this=0x7f2170087360) at /usr/src/debug/ceph-18.2.1-11.el9cp.x86_64/src/client/Client.cc:4770 #2 C_Client_CacheRelease::finish (this=<optimized out>, r=<optimized out>) at /usr/src/debug/ceph-18.2.1-11.el9cp.x86_64/src/client/Client.cc:4759 #3 0x00007f2194660ced in Context::complete (this=0x7f20e8022430, r=<optimized out>) at /usr/src/debug/ceph-18.2.1-11.el9cp.x86_64/src/include/Context.h:99 #4 0x00007f21ba406ef5 in Finisher::finisher_thread_entry() () from /usr/lib64/ceph/libceph-common.so.2 #5 0x00007f21bbc35802 in start_thread (arg=<optimized out>) at pthread_create.c:443 #6 0x00007f21bbbd5450 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 (gdb) f 0 #0 0x00007f21b9e3a948 in ino_release_cb (handle=0x7f217001ee20, vino=...) at /usr/src/debug/nfs-ganesha-5.6-4.el9cp.x86_64/src/FSAL/FSAL_CEPH/main.c:421 421 cm->cm_export->export.up_ops->try_release( (gdb) p *cm $1 = { cm_avl_mount = { left = 0x0, right = 0x0, parent = 2 }, cm_exports = { next = 0x7f2170034d18, prev = 0x7f2173739488 }, cm_refcnt = 3001, cmount = 0x7f217000ef80, cm_fs_name = 0x7f217001eea0 "cephfs", cm_mount_path = 0x7f217001eec0 "/", cm_user_id = 0x7f217001eee0 "nfs.cephfs-nfs.cephfs", cm_secret_key = 0x7f217000ab00 "AQD0hENlFTMaNBAAU3YIxz6Gbm8QvXAxLphO4g==", cm_fscid = 37, cm_export_id = 1, cm_export = 0x0 <= as cm_export is NULL, segfault is occurring. } The finisher thread is part of ceph code and it is using stored node information to execute call back in Ganesha code. As "cm_export" is NULL, segfault is occurring. |