Bug 1201221 - [GSS]Gluster commands does not output anything
Summary: [GSS]Gluster commands does not output anything
Keywords:
Status: CLOSED DUPLICATE of bug 1198887
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: core
Version: rhgs-3.0
Hardware: All
OS: Linux
high
high
Target Milestone: ---
: ---
Assignee: Bug Updates Notification Mailing List
QA Contact: Sudhir D
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-12 11:12 UTC by Vimal Kumar
Modified: 2019-07-11 08:46 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-14 14:06:26 UTC
Embargoed:


Attachments (Terms of Use)

Description Vimal Kumar 2015-03-12 11:12:58 UTC
a) Description of problem:

Gluster commands such as 'gluster peer status' or 'gluster volume list' does not output anything. This happens only on a single node in a 5 node RHS3.0 cluster. 

b) Version-Release number of selected component (if applicable):

glusterfs-3.6.0.42-1.el6rhs.x86_64

c) How reproducible:

Always.

d) Steps to Reproduce:

Unfortunately, none.

e) Actual results:

Any gluster commands executed from a specific node in a 5 node RHS3.0 cluster doesn't return anything. This is not seen on the other nodes in the cluster. 

f) Expected results:

gluster commands should return proper outputs.

g) Additional info:

<snip>
[root@node01 ~]# service glusterd status
glusterd (pid  16392) is running...

[root@node01 ~]# gluster peer status
<<no output>>
[root@node01 ~]# gluster volume list
<<no output>>
[root@node1 ~]# tail -f /var/log/glusterfs/cli.log
[2015-02-26 10:35:02.171720] E [mem-pool.c:353:mem_get0] (-->/usr/sbin/gluster(cli_rpc_init+0x2c) [0x40982c] (-->/usr/lib64/libglusterfs.so.0(dict_new+0xb) [0x308381bd6b] (-->/usr/lib64/libglusterfs.so.0(get_new_dict_full+0x25) [0x308381bc25]))) 0-mem-pool: invalid argument
[2015-02-26 10:35:32.856346] E [mem-pool.c:353:mem_get0] (-->gluster(cli_rpc_init+0x2c) [0x40982c] (-->/usr/lib64/libglusterfs.so.0(dict_new+0xb) [0x308381bd6b] (-->/usr/lib64/libglusterfs.so.0(get_new_dict_full+0x25) [0x308381bc25]))) 0-mem-pool: invalid argument
</snip>

An strace on 'gluster volume status' shows that /var/log/glusterd/cli.log is opened but the normal details are not written to it. The only messages written are:

<snip>
[2015-03-10 15:54:27.550362] E [mem-pool.c:353:mem_get0] (-->gluster(cli_rpc_init+0x2c) [0x40982c] (-->/usr/lib64/libglusterfs.so.0(dict_new+0xb) [0x308381bd6b] (-->/usr/lib64/libglusterfs.so.0(get_new_dict_full+0x25) [0x308381bc25]))) 0-mem-pool: invalid argument
</snip>

Comment 2 Atin Mukherjee 2015-03-12 11:46:07 UTC
Could you attach sosreport? Please ensure to include .cmd_log_history in sosreport as well as sosreport doesn't capture it until an explicit -all option is provided.

Comment 4 Atin Mukherjee 2015-03-23 10:12:26 UTC
.cmd_log_history is located in the same folder where the gluster logs reside and i.e. /var/log/glusterfs/

The reason why I explicitly asked you to include .cmd_log_history is sosreport without -a doesn't capture it.

HTH,
Atin

Comment 25 Vimal Kumar 2015-04-14 14:06:26 UTC

*** This bug has been marked as a duplicate of bug 1198887 ***


Note You need to log in before you can comment on or make changes to this bug.