Red Hat Bugzilla – Bug 763813
gluster CLI does not work over ssh
Last modified: 2015-12-01 11:45:32 EST
The gluster command cannot be invoked over ssh.
ssh bal-2 '/opt/glusterfs/3.1.1qa5/sbin/gluster peer status'
gf_log_init: failed to open logfile "/dev/stderr" (No such device or address)
failed to open logfile /dev/stderr. exiting
This makes things difficult for scripting using the gluster CLI.
PATCH: http://patches.gluster.com/patch/5674 in master (cli: fix issues with running command over ssh)
*** Bug 2004 has been marked as a duplicate of this bug. ***
Could be seen by having two machines, and trying to run a 'gluster' CLI on remote machine using ssh. Will fail in any version before 3.1.1qa6 with the error given in bug description. With release 3.1.1qa6 onwards it should be fixed.
Adding a regression test case means, adding a gluster cli to run over ssh (preferably passwd-less).
Now gluster command over ssh works.
root@bigbang:/home/raghu# ssh 192.168.1.50 gluster volume info
Volume Name: mirror
Number of Bricks: 2