Why glusterd crash when try to setup pem-file for non-root geo-replication session in RHGS 3.1 ?

Solution Verified - Updated -

Issue

  • The glusterd daemon on primary master node crash when crate push-pem command with force option used to setup pem-file on the slave node.
# gluster volume geo-replication geo-test-master geoaccount@gluster-slave-node1::geo-test-slave create push-pem force
  • The /var/log/glusterfs/etc-glusterfs-glusterd.vol.log has below crash stack trace:
[2016-11-28 22:54:35.409311] I [MSGID: 106331] [glusterd-geo-rep.c:3207:glusterd_op_stage_gsync_create] 0-management: Session between geo-test-master and geoaccount@gluster-slave-node1::geo-test-slave is already created. Force creating again.
pending frames:
frame : type(0) op(0)
patchset: git://git.gluster.com/glusterfs.git
signal received: 6
time of crash:
2016-11-28 22:54:35
configuration details:
argp 1
backtrace 1
dlfcn 1
libpthread 1
llistxattr 1
setfsid 1
spinlock 1
epoll.h 1
xattr.h 1
st_atim.tv_nsec 1
package-string: glusterfs 3.7.9
/lib64/libglusterfs.so.0(_gf_msg_backtrace_nomem+0xc2)[0x7fa8530241c2]
/lib64/libglusterfs.so.0(gf_print_trace+0x31d)[0x7fa85304997d]
/lib64/libc.so.6(+0x35670)[0x7fa851710670]
/lib64/libc.so.6(gsignal+0x37)[0x7fa8517105f7]
/lib64/libc.so.6(abort+0x148)[0x7fa851711ce8]
/lib64/libc.so.6(+0x75327)[0x7fa851750327]
/lib64/libc.so.6(__fortify_fail+0x37)[0x7fa8517e9597]
/lib64/libc.so.6(+0x10c750)[0x7fa8517e7750]
/lib64/libc.so.6(+0x10bacb)[0x7fa8517e6acb]
/usr/lib64/glusterfs/3.7.9/xlator/mgmt/glusterd.so(+0xd0afb)[0x7fa847becafb]
/lib64/libglusterfs.so.0(dict_foreach_match+0x77)[0x7fa85301dd87]
/lib64/libglusterfs.so.0(dict_foreach+0x18)[0x7fa85301df28]
/usr/lib64/glusterfs/3.7.9/xlator/mgmt/glusterd.so(glusterd_op_stage_gsync_create+0x1cda)[0x7fa847bfbe8a]
/usr/lib64/glusterfs/3.7.9/xlator/mgmt/glusterd.so(glusterd_op_stage_validate+0xdb)[0x7fa847b88f3b]
/usr/lib64/glusterfs/3.7.9/xlator/mgmt/glusterd.so(gd_stage_op_phase+0x16a)[0x7fa847c1b22a]
/usr/lib64/glusterfs/3.7.9/xlator/mgmt/glusterd.so(gd_sync_task_begin+0x70e)[0x7fa847c1cd5e]
/usr/lib64/glusterfs/3.7.9/xlator/mgmt/glusterd.so(glusterd_op_begin_synctask+0x30)[0x7fa847c1d0a0]
/usr/lib64/glusterfs/3.7.9/xlator/mgmt/glusterd.so(__glusterd_handle_gsync_set+0x628)[0x7fa847bf0028]
/usr/lib64/glusterfs/3.7.9/xlator/mgmt/glusterd.so(glusterd_big_locked_handler+0x30)[0x7fa847b735f0]
/lib64/libglusterfs.so.0(synctask_wrap+0x12)[0x7fa853072262]
/lib64/libc.so.6(+0x47110)[0x7fa851722110]

Environment

  • RHGS 3.1.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content