[Bugs] [Bug 1369074] New: Running refresh config on volume makes ganesha crashes with segfault error on one node.
bugzilla at redhat.com
bugzilla at redhat.com
Mon Aug 22 12:42:28 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1369074
Bug ID: 1369074
Summary: Running refresh config on volume makes ganesha crashes
with segfault error on one node.
Product: GlusterFS
Version: 3.8.2
Component: ganesha-nfs
Severity: urgent
Priority: urgent
Assignee: bugs at gluster.org
Reporter: sraj at redhat.com
CC: bugs at gluster.org, jthottan at redhat.com,
kkeithle at redhat.com, ndevos at redhat.com,
skoduri at redhat.com, storage-qa-internal at redhat.com
Description of problem:
Running refresh config on volume makes ganesha crashes on one node.
Version-Release number of selected component (if applicable):
[root at dhcp43-116 ~]# rpm -qa|grep glusterfs
glusterfs-fuse-3.8.2-0.1.gitd33aa0b.el7rhgs.x86_64
glusterfs-libs-3.8.2-0.1.gitd33aa0b.el7rhgs.x86_64
glusterfs-3.8.2-0.1.gitd33aa0b.el7rhgs.x86_64
glusterfs-client-xlators-3.8.2-0.1.gitd33aa0b.el7rhgs.x86_64
glusterfs-api-3.8.2-0.1.gitd33aa0b.el7rhgs.x86_64
glusterfs-cli-3.8.2-0.1.gitd33aa0b.el7rhgs.x86_64
glusterfs-server-3.8.2-0.1.gitd33aa0b.el7rhgs.x86_64
glusterfs-geo-replication-3.8.2-0.1.gitd33aa0b.el7rhgs.x86_64
glusterfs-ganesha-3.8.2-0.1.gitd33aa0b.el7rhgs.x86_64
[root at dhcp43-116 ~]# rpm -qa|grep ganesha
nfs-ganesha-gluster-next.20160813.2f47e8a-1.el7.centos.x86_64
nfs-ganesha-next.20160813.2f47e8a-1.el7.centos.x86_64
nfs-ganesha-debuginfo-next.20160813.2f47e8a-1.el7.centos.x86_64
glusterfs-ganesha-3.8.2-0.1.gitd33aa0b.el7rhgs.x86_64
How reproducible:
Consistent
Steps to Reproduce:
1.Create a volume, start it and enable ganesha on the volume.
2.Change some parameter value in volume export file on one node.
3.Run refresh config on the volume and observe that it fails
[root at dhcp43-116 ~]# /usr/libexec/ganesha/ganesha-ha.sh --refresh-config
/etc/ganesha myvolume
Error: refresh-config failed on dhcp42-237.
and ganesha crashes with below message:
[432713.567038] ganesha.nfsd[4275]: segfault at 70 ip 00007f161320db90 sp
00007f15d6a92140 error 4 in ganesha.nfsd[7f1613102000+171000]
bt using gdb:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f2eda8cc700 (LWP 2302)]
0x00007f2f17076b90 in mdc_cur_export ()
at
/usr/src/debug/nfs-ganesha/src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_int.h:376
376 return mdc_export(op_ctx->fsal_export);
(gdb) bt
#0 0x00007f2f17076b90 in mdc_cur_export ()
at
/usr/src/debug/nfs-ganesha/src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_int.h:376
#1 mdcache_lru_clean (entry=0x7f2f184e7360)
at
/usr/src/debug/nfs-ganesha/src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.c:421
#2 mdcache_lru_unref (entry=0x7f2f184e7360, flags=<optimized out>)
at
/usr/src/debug/nfs-ganesha/src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.c:1498
#3 0x00007f2f17056b36 in release_export_root (
export=export at entry=0x7f2f18413f58)
at /usr/src/debug/nfs-ganesha/src/support/exports.c:2119
#4 0x00007f2f17056f20 in unexport (export=export at entry=0x7f2f18413f58)
at /usr/src/debug/nfs-ganesha/src/support/exports.c:2141
#5 0x00007f2f17067058 in gsh_export_removeexport (args=<optimized out>,
reply=<optimized out>, error=0x7f2eda8cb2e0)
at /usr/src/debug/nfs-ganesha/src/support/export_mgr.c:1092
#6 0x00007f2f17086f39 in dbus_message_entrypoint (conn=0x7f2f184e38b0,
msg=0x7f2f184e3b90, user_data=<optimized out>)
at /usr/src/debug/nfs-ganesha/src/dbus/dbus_server.c:512
---Type <return> to continue, or q <return> to quit---
#7 0x00007f2f16914c86 in _dbus_object_tree_dispatch_and_unlock ()
from /lib64/libdbus-1.so.3
#8 0x00007f2f16906e49 in dbus_connection_dispatch () from
/lib64/libdbus-1.so.3
#9 0x00007f2f169070e2 in _dbus_connection_read_write_dispatch ()
from /lib64/libdbus-1.so.3
#10 0x00007f2f17087faf in gsh_dbus_thread (arg=<optimized out>)
at /usr/src/debug/nfs-ganesha/src/dbus/dbus_server.c:737
#11 0x00007f2f15530dc5 in start_thread () from /lib64/libpthread.so.0
#12 0x00007f2f14bfe1cd in clone () from /lib64/libc.so.6
Actual results:
Running refresh config on volume makes ganesha crashes with segfault error on
one node.
Expected results:
there should not be any crash and refresh config should succeed
Additional info:
sosreport will be attached
--
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